[{"db_id": "mimic_iii", "question": "tell me the method of intake of clobetasol propionate 0.05% ointment?", "template": "what is the intake method of clobetasol propionate 0.05% ointment?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'clobetasol propionate 0.05% ointment'", "value": {"drug_name": "clobetasol propionate 0.05% ointment"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "68659b55c98a46f7b6887a8f"}, {"db_id": "mimic_iii", "question": "what are the methods of consumption of send 500mg vial?", "template": "what is the intake method of send 500mg vial?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'send 500mg vial'", "value": {"drug_name": "send 500mg vial"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "908b5b18d58416e49d3ea2ba"}, {"db_id": "mimic_iii", "question": "tell me the intake method for triamcinolone acetonide 0.1% cream?", "template": "what is the intake method of triamcinolone acetonide 0.1% cream?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'triamcinolone acetonide 0.1% cream'", "value": {"drug_name": "triamcinolone acetonide 0.1% cream"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c693348dfcbf22acebe39be5"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of methimazole?", "template": "what is the intake method of methimazole?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'methimazole'", "value": {"drug_name": "methimazole"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75379177b6a56fb54e946591"}, {"db_id": "mimic_iii", "question": "what are the ways to consume caspofungin?", "template": "what is the intake method of caspofungin?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'caspofungin'", "value": {"drug_name": "caspofungin"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "007cc09dea68f1a13eb5eee0"}, {"db_id": "mimic_iii", "question": "what is the intake method of the phentolamine mesylate?", "template": "what is the intake method of phentolamine mesylate?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'phentolamine mesylate'", "value": {"drug_name": "phentolamine mesylate"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0f846a37cae6bd99825bb0f"}, {"db_id": "mimic_iii", "question": "tell me the intake method for syringe?", "template": "what is the intake method of syringe?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'syringe'", "value": {"drug_name": "syringe"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29f879651f245c264a40776f"}, {"db_id": "mimic_iii", "question": "what are the methods of consumption of levetiracetam solution?", "template": "what is the intake method of levetiracetam solution?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'levetiracetam solution'", "value": {"drug_name": "levetiracetam solution"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b905ee119d72d64eaf6c4df0"}, {"db_id": "mimic_iii", "question": "tell me the intake method for belatacept study drug (*ind*)?", "template": "what is the intake method of belatacept study drug (*ind*)?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'belatacept study drug (*ind*)'", "value": {"drug_name": "belatacept study drug (*ind*)"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ba35e0108612c3bd7334173"}, {"db_id": "mimic_iii", "question": "what are the ways to consume sterile water?", "template": "what is the intake method of sterile water?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'sterile water'", "value": {"drug_name": "sterile water"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed5b5ca99a7e934fed64cd05"}, {"db_id": "mimic_iii", "question": "what are the methods of consumption of clotrimazole?", "template": "what is the intake method of clotrimazole?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'clotrimazole'", "value": {"drug_name": "clotrimazole"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6cbcb03ee7a47be1904db23d"}, {"db_id": "mimic_iii", "question": "what is the intake method of the albumin 5% (12.5 g)?", "template": "what is the intake method of albumin 5% (12.5 g)?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'albumin 5% (12.5 g)'", "value": {"drug_name": "albumin 5% (12.5 g)"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ad6c95ab20bb96542e39997"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of nicotine lozenge?", "template": "what is the intake method of nicotine lozenge?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'nicotine lozenge'", "value": {"drug_name": "nicotine lozenge"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b880025a9259cad6582b5b5"}, {"db_id": "mimic_iii", "question": "what are the ways to consume dofetilide?", "template": "what is the intake method of dofetilide?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'dofetilide'", "value": {"drug_name": "dofetilide"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "76cbde8a91daad06ed3a4de9"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of insulin human regular?", "template": "what is the intake method of insulin human regular?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'insulin human regular'", "value": {"drug_name": "insulin human regular"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b49e08aa826bcc47a15b1003"}, {"db_id": "mimic_iii", "question": "tell me the intake method for sirolimus?", "template": "what is the intake method of sirolimus?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'sirolimus'", "value": {"drug_name": "sirolimus"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30b6775099568b52b5df7767"}, {"db_id": "mimic_iii", "question": "what are the ways to consume betamethasone dipro 0.05% oint?", "template": "what is the intake method of betamethasone dipro 0.05% oint?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'betamethasone dipro 0.05% oint'", "value": {"drug_name": "betamethasone dipro 0.05% oint"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d36b3bef103a5d4d290c9c7"}, {"db_id": "mimic_iii", "question": "tell me the method of intake of metformin xr (glucophage xr)?", "template": "what is the intake method of metformin xr (glucophage xr)?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'metformin xr (glucophage xr)'", "value": {"drug_name": "metformin xr (glucophage xr)"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7808e778fb6533aa6f907743"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of testosterone 5mg patch?", "template": "what is the intake method of testosterone 5mg patch?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'testosterone 5mg patch'", "value": {"drug_name": "testosterone 5mg patch"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39cdf4c7d54907d068193cfe"}, {"db_id": "mimic_iii", "question": "what are the ways to consume oxycodone?", "template": "what is the intake method of oxycodone?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'oxycodone'", "value": {"drug_name": "oxycodone"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3700c093bee6328e0dcb4d49"}, {"db_id": "mimic_iii", "question": "what are the methods of consumption of insulin human nph?", "template": "what is the intake method of insulin human nph?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'insulin human nph'", "value": {"drug_name": "insulin human nph"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e281441e02d5ba97d196aaca"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of lansoprazole oral suspension?", "template": "what is the intake method of lansoprazole oral suspension?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'lansoprazole oral suspension'", "value": {"drug_name": "lansoprazole oral suspension"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52462b0367462afaf6884746"}, {"db_id": "mimic_iii", "question": "tell me the intake method for readi-cat 2 (barium sulfate 2% suspension)?", "template": "what is the intake method of readi-cat 2 (barium sulfate 2% suspension)?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'readi-cat 2 (barium sulfate 2% suspension)'", "value": {"drug_name": "readi-cat 2 (barium sulfate 2% suspension)"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "67903dd6d38b79de8c6c36ff"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of amitriptyline hcl?", "template": "what is the intake method of amitriptyline hcl?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'amitriptyline hcl'", "value": {"drug_name": "amitriptyline hcl"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "374c0a6afce04afac2773ae4"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of heparin flush crrt (5000 units/ml)?", "template": "what is the intake method of heparin flush crrt (5000 units/ml)?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'heparin flush crrt (5000 units/ml)'", "value": {"drug_name": "heparin flush crrt (5000 units/ml)"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f3e6337d470705f78c3728f"}, {"db_id": "mimic_iii", "question": "what are the ways to consume acular?", "template": "what is the intake method of acular?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'acular'", "value": {"drug_name": "acular"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "869c5d910bfddbb267962791"}, {"db_id": "mimic_iii", "question": "what are the methods of consumption of hydrocortisone study drug (*ind*)?", "template": "what is the intake method of hydrocortisone study drug (*ind*)?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'hydrocortisone study drug (*ind*)'", "value": {"drug_name": "hydrocortisone study drug (*ind*)"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c98475fe697168e6612d554"}, {"db_id": "mimic_iii", "question": "what are the methods of consumption of acetaminophen w/codeine?", "template": "what is the intake method of acetaminophen w/codeine?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'acetaminophen w/codeine'", "value": {"drug_name": "acetaminophen w/codeine"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f40de22db2ff9c3a305009b5"}, {"db_id": "mimic_iii", "question": "what are the methods of consumption of lopinavir-ritonavir?", "template": "what is the intake method of lopinavir-ritonavir?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'lopinavir-ritonavir'", "value": {"drug_name": "lopinavir-ritonavir"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "acc4522e7f24b3ac0d9b237e"}, {"db_id": "mimic_iii", "question": "what are the ways to consume guaifenesin?", "template": "what is the intake method of guaifenesin?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'guaifenesin'", "value": {"drug_name": "guaifenesin"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c145ab8ddd60807eed5e638c"}, {"db_id": "mimic_iii", "question": "tell me the method of intake of dibucaine?", "template": "what is the intake method of dibucaine?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'dibucaine'", "value": {"drug_name": "dibucaine"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30b276d156451240658f01af"}, {"db_id": "mimic_iii", "question": "what is the intake method of the nifedipine cr?", "template": "what is the intake method of nifedipine cr?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'nifedipine cr'", "value": {"drug_name": "nifedipine cr"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f5978785dd55e6d3138becc"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of miconazole nitrate vaginal?", "template": "what is the intake method of miconazole nitrate vaginal?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'miconazole nitrate vaginal'", "value": {"drug_name": "miconazole nitrate vaginal"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "719c9ffb41167fdb3f01ae96"}, {"db_id": "mimic_iii", "question": "what is the ingesting method of hydrochlorothiazide?", "template": "what is the intake method of hydrochlorothiazide?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'hydrochlorothiazide'", "value": {"drug_name": "hydrochlorothiazide"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a50ea63b927af5d75ffc50cc"}, {"db_id": "mimic_iii", "question": "tell me the method of intake of hydrocortisone study drug (*ind*)?", "template": "what is the intake method of hydrocortisone study drug (*ind*)?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'hydrocortisone study drug (*ind*)'", "value": {"drug_name": "hydrocortisone study drug (*ind*)"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f217222bd5b273718edec374"}, {"db_id": "mimic_iii", "question": "what is the intake method of the methotrexate sodium p.f.?", "template": "what is the intake method of methotrexate sodium p.f.?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'methotrexate sodium p.f.'", "value": {"drug_name": "methotrexate sodium p.f."}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7410893b8c52c9fa3a3e469e"}, {"db_id": "mimic_iii", "question": "what are the ways to consume prochlorperazine maleate?", "template": "what is the intake method of prochlorperazine maleate?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'prochlorperazine maleate'", "value": {"drug_name": "prochlorperazine maleate"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee9ffb512013a07ebe7cbf0c"}, {"db_id": "mimic_iii", "question": "what are the ways to consume danazol?", "template": "what is the intake method of danazol?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'danazol'", "value": {"drug_name": "danazol"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "596aa2d63517c7ec3b927ef0"}, {"db_id": "mimic_iii", "question": "what is the intake method of the albuterol neb soln?", "template": "what is the intake method of albuterol neb soln?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'albuterol neb soln'", "value": {"drug_name": "albuterol neb soln"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e941208a92d9e3232dc5f0e"}, {"db_id": "mimic_iii", "question": "tell me the intake method for provera?", "template": "what is the intake method of provera?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'provera'", "value": {"drug_name": "provera"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff2381c0ef9a76525975ca61"}, {"db_id": "mimic_iii", "question": "tell me the intake method for betamethasone dipro 0.05% oint?", "template": "what is the intake method of betamethasone dipro 0.05% oint?", "query": "select distinct prescriptions.route from prescriptions where prescriptions.drug = 'betamethasone dipro 0.05% oint'", "value": {"drug_name": "betamethasone dipro 0.05% oint"}, "q_tag": "what is the intake method of {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the intake method of {drug_name}?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "734c07b507801aa4da3dc77d"}, {"db_id": "mimic_iii", "question": "what's the cost of a procedure called pros repair atria def-cl?", "template": "what is the cost of a procedure named pros repair atria def-cl?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'pros repair atria def-cl' ) )", "value": {"procedure_name": "pros repair atria def-cl"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99116d03033ee85e253581b1"}, {"db_id": "mimic_iii", "question": "how much does the price mean for a inject/infuse nec?", "template": "what is the cost of a procedure named inject/infuse nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'inject/infuse nec' ) )", "value": {"procedure_name": "inject/infuse nec"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "193976cabeca9806e50bf3cb"}, {"db_id": "mimic_iii", "question": "what's the cost of a loc exc les metatar/tar.", "template": "what is the cost of a procedure named loc exc les metatar/tar?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'loc exc les metatar/tar' ) )", "value": {"procedure_name": "loc exc les metatar/tar"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "24c907ac38587987cb3aba6a"}, {"db_id": "mimic_iii", "question": "how much does it cost for a procedure called lap creat esoph sphinct?", "template": "what is the cost of a procedure named lap creat esoph sphinct?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lap creat esoph sphinct' ) )", "value": {"procedure_name": "lap creat esoph sphinct"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5acfe0e63656fa820b4234e0"}, {"db_id": "mimic_iii", "question": "what does a pros repair atria def-cl cost?", "template": "what is the cost of a procedure named pros repair atria def-cl?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'pros repair atria def-cl' ) )", "value": {"procedure_name": "pros repair atria def-cl"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d75d888a6bf7f3a31a4a8927"}, {"db_id": "mimic_iii", "question": "tell me the cost of the dilation of intestine?", "template": "what is the cost of a procedure named dilation of intestine?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'dilation of intestine' ) )", "value": {"procedure_name": "dilation of intestine"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3abb7667f027a4e24358247"}, {"db_id": "mimic_iii", "question": "how much for a procedure called hepatic lobectomy?", "template": "what is the cost of a procedure named hepatic lobectomy?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'hepatic lobectomy' ) )", "value": {"procedure_name": "hepatic lobectomy"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0027a03d90a923420d253a8c"}, {"db_id": "mimic_iii", "question": "tell me the cost for a circumcision?", "template": "what is the cost of a procedure named circumcision?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'circumcision' ) )", "value": {"procedure_name": "circumcision"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8b4f2619d4ccd488af8cc69"}, {"db_id": "mimic_iii", "question": "how does opn aortic valvuloplasty cost?", "template": "what is the cost of a procedure named opn aortic valvuloplasty?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'opn aortic valvuloplasty' ) )", "value": {"procedure_name": "opn aortic valvuloplasty"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81d59a5b257ba9a95c090424"}, {"db_id": "mimic_iii", "question": "how much is the cost of a procedure called proximal gastrectomy?", "template": "what is the cost of a procedure named proximal gastrectomy?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'proximal gastrectomy' ) )", "value": {"procedure_name": "proximal gastrectomy"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "24a88ab50fb4bc8b6e0729ef"}, {"db_id": "mimic_iii", "question": "how much is the other craniectomy cost?", "template": "what is the cost of a procedure named other craniectomy?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'other craniectomy' ) )", "value": {"procedure_name": "other craniectomy"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b69a99f9dcd801a52aac9083"}, {"db_id": "mimic_iii", "question": "what is the cost of the procedure called blepharorrhaphy?", "template": "what is the cost of a procedure named blepharorrhaphy?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'blepharorrhaphy' ) )", "value": {"procedure_name": "blepharorrhaphy"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4b0229073a8caf729d438ac5"}, {"db_id": "mimic_iii", "question": "how much do resp tract intubat nec costs?", "template": "what is the cost of a procedure named resp tract intubat nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'resp tract intubat nec' ) )", "value": {"procedure_name": "resp tract intubat nec"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5deff1e45cedf1ee0f39ef1"}, {"db_id": "mimic_iii", "question": "what do rad subtot pancreatectom costs?", "template": "what is the cost of a procedure named rad subtot pancreatectom?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'rad subtot pancreatectom' ) )", "value": {"procedure_name": "rad subtot pancreatectom"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5882e874e9c791de8e481426"}, {"db_id": "mimic_iii", "question": "how much does remov ext immobilization cost.", "template": "what is the cost of a procedure named remov ext immobilization?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'remov ext immobilization' ) )", "value": {"procedure_name": "remov ext immobilization"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a567e5374245e26ee13ec45c"}, {"db_id": "mimic_iii", "question": "what is the cost of a surgery called skin & subq incision nec?", "template": "what is the cost of a procedure named skin & subq incision nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'skin & subq incision nec' ) )", "value": {"procedure_name": "skin & subq incision nec"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aad4a6c249f38a4cb28586e3"}, {"db_id": "mimic_iii", "question": "how much does a procedure known as appl ext fix-tib/fibula cost?", "template": "what is the cost of a procedure named appl ext fix-tib/fibula?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'appl ext fix-tib/fibula' ) )", "value": {"procedure_name": "appl ext fix-tib/fibula"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29dfd5c0734774cd10d165c9"}, {"db_id": "mimic_iii", "question": "how much do charge for a permanent ileostomy nec?", "template": "what is the cost of a procedure named permanent ileostomy nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'permanent ileostomy nec' ) )", "value": {"procedure_name": "permanent ileostomy nec"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3468b4b9fcbdc3189081a51"}, {"db_id": "mimic_iii", "question": "what's a price of implt/repl carddefib tot?", "template": "what is the cost of a procedure named implt/repl carddefib tot?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'implt/repl carddefib tot' ) )", "value": {"procedure_name": "implt/repl carddefib tot"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f8242ec481f19dbe6569fb6"}, {"db_id": "mimic_iii", "question": "how much loc exc bone lesion nec?", "template": "what is the cost of a procedure named loc exc bone lesion nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'loc exc bone lesion nec' ) )", "value": {"procedure_name": "loc exc bone lesion nec"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9621698855e2e08582928f5b"}, {"db_id": "mimic_iii", "question": "how much is a procedure called int insert dual-cham dev.", "template": "what is the cost of a procedure named int insert dual-cham dev?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'int insert dual-cham dev' ) )", "value": {"procedure_name": "int insert dual-cham dev"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eba15147f4211cda2783b078"}, {"db_id": "mimic_iii", "question": "how much does a procedure called knee synovectomy cost?", "template": "what is the cost of a procedure named knee synovectomy?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'knee synovectomy' ) )", "value": {"procedure_name": "knee synovectomy"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6a85b91cbd7276870746715"}, {"db_id": "mimic_iii", "question": "for the endosc control gast hem what does it cost?", "template": "what is the cost of a procedure named endosc control gast hem?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'endosc control gast hem' ) )", "value": {"procedure_name": "endosc control gast hem"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ff5dd52616cf8116d2655a2"}, {"db_id": "mimic_iii", "question": "what's is closed uterine biopsy's price?", "template": "what is the cost of a procedure named closed uterine biopsy?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'closed uterine biopsy' ) )", "value": {"procedure_name": "closed uterine biopsy"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34b5cbc978283973b925a321"}, {"db_id": "mimic_iii", "question": "what cost does a procedure called inject/inf thrombo agent cost?", "template": "what is the cost of a procedure named inject/inf thrombo agent?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'inject/inf thrombo agent' ) )", "value": {"procedure_name": "inject/inf thrombo agent"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6cc4ad6c63d90b8722b0b5ce"}, {"db_id": "mimic_iii", "question": "tell me the price of a procedure called insert infusion pump?", "template": "what is the cost of a procedure named insert infusion pump?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'insert infusion pump' ) )", "value": {"procedure_name": "insert infusion pump"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0f503e2f9117bc7639027598"}, {"db_id": "mimic_iii", "question": "tell me the price of a procedure called endoscop dilate pylorus?", "template": "what is the cost of a procedure named endoscop dilate pylorus?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'endoscop dilate pylorus' ) )", "value": {"procedure_name": "endoscop dilate pylorus"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "354200671882bf57827bb906"}, {"db_id": "mimic_iii", "question": "how much does partial ostectomy nec cost.", "template": "what is the cost of a procedure named partial ostectomy nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'partial ostectomy nec' ) )", "value": {"procedure_name": "partial ostectomy nec"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a2e4d96183f306f303ded37"}, {"db_id": "mimic_iii", "question": "for the bile duct incision nec what does it cost?", "template": "what is the cost of a procedure named bile duct incision nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'bile duct incision nec' ) )", "value": {"procedure_name": "bile duct incision nec"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "847718463d7a9f23b00ea81d"}, {"db_id": "mimic_iii", "question": "for the anal fistulotomy what does it cost?", "template": "what is the cost of a procedure named anal fistulotomy?", "query": "select distinct cost.cost from cost where cost.event_type = 'procedures_icd' and cost.event_id in ( select procedures_icd.row_id from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'anal fistulotomy' ) )", "value": {"procedure_name": "anal fistulotomy"}, "q_tag": "what is the cost of a procedure named {procedure_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a procedure named {procedure_name}?", "department": "['insurance_review']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b11ef7fda106a14eedb522f6"}, {"db_id": "mimic_iii", "question": "how much is the cost of a lab test of chloride, stool?", "template": "what is the cost of a chloride, stool lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride, stool' ) )", "value": {"lab_name": "chloride, stool"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5b54f0fcc7e460163040a20"}, {"db_id": "mimic_iii", "question": "what is the cost of taking a mcv lab test?", "template": "what is the cost of a mcv lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) )", "value": {"lab_name": "mcv"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc7b4d93535a9f0fe70ec0f2"}, {"db_id": "mimic_iii", "question": "whats the cost for atypical lymphocytes?", "template": "what is the cost of a atypical lymphocytes lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'atypical lymphocytes' ) )", "value": {"lab_name": "atypical lymphocytes"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd2755ea9d932d4d2863b986"}, {"db_id": "mimic_iii", "question": "what is the cost to do a wbc, ascites lab test?", "template": "what is the cost of a wbc, ascites lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'wbc, ascites' ) )", "value": {"lab_name": "wbc, ascites"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ba0e9c4dde147e511d9d69b"}, {"db_id": "mimic_iii", "question": "how much does it cost to have a ck-mb index lab test.", "template": "what is the cost of a ck-mb index lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ck-mb index' ) )", "value": {"lab_name": "ck-mb index"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "845349e50ed748a0157998dc"}, {"db_id": "mimic_iii", "question": "tell me the price for reticulocyte count, manual?", "template": "what is the cost of a reticulocyte count, manual lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'reticulocyte count, manual' ) )", "value": {"lab_name": "reticulocyte count, manual"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "adb1a03ee7a8e40377328c91"}, {"db_id": "mimic_iii", "question": "whats the price for a lymphocytes, percent?", "template": "what is the cost of a lymphocytes, percent lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lymphocytes, percent' ) )", "value": {"lab_name": "lymphocytes, percent"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96c29b4b86b6cf63d6a87bb1"}, {"db_id": "mimic_iii", "question": "what are the costs of a hematocrit, other fluid lab test?", "template": "what is the cost of a hematocrit, other fluid lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit, other fluid' ) )", "value": {"lab_name": "hematocrit, other fluid"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "704853f3da194568a2875536"}, {"db_id": "mimic_iii", "question": "what is the cost for glucose, pleural lab testing?", "template": "what is the cost of a glucose, pleural lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose, pleural' ) )", "value": {"lab_name": "glucose, pleural"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78a55dd9663e12f493001c0e"}, {"db_id": "mimic_iii", "question": "tell me the cost of a lab test for epithelial cells?", "template": "what is the cost of a epithelial cells lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'epithelial cells' ) )", "value": {"lab_name": "epithelial cells"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5c941b8f2d23df173c7743c"}, {"db_id": "mimic_iii", "question": "tell me the cost of a lab vancomycin test?", "template": "what is the cost of a vancomycin lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'vancomycin' ) )", "value": {"lab_name": "vancomycin"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34c9c1a3ba97b2459345a45f"}, {"db_id": "mimic_iii", "question": "how much does the cost of protein, total are?", "template": "what is the cost of a protein, total lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'protein, total' ) )", "value": {"lab_name": "protein, total"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "732ce9399a167f44165a011c"}, {"db_id": "mimic_iii", "question": "how much do the wbc, ascites actually cost?", "template": "what is the cost of a wbc, ascites lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'wbc, ascites' ) )", "value": {"lab_name": "wbc, ascites"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "933b91620966d4bf62a4821f"}, {"db_id": "mimic_iii", "question": "how much is the cost of wbc, csf lab tests?", "template": "what is the cost of a wbc, csf lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'wbc, csf' ) )", "value": {"lab_name": "wbc, csf"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "436f3f2141c54ffb24d950e0"}, {"db_id": "mimic_iii", "question": "tell me the cost of a cancer antigen 27.29 lab test.", "template": "what is the cost of a cancer antigen 27.29 lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'cancer antigen 27.29' ) )", "value": {"lab_name": "cancer antigen 27.29"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "051b59a3034b082f8bd988be"}, {"db_id": "mimic_iii", "question": "how much cost is it to perform triiodothyronine (t3) lab tests?", "template": "what is the cost of a triiodothyronine (t3) lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'triiodothyronine (t3)' ) )", "value": {"lab_name": "triiodothyronine (t3)"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e8ca4ec50cf380b5aba9b5e"}, {"db_id": "mimic_iii", "question": "what does a lab bilirubin, total test cost?", "template": "what is the cost of a bilirubin, total lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total' ) )", "value": {"lab_name": "bilirubin, total"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a733d322499315c132b380d7"}, {"db_id": "mimic_iii", "question": "what's the price of prostate specific antigen.", "template": "what is the cost of a prostate specific antigen lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'prostate specific antigen' ) )", "value": {"lab_name": "prostate specific antigen"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "baaf7cbdea514cb280a33320"}, {"db_id": "mimic_iii", "question": "what's the cost for a chloride, ascites laboratory test?", "template": "what is the cost of a chloride, ascites lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride, ascites' ) )", "value": {"lab_name": "chloride, ascites"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8864e82e403e65ca5e7be35c"}, {"db_id": "mimic_iii", "question": "how much does it cost to get a lab ammonia test?", "template": "what is the cost of a ammonia lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ammonia' ) )", "value": {"lab_name": "ammonia"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b46cf70177fc91c57434b2d"}, {"db_id": "mimic_iii", "question": "tell me the price of a hemogloblin s lab test?", "template": "what is the cost of a hemogloblin s lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemogloblin s' ) )", "value": {"lab_name": "hemogloblin s"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5331d3e7dd3fb9a7a789486a"}, {"db_id": "mimic_iii", "question": "what is the cost of the tissue transglutaminase ab, iga lab test?", "template": "what is the cost of a tissue transglutaminase ab, iga lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'tissue transglutaminase ab, iga' ) )", "value": {"lab_name": "tissue transglutaminase ab, iga"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2be79d40129919f1b277b6b6"}, {"db_id": "mimic_iii", "question": "amikacin,whats the cost of it?", "template": "what is the cost of a amikacin lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'amikacin' ) )", "value": {"lab_name": "amikacin"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb67a2b325f0ffd79ea796ed"}, {"db_id": "mimic_iii", "question": "how much does it cost for chloride, urine lab tests?", "template": "what is the cost of a chloride, urine lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride, urine' ) )", "value": {"lab_name": "chloride, urine"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c756af480d9acf914861254"}, {"db_id": "mimic_iii", "question": "bicarbonate,whats the cost of it?", "template": "what is the cost of a bicarbonate lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) )", "value": {"lab_name": "bicarbonate"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c977dbca25f13745ffb1f72d"}, {"db_id": "mimic_iii", "question": "how much cost is it to perform quantitative g6pd lab tests?", "template": "what is the cost of a quantitative g6pd lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'quantitative g6pd' ) )", "value": {"lab_name": "quantitative g6pd"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4816e8b676b9378dd3b41730"}, {"db_id": "mimic_iii", "question": "how much does it cost to have a cd3 % lab test.", "template": "what is the cost of a cd3 % lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'cd3 %' ) )", "value": {"lab_name": "cd3 %"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b5f58a2e681fb9e2822c7b2d"}, {"db_id": "mimic_iii", "question": "what are the costs of a magnesium lab test?", "template": "what is the cost of a magnesium lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) )", "value": {"lab_name": "magnesium"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "49f691dde1a5b342ee6ee24a"}, {"db_id": "mimic_iii", "question": "what does a lab factor viii test cost?", "template": "what is the cost of a factor viii lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'factor viii' ) )", "value": {"lab_name": "factor viii"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9abd21eb84ce758cbe4a3aa4"}, {"db_id": "mimic_iii", "question": "what's the cost for a beta-2 microglobulin laboratory test?", "template": "what is the cost of a beta-2 microglobulin lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'beta-2 microglobulin' ) )", "value": {"lab_name": "beta-2 microglobulin"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "812296059d4bed1a76cc0e6d"}, {"db_id": "mimic_iii", "question": "tell me the cost of a lab test for glucose, ascites?", "template": "what is the cost of a glucose, ascites lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose, ascites' ) )", "value": {"lab_name": "glucose, ascites"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "811d8c043501cf02cddae75d"}, {"db_id": "mimic_iii", "question": "how much cost is it to perform methemoglobin lab tests?", "template": "what is the cost of a methemoglobin lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'methemoglobin' ) )", "value": {"lab_name": "methemoglobin"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e940b8ddbd74ec5a9facfb2"}, {"db_id": "mimic_iii", "question": "what's the cost for a glucose, pleural laboratory test?", "template": "what is the cost of a glucose, pleural lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose, pleural' ) )", "value": {"lab_name": "glucose, pleural"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "21cc20a329ba33715fd405eb"}, {"db_id": "mimic_iii", "question": "tell me the cost of a lab bilirubin, total, body fluid test?", "template": "what is the cost of a bilirubin, total, body fluid lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total, body fluid' ) )", "value": {"lab_name": "bilirubin, total, body fluid"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c904a875ef6a435bc0fa273f"}, {"db_id": "mimic_iii", "question": "how much do the reptilase time control actually cost?", "template": "what is the cost of a reptilase time control lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'reptilase time control' ) )", "value": {"lab_name": "reptilase time control"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "590c43a62c12b58e5ebb5ea4"}, {"db_id": "mimic_iii", "question": "what does a lab hemoglobin test cost?", "template": "what is the cost of a hemoglobin lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) )", "value": {"lab_name": "hemoglobin"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84eee07f72afe7b936e17968"}, {"db_id": "mimic_iii", "question": "what's the price of serum viscosity.", "template": "what is the cost of a serum viscosity lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'serum viscosity' ) )", "value": {"lab_name": "serum viscosity"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "60055458b108d245137aef04"}, {"db_id": "mimic_iii", "question": "how much do the magnesium, urine actually cost?", "template": "what is the cost of a magnesium, urine lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium, urine' ) )", "value": {"lab_name": "magnesium, urine"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48dad473490bd169c1007e86"}, {"db_id": "mimic_iii", "question": "how much is the cost of a lab test of glucose, pleural?", "template": "what is the cost of a glucose, pleural lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose, pleural' ) )", "value": {"lab_name": "glucose, pleural"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d755119bc80f92383c6925f6"}, {"db_id": "mimic_iii", "question": "how much does the cost of glucose, ascites are?", "template": "what is the cost of a glucose, ascites lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose, ascites' ) )", "value": {"lab_name": "glucose, ascites"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a985da67e7852c0f38f5acc"}, {"db_id": "mimic_iii", "question": "how much does it cost for bicarbonate, stool lab tests?", "template": "what is the cost of a bicarbonate, stool lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate, stool' ) )", "value": {"lab_name": "bicarbonate, stool"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad9e6b90d15d4b65fb5b5c15"}, {"db_id": "mimic_iii", "question": "what's the cost for a albumin, ascites laboratory test?", "template": "what is the cost of a albumin, ascites lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'albumin, ascites' ) )", "value": {"lab_name": "albumin, ascites"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e6d2e51ca1ab91b661e36b4"}, {"db_id": "mimic_iii", "question": "tell me the price for reptilase time control?", "template": "what is the cost of a reptilase time control lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'reptilase time control' ) )", "value": {"lab_name": "reptilase time control"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "557c2359f21ba93e3143e1a3"}, {"db_id": "mimic_iii", "question": "tell me the price for phenytoin, free?", "template": "what is the cost of a phenytoin, free lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phenytoin, free' ) )", "value": {"lab_name": "phenytoin, free"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc271829885508fa50825f2e"}, {"db_id": "mimic_iii", "question": "how much does it cost to have a sodium, whole blood lab test.", "template": "what is the cost of a sodium, whole blood lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium, whole blood' ) )", "value": {"lab_name": "sodium, whole blood"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca38b28203279167f5869705"}, {"db_id": "mimic_iii", "question": "potassium, whole blood,whats the cost of it?", "template": "what is the cost of a potassium, whole blood lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium, whole blood' ) )", "value": {"lab_name": "potassium, whole blood"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f209f5e97417af1aa8fe5e1"}, {"db_id": "mimic_iii", "question": "how much does it cost for lactate dehydrogenase, pleural lab tests?", "template": "what is the cost of a lactate dehydrogenase, pleural lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate dehydrogenase, pleural' ) )", "value": {"lab_name": "lactate dehydrogenase, pleural"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9860d5db1191868b669d8611"}, {"db_id": "mimic_iii", "question": "what are the costs of a reticulocyte count, automated lab test?", "template": "what is the cost of a reticulocyte count, automated lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'reticulocyte count, automated' ) )", "value": {"lab_name": "reticulocyte count, automated"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45a0a21a22004e96a97284f7"}, {"db_id": "mimic_iii", "question": "tell me the cost of a bilirubin, total, pleural lab test.", "template": "what is the cost of a bilirubin, total, pleural lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total, pleural' ) )", "value": {"lab_name": "bilirubin, total, pleural"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42ce40d65c3a7b577b6cff85"}, {"db_id": "mimic_iii", "question": "what's the price of ethanol.", "template": "what is the cost of a ethanol lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ethanol' ) )", "value": {"lab_name": "ethanol"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25d2c35d3ca20e8cb180c037"}, {"db_id": "mimic_iii", "question": "how much does the cost of von willebrand factor antigen are?", "template": "what is the cost of a von willebrand factor antigen lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'von willebrand factor antigen' ) )", "value": {"lab_name": "von willebrand factor antigen"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6256a3ca6451f18059bd6ff"}, {"db_id": "mimic_iii", "question": "how much does the cost of testosterone are?", "template": "what is the cost of a testosterone lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'testosterone' ) )", "value": {"lab_name": "testosterone"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48f50e1feb31e23a13ca49d5"}, {"db_id": "mimic_iii", "question": "what is the cost of the glucose, pleural lab test?", "template": "what is the cost of a glucose, pleural lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose, pleural' ) )", "value": {"lab_name": "glucose, pleural"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99227e7520f7dbab6ed4a1d9"}, {"db_id": "mimic_iii", "question": "how much is the cost of iron binding capacity, total lab tests?", "template": "what is the cost of a iron binding capacity, total lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'iron binding capacity, total' ) )", "value": {"lab_name": "iron binding capacity, total"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee6266c72d413b607f18315a"}, {"db_id": "mimic_iii", "question": "what's the price of quantitative g6pd.", "template": "what is the cost of a quantitative g6pd lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'quantitative g6pd' ) )", "value": {"lab_name": "quantitative g6pd"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc55900e5907f6226de72650"}, {"db_id": "mimic_iii", "question": "what is the cost of the 24 hr creatinine lab test?", "template": "what is the cost of a 24 hr creatinine lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = '24 hr creatinine' ) )", "value": {"lab_name": "24 hr creatinine"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "057e951b7d5bd7239b8ab419"}, {"db_id": "mimic_iii", "question": "tell me the price for bilirubin, total, pleural?", "template": "what is the cost of a bilirubin, total, pleural lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total, pleural' ) )", "value": {"lab_name": "bilirubin, total, pleural"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "06108a5bf5b8cbc75a8da472"}, {"db_id": "mimic_iii", "question": "what is the cost for albumin, body fluid lab testing?", "template": "what is the cost of a albumin, body fluid lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'albumin, body fluid' ) )", "value": {"lab_name": "albumin, body fluid"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c1f5e0a0cca09613d3e88ad"}, {"db_id": "mimic_iii", "question": "whats the price for a creatinine clearance?", "template": "what is the cost of a creatinine clearance lab test?", "query": "select distinct cost.cost from cost where cost.event_type = 'labevents' and cost.event_id in ( select labevents.row_id from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine clearance' ) )", "value": {"lab_name": "creatinine clearance"}, "q_tag": "what is the cost of a {lab_name} lab test?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a {lab_name} lab test?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5b8d83b011e88c5d6c9353d7"}, {"db_id": "mimic_iii", "question": "what's the cost of a drug named multivitamin-12?", "template": "what is the cost of a drug named multivitamin-12?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'multivitamin-12' )", "value": {"drug_name": "multivitamin-12"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "876512d5ba6bbd58e787c83e"}, {"db_id": "mimic_iii", "question": "what is the propranolol hcl price?", "template": "what is the cost of a drug named propranolol hcl?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'propranolol hcl' )", "value": {"drug_name": "propranolol hcl"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09511bf9326ab4dd07c11d95"}, {"db_id": "mimic_iii", "question": "how much fluocinonide 0.05% ointment is it?", "template": "what is the cost of a drug named fluocinonide 0.05% ointment?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'fluocinonide 0.05% ointment' )", "value": {"drug_name": "fluocinonide 0.05% ointment"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f656d59652aa8aa8705d80e"}, {"db_id": "mimic_iii", "question": "what is the cost of drug name soma?", "template": "what is the cost of a drug named soma?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'soma' )", "value": {"drug_name": "soma"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cdd32b54ad232fa3b2bdab2e"}, {"db_id": "mimic_iii", "question": "what is the cost of a drug, permethrin?", "template": "what is the cost of a drug named permethrin?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'permethrin' )", "value": {"drug_name": "permethrin"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17632ce2794638f9ecf96c75"}, {"db_id": "mimic_iii", "question": "what are the prices for sodiu?", "template": "what is the cost of a drug named sodiu?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'sodiu' )", "value": {"drug_name": "sodiu"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "02b35f65f34a20a939f490d0"}, {"db_id": "mimic_iii", "question": "tell me the costs of a drug named bendamustine?", "template": "what is the cost of a drug named bendamustine?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'bendamustine' )", "value": {"drug_name": "bendamustine"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce0ebfe40cad9009b17f6ccd"}, {"db_id": "mimic_iii", "question": "how much does a drug cost, oxycodone-acetaminophen elixir?", "template": "what is the cost of a drug named oxycodone-acetaminophen elixir?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'oxycodone-acetaminophen elixir' )", "value": {"drug_name": "oxycodone-acetaminophen elixir"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70097df07372a7051b7990bd"}, {"db_id": "mimic_iii", "question": "how much does a drug called atazanavir cost.", "template": "what is the cost of a drug named atazanavir?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'atazanavir' )", "value": {"drug_name": "atazanavir"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a1dbda82f96434009ea25dd"}, {"db_id": "mimic_iii", "question": "what was the cost of midazolam?", "template": "what is the cost of a drug named midazolam?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'midazolam' )", "value": {"drug_name": "midazolam"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "360fd5c3dd303fc6e369c3b5"}, {"db_id": "mimic_iii", "question": "how much does it cost multivitamin-12.", "template": "what is the cost of a drug named multivitamin-12?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'multivitamin-12' )", "value": {"drug_name": "multivitamin-12"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42a2a57d424b4c77a68e611c"}, {"db_id": "mimic_iii", "question": "what are the prices of the drug acetaminophen iv?", "template": "what is the cost of a drug named acetaminophen iv?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'acetaminophen iv' )", "value": {"drug_name": "acetaminophen iv"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b85d15008c298280a4e659a9"}, {"db_id": "mimic_iii", "question": "what is the price for the lidocaine 2%?", "template": "what is the cost of a drug named lidocaine 2%?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'lidocaine 2%' )", "value": {"drug_name": "lidocaine 2%"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59abb39593e828d5e8b2ef1d"}, {"db_id": "mimic_iii", "question": "what is the cost of a drug known as anastrozole?", "template": "what is the cost of a drug named anastrozole?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'anastrozole' )", "value": {"drug_name": "anastrozole"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d72dc7975d2e986c51074f87"}, {"db_id": "mimic_iii", "question": "tell me the price of taking heparin flush (10 units/ml)?", "template": "what is the cost of a drug named heparin flush (10 units/ml)?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'heparin flush (10 units/ml)' )", "value": {"drug_name": "heparin flush (10 units/ml)"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63e077b4603d945dea3a3fd8"}, {"db_id": "mimic_iii", "question": "what is the pricing for ziprasidone hydrochloride?", "template": "what is the cost of a drug named ziprasidone hydrochloride?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'ziprasidone hydrochloride' )", "value": {"drug_name": "ziprasidone hydrochloride"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f494f1b4baa29c2fa10ffd9f"}, {"db_id": "mimic_iii", "question": "what's the cost of a drug known as dibucaine?", "template": "what is the cost of a drug named dibucaine?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'dibucaine' )", "value": {"drug_name": "dibucaine"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cf57e3f938bae4949b24966"}, {"db_id": "mimic_iii", "question": "how much does it cost to take a drug called nystatin-triamcinolone cream?", "template": "what is the cost of a drug named nystatin-triamcinolone cream?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'nystatin-triamcinolone cream' )", "value": {"drug_name": "nystatin-triamcinolone cream"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "21a79ba26c5e7769e20514eb"}, {"db_id": "mimic_iii", "question": "how much is lidocaine 2% costing?", "template": "what is the cost of a drug named lidocaine 2%?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'lidocaine 2%' )", "value": {"drug_name": "lidocaine 2%"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdeeb757b77c7d6308e50134"}, {"db_id": "mimic_iii", "question": "whats the price for emtricitabine.", "template": "what is the cost of a drug named emtricitabine?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'emtricitabine' )", "value": {"drug_name": "emtricitabine"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed8716382c3bd2834a5e5ae5"}, {"db_id": "mimic_iii", "question": "how much is the cost of a drug called clonidine tts 1 patch?", "template": "what is the cost of a drug named clonidine tts 1 patch?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'clonidine tts 1 patch' )", "value": {"drug_name": "clonidine tts 1 patch"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9be6b9955e94ed719011300f"}, {"db_id": "mimic_iii", "question": "tricor what is the price?", "template": "what is the cost of a drug named tricor?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'tricor' )", "value": {"drug_name": "tricor"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3bd0d1c5d75fbb2736052f99"}, {"db_id": "mimic_iii", "question": "what does the cost of efavirenz be?", "template": "what is the cost of a drug named efavirenz?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'efavirenz' )", "value": {"drug_name": "efavirenz"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "122c106134230b7d5b8e7516"}, {"db_id": "mimic_iii", "question": "tell me the cost of a prescription drug called calcium chloride?", "template": "what is the cost of a drug named calcium chloride?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'calcium chloride' )", "value": {"drug_name": "calcium chloride"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "167318b5d9fcdc99bd7c56fe"}, {"db_id": "mimic_iii", "question": "how much is the price for bystolic?", "template": "what is the cost of a drug named bystolic?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'bystolic' )", "value": {"drug_name": "bystolic"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d05284b8093d606c509fce8d"}, {"db_id": "mimic_iii", "question": "what is the cost of a medication named amphotericin b?", "template": "what is the cost of a drug named amphotericin b?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'amphotericin b' )", "value": {"drug_name": "amphotericin b"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75cf2638b37f95e589d34b58"}, {"db_id": "mimic_iii", "question": "what is the cost for a drug named clonidine tts 1 patch?", "template": "what is the cost of a drug named clonidine tts 1 patch?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'clonidine tts 1 patch' )", "value": {"drug_name": "clonidine tts 1 patch"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "86a9425529a9588a27fc49b0"}, {"db_id": "mimic_iii", "question": "tell me the price of n-acetylcysteine study drug.", "template": "what is the cost of a drug named n-acetylcysteine study drug?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'n-acetylcysteine study drug' )", "value": {"drug_name": "n-acetylcysteine study drug"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b1b7fec34d5c8f7dc27592b8"}, {"db_id": "mimic_iii", "question": "what is the cost for a drug named mul?", "template": "what is the cost of a drug named mul?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'mul' )", "value": {"drug_name": "mul"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0cfd151bde96ecfe777fcc0e"}, {"db_id": "mimic_iii", "question": "how much does it cost to take a drug called lidocaine-prilocaine?", "template": "what is the cost of a drug named lidocaine-prilocaine?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'lidocaine-prilocaine' )", "value": {"drug_name": "lidocaine-prilocaine"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0dccdb89b2808348d00d3eed"}, {"db_id": "mimic_iii", "question": "tell me the costs of a drug named emtricitabine?", "template": "what is the cost of a drug named emtricitabine?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'emtricitabine' )", "value": {"drug_name": "emtricitabine"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e9b8df0b51da67e8ecc6ec0"}, {"db_id": "mimic_iii", "question": "what was the cost of silibinin (*ind*)?", "template": "what is the cost of a drug named silibinin (*ind*)?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'silibinin (*ind*)' )", "value": {"drug_name": "silibinin (*ind*)"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b73a894d3755517517ffa774"}, {"db_id": "mimic_iii", "question": "what does the cost of bendamustine be?", "template": "what is the cost of a drug named bendamustine?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'bendamustine' )", "value": {"drug_name": "bendamustine"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52c69ac0d6af9a234e464195"}, {"db_id": "mimic_iii", "question": "what are the prices of the drug dexamethasone?", "template": "what is the cost of a drug named dexamethasone?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'dexamethasone' )", "value": {"drug_name": "dexamethasone"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7336cedd520afcda83f83dd1"}, {"db_id": "mimic_iii", "question": "solution what is the price?", "template": "what is the cost of a drug named solution?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'solution' )", "value": {"drug_name": "solution"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a239ec19a74dc14321eacc8"}, {"db_id": "mimic_iii", "question": "how much is nitrofurantoin monohyd (macrobid) costing?", "template": "what is the cost of a drug named nitrofurantoin monohyd (macrobid)?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'nitrofurantoin monohyd (macrobid)' )", "value": {"drug_name": "nitrofurantoin monohyd (macrobid)"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3260d16d7e4a5077a0199930"}, {"db_id": "mimic_iii", "question": "what is the pricing for nystatin-triamcinolone cream?", "template": "what is the cost of a drug named nystatin-triamcinolone cream?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'nystatin-triamcinolone cream' )", "value": {"drug_name": "nystatin-triamcinolone cream"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdd2f0911bfd64b2fbf04c8a"}, {"db_id": "mimic_iii", "question": "what is the cost of a medication named morphine sulfate sr?", "template": "what is the cost of a drug named morphine sulfate sr?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'morphine sulfate sr' )", "value": {"drug_name": "morphine sulfate sr"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1b359706bb1d295746500dcd"}, {"db_id": "mimic_iii", "question": "tell me the price of verapamil sr.", "template": "what is the cost of a drug named verapamil sr?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'verapamil sr' )", "value": {"drug_name": "verapamil sr"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dde6c3e485a0e7f9291d9994"}, {"db_id": "mimic_iii", "question": "what is the price for the oxybutynin?", "template": "what is the cost of a drug named oxybutynin?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'oxybutynin' )", "value": {"drug_name": "oxybutynin"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe3d953c02af40fe4714c641"}, {"db_id": "mimic_iii", "question": "how much is fluocinolone 0.01% cream costing?", "template": "what is the cost of a drug named fluocinolone 0.01% cream?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'fluocinolone 0.01% cream' )", "value": {"drug_name": "fluocinolone 0.01% cream"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8955b8104aa6d62da1bcd9ca"}, {"db_id": "mimic_iii", "question": "morphine sulfate sr what is the price?", "template": "what is the cost of a drug named morphine sulfate sr?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'morphine sulfate sr' )", "value": {"drug_name": "morphine sulfate sr"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a93bee2a783ba8760c5e615c"}, {"db_id": "mimic_iii", "question": "how much does a drug called isoniazid cost.", "template": "what is the cost of a drug named isoniazid?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'isoniazid' )", "value": {"drug_name": "isoniazid"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f39cf9080600c554a2f6b22"}, {"db_id": "mimic_iii", "question": "what is the cost of a drug known as albumin 5% (25 g)?", "template": "what is the cost of a drug named albumin 5% (25 g)?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'albumin 5% (25 g)' )", "value": {"drug_name": "albumin 5% (25 g)"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "807f44bb07b3420284532f93"}, {"db_id": "mimic_iii", "question": "how much is the cost of a drug called dorzolamide 2% ophth. soln.?", "template": "what is the cost of a drug named dorzolamide 2% ophth. soln.?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'dorzolamide 2% ophth. soln.' )", "value": {"drug_name": "dorzolamide 2% ophth. soln."}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a76bdf890381b4a21cbbbd4"}, {"db_id": "mimic_iii", "question": "tell me the price of taking syringe (ns)?", "template": "what is the cost of a drug named syringe (ns)?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'syringe (ns)' )", "value": {"drug_name": "syringe (ns)"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b95ddcd9098970ce4a1d74c"}, {"db_id": "mimic_iii", "question": "what is the cost of a medication named pamidronate?", "template": "what is the cost of a drug named pamidronate?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'pamidronate' )", "value": {"drug_name": "pamidronate"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6cdc11961474bf27cadf0a0b"}, {"db_id": "mimic_iii", "question": "how much is dorzolamide 2% ophth. soln. costing?", "template": "what is the cost of a drug named dorzolamide 2% ophth. soln.?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'dorzolamide 2% ophth. soln.' )", "value": {"drug_name": "dorzolamide 2% ophth. soln."}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cce2bb6b0f7509071720c906"}, {"db_id": "mimic_iii", "question": "what are the prices for emtricitabine?", "template": "what is the cost of a drug named emtricitabine?", "query": "select distinct cost.cost from cost where cost.event_type = 'prescriptions' and cost.event_id in ( select prescriptions.row_id from prescriptions where prescriptions.drug = 'emtricitabine' )", "value": {"drug_name": "emtricitabine"}, "q_tag": "what is the cost of a drug named {drug_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of a drug named {drug_name}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53ef879463cf203f05c3eb3d"}, {"db_id": "mimic_iii", "question": "what is the cost of a diagnosis of open wound site nos?", "template": "what is the cost of diagnosing open wound site nos?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'open wound site nos' ) )", "value": {"diagnosis_name": "open wound site nos"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bad2c1016f4ff299dcc489da"}, {"db_id": "mimic_iii", "question": "how much does it cost to get checked for fall from ladder?", "template": "what is the cost of diagnosing fall from ladder?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'fall from ladder' ) )", "value": {"diagnosis_name": "fall from ladder"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e97490f4b559bc854d7377a"}, {"db_id": "mimic_iii", "question": "how much does it cost to get diagnostic of bmi 33.0-33.9,adult?", "template": "what is the cost of diagnosing bmi 33.0-33.9,adult?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'bmi 33.0-33.9,adult' ) )", "value": {"diagnosis_name": "bmi 33.0-33.9,adult"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "996907a5d3ebb8be4279894b"}, {"db_id": "mimic_iii", "question": "what is the cost for diagnosis of gal&bil cal w/ac&chr w/o?", "template": "what is the cost of diagnosing gal&bil cal w/ac&chr w/o?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'gal&bil cal w/ac&chr w/o' ) )", "value": {"diagnosis_name": "gal&bil cal w/ac&chr w/o"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1338891b69ecbafae1cf351"}, {"db_id": "mimic_iii", "question": "tell me the cost of the diagnosis for bleed esoph var oth dis?", "template": "what is the cost of diagnosing bleed esoph var oth dis?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'bleed esoph var oth dis' ) )", "value": {"diagnosis_name": "bleed esoph var oth dis"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8b0cb63144e380591c9d623"}, {"db_id": "mimic_iii", "question": "tell me the diagnosis cost of duodenitis w hmrhg in a patient?", "template": "what is the cost of diagnosing duodenitis w hmrhg?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'duodenitis w hmrhg' ) )", "value": {"diagnosis_name": "duodenitis w hmrhg"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "217b557d2d585b7cc9605b65"}, {"db_id": "mimic_iii", "question": "what is the diagnostic cost in nonpsychot brain syn nos?", "template": "what is the cost of diagnosing nonpsychot brain syn nos?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'nonpsychot brain syn nos' ) )", "value": {"diagnosis_name": "nonpsychot brain syn nos"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4fb28f9fb9b0465b8238fed3"}, {"db_id": "mimic_iii", "question": "whats the cost to get a wbc disease nec diagnosis.", "template": "what is the cost of diagnosing wbc disease nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'wbc disease nec' ) )", "value": {"diagnosis_name": "wbc disease nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec09329d2965447eae4ca58e"}, {"db_id": "mimic_iii", "question": "how much does it cost to check for nonsp abn find-gu organs?", "template": "what is the cost of diagnosing nonsp abn find-gu organs?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'nonsp abn find-gu organs' ) )", "value": {"diagnosis_name": "nonsp abn find-gu organs"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa5b629b04576424ec29ac91"}, {"db_id": "mimic_iii", "question": "how much does the cost of a candidiasis of lung diagnosis cost?", "template": "what is the cost of diagnosing candidiasis of lung?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'candidiasis of lung' ) )", "value": {"diagnosis_name": "candidiasis of lung"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71a9587eac82383d6a464b55"}, {"db_id": "mimic_iii", "question": "what is the cost of a diagnosis for an volume depletion nos?", "template": "what is the cost of diagnosing volume depletion nos?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'volume depletion nos' ) )", "value": {"diagnosis_name": "volume depletion nos"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "91aa056b1cad1062bc164f6d"}, {"db_id": "mimic_iii", "question": "how much does it cost for a hx of kidney malignancy diagnosis?", "template": "what is the cost of diagnosing hx of kidney malignancy?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hx of kidney malignancy' ) )", "value": {"diagnosis_name": "hx of kidney malignancy"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a34f144552c38e64135cc13"}, {"db_id": "mimic_iii", "question": "what does it cost for an gastrostomy infection diagnosis?", "template": "what is the cost of diagnosing gastrostomy infection?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'gastrostomy infection' ) )", "value": {"diagnosis_name": "gastrostomy infection"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29a8d22f9d44afb99535065d"}, {"db_id": "mimic_iii", "question": "what is the cost of meningismus diagnostic?", "template": "what is the cost of diagnosing meningismus?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'meningismus' ) )", "value": {"diagnosis_name": "meningismus"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dac485a423817325be93ad58"}, {"db_id": "mimic_iii", "question": "how much does diagnosing a malig neopl kidney cost?", "template": "what is the cost of diagnosing malig neopl kidney?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'malig neopl kidney' ) )", "value": {"diagnosis_name": "malig neopl kidney"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e41f81afb4d3dfc9527a2a13"}, {"db_id": "mimic_iii", "question": "how much is the cost of a accid punc/op lac dura diagnosis?", "template": "what is the cost of diagnosing accid punc/op lac dura?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'accid punc/op lac dura' ) )", "value": {"diagnosis_name": "accid punc/op lac dura"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5255eba62e7466c3dca65b32"}, {"db_id": "mimic_iii", "question": "how much does a medical diagnosis of poisoning-barbiturates cost?", "template": "what is the cost of diagnosing poisoning-barbiturates?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'poisoning-barbiturates' ) )", "value": {"diagnosis_name": "poisoning-barbiturates"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56b679ef7cebded12ed74fcd"}, {"db_id": "mimic_iii", "question": "how much does it cost for staphylcocc septicem nos to be diagnosed?", "template": "what is the cost of diagnosing staphylcocc septicem nos?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'staphylcocc septicem nos' ) )", "value": {"diagnosis_name": "staphylcocc septicem nos"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a80082f56e72599092131d1e"}, {"db_id": "mimic_iii", "question": "what are the cost of diagnosis for h zoster complicated nec?", "template": "what is the cost of diagnosing h zoster complicated nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'h zoster complicated nec' ) )", "value": {"diagnosis_name": "h zoster complicated nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd4dc39d371421d8c73335a6"}, {"db_id": "mimic_iii", "question": "how much does it cost for a diagnosis of postablat hypothyr nec?", "template": "what is the cost of diagnosing postablat hypothyr nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'postablat hypothyr nec' ) )", "value": {"diagnosis_name": "postablat hypothyr nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a432d79d10f46abca919edaf"}, {"db_id": "mimic_iii", "question": "what is the cost of hx-female genit malg nec diagnostic tests?", "template": "what is the cost of diagnosing hx-female genit malg nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hx-female genit malg nec' ) )", "value": {"diagnosis_name": "hx-female genit malg nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03922fbba9264fc5320b887c"}, {"db_id": "mimic_iii", "question": "how much is the cost for diagnosis of long-term use of insulin?", "template": "what is the cost of diagnosing long-term use of insulin?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'long-term use of insulin' ) )", "value": {"diagnosis_name": "long-term use of insulin"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f56977341b0cb7bf0efad85"}, {"db_id": "mimic_iii", "question": "tell me the cost of a angioneurotic edema diagnosis?", "template": "what is the cost of diagnosing angioneurotic edema?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'angioneurotic edema' ) )", "value": {"diagnosis_name": "angioneurotic edema"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a80139511e56201f5bd4b71"}, {"db_id": "mimic_iii", "question": "how much is the cost of the atrophic vaginitis diagnosing?", "template": "what is the cost of diagnosing atrophic vaginitis?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'atrophic vaginitis' ) )", "value": {"diagnosis_name": "atrophic vaginitis"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e7d5d69fc4e6737e9dcd0ed"}, {"db_id": "mimic_iii", "question": "how much is the amyloidosis nec diagnostic cost?", "template": "what is the cost of diagnosing amyloidosis nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'amyloidosis nec' ) )", "value": {"diagnosis_name": "amyloidosis nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87b51c44b8add127cca204af"}, {"db_id": "mimic_iii", "question": "tell me the diagnosis price for pois-propionic acid derv?", "template": "what is the cost of diagnosing pois-propionic acid derv?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pois-propionic acid derv' ) )", "value": {"diagnosis_name": "pois-propionic acid derv"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca444d551362c778cf25a4c7"}, {"db_id": "mimic_iii", "question": "how much does diagnosis of true post infarct, init cost.", "template": "what is the cost of diagnosing true post infarct, init?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'true post infarct, init' ) )", "value": {"diagnosis_name": "true post infarct, init"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5099375c7f6322c0af27d1d"}, {"db_id": "mimic_iii", "question": "what is the price of diagnosis of uterine leiomyoma nos?", "template": "what is the cost of diagnosing uterine leiomyoma nos?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'uterine leiomyoma nos' ) )", "value": {"diagnosis_name": "uterine leiomyoma nos"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfa8f46481a839a6fa8c5742"}, {"db_id": "mimic_iii", "question": "how much does diagnostics of peritoneal abscess cost?", "template": "what is the cost of diagnosing peritoneal abscess?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'peritoneal abscess' ) )", "value": {"diagnosis_name": "peritoneal abscess"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fff507ffd6bc276a6962c133"}, {"db_id": "mimic_iii", "question": "how much do patients pay to get a diagnosis of atrophic vaginitis?", "template": "what is the cost of diagnosing atrophic vaginitis?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'atrophic vaginitis' ) )", "value": {"diagnosis_name": "atrophic vaginitis"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9b012a3b039727a18cea840"}, {"db_id": "mimic_iii", "question": "what does it cost to get sports acc w/o sub fall diagnosed?", "template": "what is the cost of diagnosing sports acc w/o sub fall?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'sports acc w/o sub fall' ) )", "value": {"diagnosis_name": "sports acc w/o sub fall"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c60fbead51b33cbbfe0c182f"}, {"db_id": "mimic_iii", "question": "what are the costs of pseudomonal pneumonia diagnosis?", "template": "what is the cost of diagnosing pseudomonal pneumonia?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pseudomonal pneumonia' ) )", "value": {"diagnosis_name": "pseudomonal pneumonia"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4c0e495d54369af09e6d0cc"}, {"db_id": "mimic_iii", "question": "what is the price of a diagnosis for uterine leiomyoma nos?", "template": "what is the cost of diagnosing uterine leiomyoma nos?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'uterine leiomyoma nos' ) )", "value": {"diagnosis_name": "uterine leiomyoma nos"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5620c868e85fec0882168e87"}, {"db_id": "mimic_iii", "question": "how much does diagnosing accident in place nec costs?", "template": "what is the cost of diagnosing accident in place nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'accident in place nec' ) )", "value": {"diagnosis_name": "accident in place nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8671bf1f3278f6bdb8ca3ae"}, {"db_id": "mimic_iii", "question": "how much does the cost of diagnosing dissect carotid artery cost?", "template": "what is the cost of diagnosing dissect carotid artery?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dissect carotid artery' ) )", "value": {"diagnosis_name": "dissect carotid artery"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57381d3dea674f996656a053"}, {"db_id": "mimic_iii", "question": "how much is a diagnosis of fx astragalus-closed going to cost?", "template": "what is the cost of diagnosing fx astragalus-closed?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'fx astragalus-closed' ) )", "value": {"diagnosis_name": "fx astragalus-closed"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "305495dc651ad4bb19d9dc37"}, {"db_id": "mimic_iii", "question": "how much is the diagnosis price for dvrtclo sml int w hmrhg.", "template": "what is the cost of diagnosing dvrtclo sml int w hmrhg?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dvrtclo sml int w hmrhg' ) )", "value": {"diagnosis_name": "dvrtclo sml int w hmrhg"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "183beafb73660285685ad9d5"}, {"db_id": "mimic_iii", "question": "how much do diagnosis of cardiac tamponade cost?", "template": "what is the cost of diagnosing cardiac tamponade?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cardiac tamponade' ) )", "value": {"diagnosis_name": "cardiac tamponade"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58f1b0e7c9b80753f47c2057"}, {"db_id": "mimic_iii", "question": "tell me the cost for the asbestosis diagnosis?", "template": "what is the cost of diagnosing asbestosis?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'asbestosis' ) )", "value": {"diagnosis_name": "asbestosis"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b420f7a64677316d2441f1c"}, {"db_id": "mimic_iii", "question": "how much do patients pay to get a diagnosis of cardiac tamponade?", "template": "what is the cost of diagnosing cardiac tamponade?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cardiac tamponade' ) )", "value": {"diagnosis_name": "cardiac tamponade"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5936b8110ff05d36ff1d5e17"}, {"db_id": "mimic_iii", "question": "whats the cost to get a hx-female genit malg nec diagnosis.", "template": "what is the cost of diagnosing hx-female genit malg nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hx-female genit malg nec' ) )", "value": {"diagnosis_name": "hx-female genit malg nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38fbbcdf51fde03d6adfb3e1"}, {"db_id": "mimic_iii", "question": "what does it cost for an dysthymic disorder diagnosis?", "template": "what is the cost of diagnosing dysthymic disorder?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dysthymic disorder' ) )", "value": {"diagnosis_name": "dysthymic disorder"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31a27d56ce7d7d9969753b73"}, {"db_id": "mimic_iii", "question": "what is the cost of a diagnosis of hx pulmonary embolism?", "template": "what is the cost of diagnosing hx pulmonary embolism?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hx pulmonary embolism' ) )", "value": {"diagnosis_name": "hx pulmonary embolism"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cab89cbf4c2c962c33b65b72"}, {"db_id": "mimic_iii", "question": "how much does the cost of a cholelith w ac cholecyst diagnosis cost?", "template": "what is the cost of diagnosing cholelith w ac cholecyst?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cholelith w ac cholecyst' ) )", "value": {"diagnosis_name": "cholelith w ac cholecyst"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84d592bcc5a4ea2b2871595c"}, {"db_id": "mimic_iii", "question": "how much is the cost of the long qt syndrome diagnosing?", "template": "what is the cost of diagnosing long qt syndrome?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'long qt syndrome' ) )", "value": {"diagnosis_name": "long qt syndrome"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "004b757959e7f0c17f540850"}, {"db_id": "mimic_iii", "question": "how much does it cost for a diagnosis of mixed acid-base bal dis?", "template": "what is the cost of diagnosing mixed acid-base bal dis?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mixed acid-base bal dis' ) )", "value": {"diagnosis_name": "mixed acid-base bal dis"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "531c2edc4346ab2a1f80e8bd"}, {"db_id": "mimic_iii", "question": "how much is the cost of the cholelith w ac cholecyst diagnosing?", "template": "what is the cost of diagnosing cholelith w ac cholecyst?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cholelith w ac cholecyst' ) )", "value": {"diagnosis_name": "cholelith w ac cholecyst"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3660d72755f629d4b4cf181e"}, {"db_id": "mimic_iii", "question": "what does it cost to get open wound of neck nec diagnosed?", "template": "what is the cost of diagnosing open wound of neck nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'open wound of neck nec' ) )", "value": {"diagnosis_name": "open wound of neck nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65cb8ec9b43c25a882ee6626"}, {"db_id": "mimic_iii", "question": "what are the costs of klebsiella pneumoniae diagnosis?", "template": "what is the cost of diagnosing klebsiella pneumoniae?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'klebsiella pneumoniae' ) )", "value": {"diagnosis_name": "klebsiella pneumoniae"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca35e7e8175a4c11c51c3476"}, {"db_id": "mimic_iii", "question": "whats the cost to get a idiopathic scoliosis diagnosis.", "template": "what is the cost of diagnosing idiopathic scoliosis?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'idiopathic scoliosis' ) )", "value": {"diagnosis_name": "idiopathic scoliosis"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e12503326f184aa6905e4b64"}, {"db_id": "mimic_iii", "question": "what is the price of diagnosis of contusion of thigh?", "template": "what is the cost of diagnosing contusion of thigh?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'contusion of thigh' ) )", "value": {"diagnosis_name": "contusion of thigh"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3729460b1932e11f2298424c"}, {"db_id": "mimic_iii", "question": "how much does it cost to check for anal fissure?", "template": "what is the cost of diagnosing anal fissure?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'anal fissure' ) )", "value": {"diagnosis_name": "anal fissure"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff59855826cf1a64b20ffa45"}, {"db_id": "mimic_iii", "question": "tell me the diagnosis cost of brain hem nec w/o coma in a patient?", "template": "what is the cost of diagnosing brain hem nec w/o coma?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'brain hem nec w/o coma' ) )", "value": {"diagnosis_name": "brain hem nec w/o coma"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4a944458208d263d23690e8"}, {"db_id": "mimic_iii", "question": "how much is the cost of a accident in place nec diagnosis?", "template": "what is the cost of diagnosing accident in place nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'accident in place nec' ) )", "value": {"diagnosis_name": "accident in place nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8093923dff09db183aa10e16"}, {"db_id": "mimic_iii", "question": "how much does it cost to check for choledochlith nos w obst?", "template": "what is the cost of diagnosing choledochlith nos w obst?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'choledochlith nos w obst' ) )", "value": {"diagnosis_name": "choledochlith nos w obst"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc3c870ea54383529a266d2b"}, {"db_id": "mimic_iii", "question": "tell me the cost for the dis of gallbladder nec diagnosis?", "template": "what is the cost of diagnosing dis of gallbladder nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dis of gallbladder nec' ) )", "value": {"diagnosis_name": "dis of gallbladder nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "526c39e67aeff9c845ead729"}, {"db_id": "mimic_iii", "question": "tell me the diagnosis price for other lung disease nec?", "template": "what is the cost of diagnosing other lung disease nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'other lung disease nec' ) )", "value": {"diagnosis_name": "other lung disease nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe3fb8bd7a728061d1fa1576"}, {"db_id": "mimic_iii", "question": "whats the cost to get a iatrogenc hypotnsion nec diagnosis.", "template": "what is the cost of diagnosing iatrogenc hypotnsion nec?", "query": "select distinct cost.cost from cost where cost.event_type = 'diagnoses_icd' and cost.event_id in ( select diagnoses_icd.row_id from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'iatrogenc hypotnsion nec' ) )", "value": {"diagnosis_name": "iatrogenc hypotnsion nec"}, "q_tag": "what is the cost of diagnosing {diagnosis_name}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the cost of diagnosing {diagnosis_name}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "898151dcc63a1f07cb5cce7a"}, {"db_id": "mimic_iii", "question": "sec malig neo sm bowel what does it stand for?", "template": "what does sec malig neo sm bowel stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'sec malig neo sm bowel' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'sec malig neo sm bowel'", "value": {"abbreviation": "sec malig neo sm bowel", "diagnosis_name": "sec malig neo sm bowel", "procedure_name": "sec malig neo sm bowel"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10b4812bde9c5e0482dd1b6e"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the opn wound extern ear nos?", "template": "what does opn wound extern ear nos stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'opn wound extern ear nos' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'opn wound extern ear nos'", "value": {"abbreviation": "opn wound extern ear nos", "diagnosis_name": "opn wound extern ear nos", "procedure_name": "opn wound extern ear nos"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1cc6d9d99961bb1c5d0871d6"}, {"db_id": "mimic_iii", "question": "whats the unabbreviated version of gstr mcsl hyprt w hmrg.", "template": "what does gstr mcsl hyprt w hmrg stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'gstr mcsl hyprt w hmrg' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'gstr mcsl hyprt w hmrg'", "value": {"abbreviation": "gstr mcsl hyprt w hmrg", "diagnosis_name": "gstr mcsl hyprt w hmrg", "procedure_name": "gstr mcsl hyprt w hmrg"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "be506a424645ec37aeb9b4b2"}, {"db_id": "mimic_iii", "question": "what exactly does cornea degeneration nec mean?", "template": "what does cornea degeneration nec stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cornea degeneration nec' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'cornea degeneration nec'", "value": {"abbreviation": "cornea degeneration nec", "diagnosis_name": "cornea degeneration nec", "procedure_name": "cornea degeneration nec"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c8a39cb50bdd5c8659a1eeb"}, {"db_id": "mimic_iii", "question": "dysphagia nec what does it stand for?", "template": "what does dysphagia nec stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dysphagia nec' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'dysphagia nec'", "value": {"abbreviation": "dysphagia nec", "diagnosis_name": "dysphagia nec", "procedure_name": "dysphagia nec"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d77ec3680b4a95cc3a6b5b9d"}, {"db_id": "mimic_iii", "question": "what exactly does inser bone stim-rad/ulna mean?", "template": "what does inser bone stim-rad/ulna stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'inser bone stim-rad/ulna' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'inser bone stim-rad/ulna'", "value": {"abbreviation": "inser bone stim-rad/ulna", "diagnosis_name": "inser bone stim-rad/ulna", "procedure_name": "inser bone stim-rad/ulna"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "77c3123597578b87e2547c2e"}, {"db_id": "mimic_iii", "question": "what exactly does adrenal gland anomaly mean?", "template": "what does adrenal gland anomaly stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'adrenal gland anomaly' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'adrenal gland anomaly'", "value": {"abbreviation": "adrenal gland anomaly", "diagnosis_name": "adrenal gland anomaly", "procedure_name": "adrenal gland anomaly"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c83167ad00e1e022364764ab"}, {"db_id": "mimic_iii", "question": "exceptionally large baby what does it stand for?", "template": "what does exceptionally large baby stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'exceptionally large baby' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'exceptionally large baby'", "value": {"abbreviation": "exceptionally large baby", "diagnosis_name": "exceptionally large baby", "procedure_name": "exceptionally large baby"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3634ff2555c405f1c3cdc30e"}, {"db_id": "mimic_iii", "question": "tb of organ nec-histo dx what does it stand for?", "template": "what does tb of organ nec-histo dx stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'tb of organ nec-histo dx' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'tb of organ nec-histo dx'", "value": {"abbreviation": "tb of organ nec-histo dx", "diagnosis_name": "tb of organ nec-histo dx", "procedure_name": "tb of organ nec-histo dx"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7170b646e7e3eb9422d469a9"}, {"db_id": "mimic_iii", "question": "what exactly does tb pneumonia-cult dx mean?", "template": "what does tb pneumonia-cult dx stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'tb pneumonia-cult dx' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'tb pneumonia-cult dx'", "value": {"abbreviation": "tb pneumonia-cult dx", "diagnosis_name": "tb pneumonia-cult dx", "procedure_name": "tb pneumonia-cult dx"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "11f8d80a6739f1e93df9d349"}, {"db_id": "mimic_iii", "question": "periph t cell lym abdom what does it stand for?", "template": "what does periph t cell lym abdom stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'periph t cell lym abdom' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'periph t cell lym abdom'", "value": {"abbreviation": "periph t cell lym abdom", "diagnosis_name": "periph t cell lym abdom", "procedure_name": "periph t cell lym abdom"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c314790817922cd3b43e0a07"}, {"db_id": "mimic_iii", "question": "what exactly does necator americanus mean?", "template": "what does necator americanus stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'necator americanus' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'necator americanus'", "value": {"abbreviation": "necator americanus", "diagnosis_name": "necator americanus", "procedure_name": "necator americanus"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8c24a772f4666063e4d25b9"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the cornea degeneration nec?", "template": "what does cornea degeneration nec stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cornea degeneration nec' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'cornea degeneration nec'", "value": {"abbreviation": "cornea degeneration nec", "diagnosis_name": "cornea degeneration nec", "procedure_name": "cornea degeneration nec"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36ebe919a3bc3b68a486dd7e"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the imp crtd sinus stm,totl?", "template": "what does imp crtd sinus stm,totl stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'imp crtd sinus stm,totl' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'imp crtd sinus stm,totl'", "value": {"abbreviation": "imp crtd sinus stm,totl", "diagnosis_name": "imp crtd sinus stm,totl", "procedure_name": "imp crtd sinus stm,totl"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8571514d5027199a9b808b6e"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the tb esophagus-histo dx?", "template": "what does tb esophagus-histo dx stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'tb esophagus-histo dx' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'tb esophagus-histo dx'", "value": {"abbreviation": "tb esophagus-histo dx", "diagnosis_name": "tb esophagus-histo dx", "procedure_name": "tb esophagus-histo dx"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0604ba504b4aacca577a14ff"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the tachypnea?", "template": "what does tachypnea stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'tachypnea' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'tachypnea'", "value": {"abbreviation": "tachypnea", "diagnosis_name": "tachypnea", "procedure_name": "tachypnea"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8acce00087006e08b5b39453"}, {"db_id": "mimic_iii", "question": "whats the unabbreviated version of bilat cleft palate-inc.", "template": "what does bilat cleft palate-inc stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'bilat cleft palate-inc' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'bilat cleft palate-inc'", "value": {"abbreviation": "bilat cleft palate-inc", "diagnosis_name": "bilat cleft palate-inc", "procedure_name": "bilat cleft palate-inc"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b4b92970d7d5d1c5a78e45c5"}, {"db_id": "mimic_iii", "question": "whats the unabbreviated version of chr lym leuk w rmsion.", "template": "what does chr lym leuk w rmsion stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chr lym leuk w rmsion' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'chr lym leuk w rmsion'", "value": {"abbreviation": "chr lym leuk w rmsion", "diagnosis_name": "chr lym leuk w rmsion", "procedure_name": "chr lym leuk w rmsion"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5d164fb19c290255ff24f0c"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the act lym leuk w rmsion?", "template": "what does act lym leuk w rmsion stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'act lym leuk w rmsion' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'act lym leuk w rmsion'", "value": {"abbreviation": "act lym leuk w rmsion", "diagnosis_name": "act lym leuk w rmsion", "procedure_name": "act lym leuk w rmsion"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b7866c6b807d276dd1ca60e9"}, {"db_id": "mimic_iii", "question": "mv traff acc-anim rider what does it stand for?", "template": "what does mv traff acc-anim rider stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mv traff acc-anim rider' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'mv traff acc-anim rider'", "value": {"abbreviation": "mv traff acc-anim rider", "diagnosis_name": "mv traff acc-anim rider", "procedure_name": "mv traff acc-anim rider"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6bb3e45024c30c3247179dd6"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the open wound of scalp?", "template": "what does open wound of scalp stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'open wound of scalp' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'open wound of scalp'", "value": {"abbreviation": "open wound of scalp", "diagnosis_name": "open wound of scalp", "procedure_name": "open wound of scalp"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9ccceba51908cc1409753a9"}, {"db_id": "mimic_iii", "question": "tox eff org lead compnd what does it stand for?", "template": "what does tox eff org lead compnd stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'tox eff org lead compnd' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'tox eff org lead compnd'", "value": {"abbreviation": "tox eff org lead compnd", "diagnosis_name": "tox eff org lead compnd", "procedure_name": "tox eff org lead compnd"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4bb1e51e1022a3794edb97a4"}, {"db_id": "mimic_iii", "question": "whats the unabbreviated version of blood inf dt cen ven cth.", "template": "what does blood inf dt cen ven cth stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'blood inf dt cen ven cth' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'blood inf dt cen ven cth'", "value": {"abbreviation": "blood inf dt cen ven cth", "diagnosis_name": "blood inf dt cen ven cth", "procedure_name": "blood inf dt cen ven cth"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ba2c4900066a92a03a9f986"}, {"db_id": "mimic_iii", "question": "what exactly does ileal conduitogram mean?", "template": "what does ileal conduitogram stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ileal conduitogram' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'ileal conduitogram'", "value": {"abbreviation": "ileal conduitogram", "diagnosis_name": "ileal conduitogram", "procedure_name": "ileal conduitogram"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b47c2352df273c32386690b"}, {"db_id": "mimic_iii", "question": "whats the unabbreviated version of inc/exc/destr in ear nec.", "template": "what does inc/exc/destr in ear nec stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'inc/exc/destr in ear nec' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'inc/exc/destr in ear nec'", "value": {"abbreviation": "inc/exc/destr in ear nec", "diagnosis_name": "inc/exc/destr in ear nec", "procedure_name": "inc/exc/destr in ear nec"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30406377ef3c8008963d9857"}, {"db_id": "mimic_iii", "question": "what exactly does late effect, terrorism mean?", "template": "what does late effect, terrorism stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'late effect, terrorism' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'late effect, terrorism'", "value": {"abbreviation": "late effect, terrorism", "diagnosis_name": "late effect, terrorism", "procedure_name": "late effect, terrorism"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e7676c5674358b53d2bdf46c"}, {"db_id": "mimic_iii", "question": "macrogenia what does it stand for?", "template": "what does macrogenia stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'macrogenia' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'macrogenia'", "value": {"abbreviation": "macrogenia", "diagnosis_name": "macrogenia", "procedure_name": "macrogenia"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ceef4f8b8089bb982d5f5b7"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the spon ab w compl nec-unsp?", "template": "what does spon ab w compl nec-unsp stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'spon ab w compl nec-unsp' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'spon ab w compl nec-unsp'", "value": {"abbreviation": "spon ab w compl nec-unsp", "diagnosis_name": "spon ab w compl nec-unsp", "procedure_name": "spon ab w compl nec-unsp"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "268fd8d2e9d983390c80bef5"}, {"db_id": "mimic_iii", "question": "what exactly does carbuncle, site nec mean?", "template": "what does carbuncle, site nec stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'carbuncle, site nec' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'carbuncle, site nec'", "value": {"abbreviation": "carbuncle, site nec", "diagnosis_name": "carbuncle, site nec", "procedure_name": "carbuncle, site nec"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78359be4b3298adf8d61f2ce"}, {"db_id": "mimic_iii", "question": "what exactly does multiparity mean?", "template": "what does multiparity stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'multiparity' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'multiparity'", "value": {"abbreviation": "multiparity", "diagnosis_name": "multiparity", "procedure_name": "multiparity"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cd03f36da414449e49e2e98"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the nephritis nos in oth dis?", "template": "what does nephritis nos in oth dis stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'nephritis nos in oth dis' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'nephritis nos in oth dis'", "value": {"abbreviation": "nephritis nos in oth dis", "diagnosis_name": "nephritis nos in oth dis", "procedure_name": "nephritis nos in oth dis"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31d24f12408a9a9becafd443"}, {"db_id": "mimic_iii", "question": "open wound axilla-compl what does it stand for?", "template": "what does open wound axilla-compl stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'open wound axilla-compl' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'open wound axilla-compl'", "value": {"abbreviation": "open wound axilla-compl", "diagnosis_name": "open wound axilla-compl", "procedure_name": "open wound axilla-compl"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4de562c44d44423178516c6e"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the necator americanus?", "template": "what does necator americanus stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'necator americanus' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'necator americanus'", "value": {"abbreviation": "necator americanus", "diagnosis_name": "necator americanus", "procedure_name": "necator americanus"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9edd65cbbb0fab9a1b8deb76"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the malig neopl pleura nos?", "template": "what does malig neopl pleura nos stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'malig neopl pleura nos' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'malig neopl pleura nos'", "value": {"abbreviation": "malig neopl pleura nos", "diagnosis_name": "malig neopl pleura nos", "procedure_name": "malig neopl pleura nos"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0eb61a7a1071750c3bf4d59c"}, {"db_id": "mimic_iii", "question": "whats the unabbreviated version of tb lung cavity-exam unkn.", "template": "what does tb lung cavity-exam unkn stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'tb lung cavity-exam unkn' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'tb lung cavity-exam unkn'", "value": {"abbreviation": "tb lung cavity-exam unkn", "diagnosis_name": "tb lung cavity-exam unkn", "procedure_name": "tb lung cavity-exam unkn"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8f85322b620fcb116ae2ec6"}, {"db_id": "mimic_iii", "question": "ab nos w compl nos-inc what does it stand for?", "template": "what does ab nos w compl nos-inc stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ab nos w compl nos-inc' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'ab nos w compl nos-inc'", "value": {"abbreviation": "ab nos w compl nos-inc", "diagnosis_name": "ab nos w compl nos-inc", "procedure_name": "ab nos w compl nos-inc"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec883ff803bd70d3656c93cd"}, {"db_id": "mimic_iii", "question": "what exactly does ftng oth cardiac device mean?", "template": "what does ftng oth cardiac device stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ftng oth cardiac device' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'ftng oth cardiac device'", "value": {"abbreviation": "ftng oth cardiac device", "diagnosis_name": "ftng oth cardiac device", "procedure_name": "ftng oth cardiac device"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4536bfdbd81da94873d8e1f5"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the acc poisoning-lead?", "template": "what does acc poisoning-lead stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'acc poisoning-lead' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'acc poisoning-lead'", "value": {"abbreviation": "acc poisoning-lead", "diagnosis_name": "acc poisoning-lead", "procedure_name": "acc poisoning-lead"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3b6245b7868bd0ede0f6ac2"}, {"db_id": "mimic_iii", "question": "whats the unabbreviated version of tox ef hydrocarb gas nec.", "template": "what does tox ef hydrocarb gas nec stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'tox ef hydrocarb gas nec' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'tox ef hydrocarb gas nec'", "value": {"abbreviation": "tox ef hydrocarb gas nec", "diagnosis_name": "tox ef hydrocarb gas nec", "procedure_name": "tox ef hydrocarb gas nec"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3dee279ab1f538e188d0f1e3"}, {"db_id": "mimic_iii", "question": "what exactly does somatization disorder mean?", "template": "what does somatization disorder stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'somatization disorder' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'somatization disorder'", "value": {"abbreviation": "somatization disorder", "diagnosis_name": "somatization disorder", "procedure_name": "somatization disorder"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd9f5fa09bf50d7468d87863"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the burn nos finger w thumb?", "template": "what does burn nos finger w thumb stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'burn nos finger w thumb' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'burn nos finger w thumb'", "value": {"abbreviation": "burn nos finger w thumb", "diagnosis_name": "burn nos finger w thumb", "procedure_name": "burn nos finger w thumb"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38d5090ee29707f390ba3eca"}, {"db_id": "mimic_iii", "question": "what is the unabbreviated version of the cord entangle nec-deliv?", "template": "what does cord entangle nec-deliv stand for?", "query": "select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cord entangle nec-deliv' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'cord entangle nec-deliv'", "value": {"abbreviation": "cord entangle nec-deliv", "diagnosis_name": "cord entangle nec-deliv", "procedure_name": "cord entangle nec-deliv"}, "q_tag": "what does {abbreviation} stand for?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what does {abbreviation} stand for?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad0b79c7a93a826148136001"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 24517?", "template": "what is the gender of patient 24517?", "query": "select patients.gender from patients where patients.subject_id = 24517", "value": {"patient_id": 24517}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "201075f53973891be67091af"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 26549.", "template": "what is the gender of patient 26549?", "query": "select patients.gender from patients where patients.subject_id = 26549", "value": {"patient_id": 26549}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a960d6e488f3f9192e0263d5"}, {"db_id": "mimic_iii", "question": "what are patient 59916's genders?", "template": "what is the gender of patient 59916?", "query": "select patients.gender from patients where patients.subject_id = 59916", "value": {"patient_id": 59916}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aeb5e53fec3ebeb8ce6c4c14"}, {"db_id": "mimic_iii", "question": "does patient 5905 have a male or female gender?", "template": "what is the gender of patient 5905?", "query": "select patients.gender from patients where patients.subject_id = 5905", "value": {"patient_id": 5905}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "adbb92187ffa798cfacc8fed"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 1862?", "template": "what is the gender of patient 1862?", "query": "select patients.gender from patients where patients.subject_id = 1862", "value": {"patient_id": 1862}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1aab57a3e927a31ff4cc3730"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 53176?", "template": "what is the gender of patient 53176?", "query": "select patients.gender from patients where patients.subject_id = 53176", "value": {"patient_id": 53176}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6f738c03ca81a7a264dbd97"}, {"db_id": "mimic_iii", "question": "what are patient 12775's genders?", "template": "what is the gender of patient 12775?", "query": "select patients.gender from patients where patients.subject_id = 12775", "value": {"patient_id": 12775}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8ad5a08d91dad68063f7841f"}, {"db_id": "mimic_iii", "question": "what are patient 655's genders?", "template": "what is the gender of patient 655?", "query": "select patients.gender from patients where patients.subject_id = 655", "value": {"patient_id": 655}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a077318d34d91e1bc7ca252"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 43779?", "template": "what is the gender of patient 43779?", "query": "select patients.gender from patients where patients.subject_id = 43779", "value": {"patient_id": 43779}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16de4290ab9b886e4125cb46"}, {"db_id": "mimic_iii", "question": "does patient 45612 have a male or female gender?", "template": "what is the gender of patient 45612?", "query": "select patients.gender from patients where patients.subject_id = 45612", "value": {"patient_id": 45612}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5402362348215da90e758959"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 55027.", "template": "what is the gender of patient 55027?", "query": "select patients.gender from patients where patients.subject_id = 55027", "value": {"patient_id": 55027}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "114cb70a6bdf6056b0605d42"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 14749?", "template": "what is the gender of patient 14749?", "query": "select patients.gender from patients where patients.subject_id = 14749", "value": {"patient_id": 14749}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f6ef42ece611882977addf18"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 3712.", "template": "what is the gender of patient 3712?", "query": "select patients.gender from patients where patients.subject_id = 3712", "value": {"patient_id": 3712}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c3e5cd35ff2de55beba99526"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 43052.", "template": "what is the gender of patient 43052?", "query": "select patients.gender from patients where patients.subject_id = 43052", "value": {"patient_id": 43052}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee8974513c43ceb52f96a255"}, {"db_id": "mimic_iii", "question": "does patient 23930 have a male or female gender?", "template": "what is the gender of patient 23930?", "query": "select patients.gender from patients where patients.subject_id = 23930", "value": {"patient_id": 23930}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4745b84665e051821972cc6"}, {"db_id": "mimic_iii", "question": "does patient 87733 have a male or female gender?", "template": "what is the gender of patient 87733?", "query": "select patients.gender from patients where patients.subject_id = 87733", "value": {"patient_id": 87733}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f73d32b61259a4ce742eb714"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 57899.", "template": "what is the gender of patient 57899?", "query": "select patients.gender from patients where patients.subject_id = 57899", "value": {"patient_id": 57899}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dccf8eb7d3d9ecf25d5da897"}, {"db_id": "mimic_iii", "question": "what are patient 61751's genders?", "template": "what is the gender of patient 61751?", "query": "select patients.gender from patients where patients.subject_id = 61751", "value": {"patient_id": 61751}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "49e10e4a22258ad0802c0054"}, {"db_id": "mimic_iii", "question": "does patient 23475 have a male or female gender?", "template": "what is the gender of patient 23475?", "query": "select patients.gender from patients where patients.subject_id = 23475", "value": {"patient_id": 23475}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4c80dc5ff5828fa86ced610"}, {"db_id": "mimic_iii", "question": "what are patient 25869's genders?", "template": "what is the gender of patient 25869?", "query": "select patients.gender from patients where patients.subject_id = 25869", "value": {"patient_id": 25869}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5427cf93bf5ae8be83eb0ae"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 15760?", "template": "what is the gender of patient 15760?", "query": "select patients.gender from patients where patients.subject_id = 15760", "value": {"patient_id": 15760}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bac52be8032fec7d5dffc352"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 22315?", "template": "what is the gender of patient 22315?", "query": "select patients.gender from patients where patients.subject_id = 22315", "value": {"patient_id": 22315}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22efcdd791fe253702845816"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 5310.", "template": "what is the gender of patient 5310?", "query": "select patients.gender from patients where patients.subject_id = 5310", "value": {"patient_id": 5310}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2a9e83b809842aaaeb11cb0"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 97734?", "template": "what is the gender of patient 97734?", "query": "select patients.gender from patients where patients.subject_id = 97734", "value": {"patient_id": 97734}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "91347031651c021ecad6a8bc"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 68641?", "template": "what is the gender of patient 68641?", "query": "select patients.gender from patients where patients.subject_id = 68641", "value": {"patient_id": 68641}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b0ebc1d836d4c77e967b929"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 14467.", "template": "what is the gender of patient 14467?", "query": "select patients.gender from patients where patients.subject_id = 14467", "value": {"patient_id": 14467}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "790d3ecf58182a796356837f"}, {"db_id": "mimic_iii", "question": "whats the sex of patient 25869?", "template": "what is the gender of patient 25869?", "query": "select patients.gender from patients where patients.subject_id = 25869", "value": {"patient_id": 25869}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32ed05549f9a876ff730ae6e"}, {"db_id": "mimic_iii", "question": "does patient 15760 have a male or female gender?", "template": "what is the gender of patient 15760?", "query": "select patients.gender from patients where patients.subject_id = 15760", "value": {"patient_id": 15760}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9f43332d75377c8134a4780"}, {"db_id": "mimic_iii", "question": "does patient 12917 have a male or female gender?", "template": "what is the gender of patient 12917?", "query": "select patients.gender from patients where patients.subject_id = 12917", "value": {"patient_id": 12917}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58e9f628d986087491aac20d"}, {"db_id": "mimic_iii", "question": "what are patient 26793's genders?", "template": "what is the gender of patient 26793?", "query": "select patients.gender from patients where patients.subject_id = 26793", "value": {"patient_id": 26793}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "08340726db8f6a1116594967"}, {"db_id": "mimic_iii", "question": "what are patient 70709's genders?", "template": "what is the gender of patient 70709?", "query": "select patients.gender from patients where patients.subject_id = 70709", "value": {"patient_id": 70709}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d93058c12f048d80eaae1c99"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 49140.", "template": "what is the gender of patient 49140?", "query": "select patients.gender from patients where patients.subject_id = 49140", "value": {"patient_id": 49140}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a62e2920c5009af5a3a3841"}, {"db_id": "mimic_iii", "question": "does patient 61749 have a male or female gender?", "template": "what is the gender of patient 61749?", "query": "select patients.gender from patients where patients.subject_id = 61749", "value": {"patient_id": 61749}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "94b911b2b14a6b38b4d8b5df"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 24330.", "template": "what is the gender of patient 24330?", "query": "select patients.gender from patients where patients.subject_id = 24330", "value": {"patient_id": 24330}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4031e5f9f8bc4dab82e76a49"}, {"db_id": "mimic_iii", "question": "what are patient 7524's genders?", "template": "what is the gender of patient 7524?", "query": "select patients.gender from patients where patients.subject_id = 7524", "value": {"patient_id": 7524}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9590cd9048e7511c6e900b83"}, {"db_id": "mimic_iii", "question": "does patient 53443 have a male or female gender?", "template": "what is the gender of patient 53443?", "query": "select patients.gender from patients where patients.subject_id = 53443", "value": {"patient_id": 53443}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f906175c07c3bb709c240df"}, {"db_id": "mimic_iii", "question": "does patient 25997 have a male or female gender?", "template": "what is the gender of patient 25997?", "query": "select patients.gender from patients where patients.subject_id = 25997", "value": {"patient_id": 25997}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6204e3eb4fb2e612284e522d"}, {"db_id": "mimic_iii", "question": "what are patient 25815's genders?", "template": "what is the gender of patient 25815?", "query": "select patients.gender from patients where patients.subject_id = 25815", "value": {"patient_id": 25815}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e9b52c52f9d427b2bf584ff"}, {"db_id": "mimic_iii", "question": "tell me the sex of patient 29806.", "template": "what is the gender of patient 29806?", "query": "select patients.gender from patients where patients.subject_id = 29806", "value": {"patient_id": 29806}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8454585b8ca166b9939f7711"}, {"db_id": "mimic_iii", "question": "what are patient 8204's genders?", "template": "what is the gender of patient 8204?", "query": "select patients.gender from patients where patients.subject_id = 8204", "value": {"patient_id": 8204}, "q_tag": "what is the gender of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the gender of patient {patient_id}?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2cfacb9d5b3047949bf93660"}, {"db_id": "mimic_iii", "question": "tell me the birth date of patient 88409?", "template": "what is the date of birth of patient 88409?", "query": "select patients.dob from patients where patients.subject_id = 88409", "value": {"patient_id": 88409}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cbbf389620cd370f7c6c708a"}, {"db_id": "mimic_iii", "question": "what is the date of birth for patient 16368?", "template": "what is the date of birth of patient 16368?", "query": "select patients.dob from patients where patients.subject_id = 16368", "value": {"patient_id": 16368}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a97610737c664ec2bdfb1ca0"}, {"db_id": "mimic_iii", "question": "tell me the date of patient 6940's birth?", "template": "what is the date of birth of patient 6940?", "query": "select patients.dob from patients where patients.subject_id = 6940", "value": {"patient_id": 6940}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f26f9def3073afd6b2dc2504"}, {"db_id": "mimic_iii", "question": "when is the birthday of patient 61527?", "template": "what is the date of birth of patient 61527?", "query": "select patients.dob from patients where patients.subject_id = 61527", "value": {"patient_id": 61527}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9dce203776ce097bbf52c610"}, {"db_id": "mimic_iii", "question": "tell me the birthdate of patient 18726?", "template": "what is the date of birth of patient 18726?", "query": "select patients.dob from patients where patients.subject_id = 18726", "value": {"patient_id": 18726}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e1486b7c28196294b775ab4"}, {"db_id": "mimic_iii", "question": "when patient 19096's birthday is?", "template": "what is the date of birth of patient 19096?", "query": "select patients.dob from patients where patients.subject_id = 19096", "value": {"patient_id": 19096}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0626fb4a20a4f74325417cda"}, {"db_id": "mimic_iii", "question": "what are the birth dates of patient 26262?", "template": "what is the date of birth of patient 26262?", "query": "select patients.dob from patients where patients.subject_id = 26262", "value": {"patient_id": 26262}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea36051aa9a1b91509f8ebce"}, {"db_id": "mimic_iii", "question": "when's patient 97834's birthday?", "template": "what is the date of birth of patient 97834?", "query": "select patients.dob from patients where patients.subject_id = 97834", "value": {"patient_id": 97834}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd3c6b4ad9fd5fa046a1777c"}, {"db_id": "mimic_iii", "question": "what's the date of patient 60572's birth?", "template": "what is the date of birth of patient 60572?", "query": "select patients.dob from patients where patients.subject_id = 60572", "value": {"patient_id": 60572}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33966e102ef605b9ba65cfc4"}, {"db_id": "mimic_iii", "question": "what's the date of birth for patient 30614?", "template": "what is the date of birth of patient 30614?", "query": "select patients.dob from patients where patients.subject_id = 30614", "value": {"patient_id": 30614}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7caac1ca9069acf120ada24b"}, {"db_id": "mimic_iii", "question": "what's the date of the birth of patient 7524?", "template": "what is the date of birth of patient 7524?", "query": "select patients.dob from patients where patients.subject_id = 7524", "value": {"patient_id": 7524}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75960a2731716a1f5c9408fc"}, {"db_id": "mimic_iii", "question": "what date is patient 83038's birthday?", "template": "what is the date of birth of patient 83038?", "query": "select patients.dob from patients where patients.subject_id = 83038", "value": {"patient_id": 83038}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ea79d261bc7179fffe58480"}, {"db_id": "mimic_iii", "question": "what's the date of patient 20589's birth?", "template": "what is the date of birth of patient 20589?", "query": "select patients.dob from patients where patients.subject_id = 20589", "value": {"patient_id": 20589}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ecedaa3a30c10bce8a99050c"}, {"db_id": "mimic_iii", "question": "what is the date of birth for patient 81546?", "template": "what is the date of birth of patient 81546?", "query": "select patients.dob from patients where patients.subject_id = 81546", "value": {"patient_id": 81546}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "27826df884b68f4c9acf8d06"}, {"db_id": "mimic_iii", "question": "tell me the birth date of patient 57899?", "template": "what is the date of birth of patient 57899?", "query": "select patients.dob from patients where patients.subject_id = 57899", "value": {"patient_id": 57899}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8dce6ceeb95c7b179d1cf5d2"}, {"db_id": "mimic_iii", "question": "when's patient 73693's birthday?", "template": "what is the date of birth of patient 73693?", "query": "select patients.dob from patients where patients.subject_id = 73693", "value": {"patient_id": 73693}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad3de7f574dc0d5677194328"}, {"db_id": "mimic_iii", "question": "what's the date of patient 1819's birth?", "template": "what is the date of birth of patient 1819?", "query": "select patients.dob from patients where patients.subject_id = 1819", "value": {"patient_id": 1819}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b2e646be2dd62d74194ceef2"}, {"db_id": "mimic_iii", "question": "when's patient 15125's birthday?", "template": "what is the date of birth of patient 15125?", "query": "select patients.dob from patients where patients.subject_id = 15125", "value": {"patient_id": 15125}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f0cbbaa00e60325701ddf524"}, {"db_id": "mimic_iii", "question": "tell me the date of patient 76494's birth?", "template": "what is the date of birth of patient 76494?", "query": "select patients.dob from patients where patients.subject_id = 76494", "value": {"patient_id": 76494}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "07ed8855bb4ae83e4b1886aa"}, {"db_id": "mimic_iii", "question": "when is the birthday of patient 63049?", "template": "what is the date of birth of patient 63049?", "query": "select patients.dob from patients where patients.subject_id = 63049", "value": {"patient_id": 63049}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43bb2658862eac6c10697365"}, {"db_id": "mimic_iii", "question": "what date is patient 5658's birthday?", "template": "what is the date of birth of patient 5658?", "query": "select patients.dob from patients where patients.subject_id = 5658", "value": {"patient_id": 5658}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8084219e24aa49c029927973"}, {"db_id": "mimic_iii", "question": "tell me the birth date of patient 53089?", "template": "what is the date of birth of patient 53089?", "query": "select patients.dob from patients where patients.subject_id = 53089", "value": {"patient_id": 53089}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22eea421ecbb8a7e2ec73d1e"}, {"db_id": "mimic_iii", "question": "what's the date of patient 61527's birth?", "template": "what is the date of birth of patient 61527?", "query": "select patients.dob from patients where patients.subject_id = 61527", "value": {"patient_id": 61527}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4b328f71d7fffa70ad99a24b"}, {"db_id": "mimic_iii", "question": "what's the date of birth for patient 96833?", "template": "what is the date of birth of patient 96833?", "query": "select patients.dob from patients where patients.subject_id = 96833", "value": {"patient_id": 96833}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5ad250732f7722d2b078922"}, {"db_id": "mimic_iii", "question": "tell me the birth date of patient 19096?", "template": "what is the date of birth of patient 19096?", "query": "select patients.dob from patients where patients.subject_id = 19096", "value": {"patient_id": 19096}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b607f0bbc46ec3720e572f09"}, {"db_id": "mimic_iii", "question": "tell me the birthdate of patient 61527?", "template": "what is the date of birth of patient 61527?", "query": "select patients.dob from patients where patients.subject_id = 61527", "value": {"patient_id": 61527}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dde9bb86221553b0a2e8c501"}, {"db_id": "mimic_iii", "question": "tell me the birth date of patient 23002?", "template": "what is the date of birth of patient 23002?", "query": "select patients.dob from patients where patients.subject_id = 23002", "value": {"patient_id": 23002}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f980da9ff8a18822909681f"}, {"db_id": "mimic_iii", "question": "what's the date of patient 8991's birth?", "template": "what is the date of birth of patient 8991?", "query": "select patients.dob from patients where patients.subject_id = 8991", "value": {"patient_id": 8991}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8912fc8a67c747585817696f"}, {"db_id": "mimic_iii", "question": "tell me the birthdate of patient 19175?", "template": "what is the date of birth of patient 19175?", "query": "select patients.dob from patients where patients.subject_id = 19175", "value": {"patient_id": 19175}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "315be12f57ae80bf323b6108"}, {"db_id": "mimic_iii", "question": "what date is patient 76327's birthday?", "template": "what is the date of birth of patient 76327?", "query": "select patients.dob from patients where patients.subject_id = 76327", "value": {"patient_id": 76327}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8f33b394f411c39da0e3924"}, {"db_id": "mimic_iii", "question": "what's the date of patient 14611's birth?", "template": "what is the date of birth of patient 14611?", "query": "select patients.dob from patients where patients.subject_id = 14611", "value": {"patient_id": 14611}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9845ac07d30744b76b037803"}, {"db_id": "mimic_iii", "question": "tell me the birth date of patient 366?", "template": "what is the date of birth of patient 366?", "query": "select patients.dob from patients where patients.subject_id = 366", "value": {"patient_id": 366}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f3480d7fd190ab2aebee7728"}, {"db_id": "mimic_iii", "question": "what's the date of the birth of patient 24330?", "template": "what is the date of birth of patient 24330?", "query": "select patients.dob from patients where patients.subject_id = 24330", "value": {"patient_id": 24330}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f261628dde9cff85602c381e"}, {"db_id": "mimic_iii", "question": "when patient 24330's birthday is?", "template": "what is the date of birth of patient 24330?", "query": "select patients.dob from patients where patients.subject_id = 24330", "value": {"patient_id": 24330}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10e1546caccfef5febcd932d"}, {"db_id": "mimic_iii", "question": "what's the date of patient 3939's birth?", "template": "what is the date of birth of patient 3939?", "query": "select patients.dob from patients where patients.subject_id = 3939", "value": {"patient_id": 3939}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d39bd1d64b83f1a292884bd"}, {"db_id": "mimic_iii", "question": "when's patient 91004's birthday?", "template": "what is the date of birth of patient 91004?", "query": "select patients.dob from patients where patients.subject_id = 91004", "value": {"patient_id": 91004}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a6d7c79eff28029b09a61c8"}, {"db_id": "mimic_iii", "question": "tell me the birth date of patient 1819?", "template": "what is the date of birth of patient 1819?", "query": "select patients.dob from patients where patients.subject_id = 1819", "value": {"patient_id": 1819}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c44ae9fa575eab71a3a9ef9"}, {"db_id": "mimic_iii", "question": "what are the birth dates of patient 25847?", "template": "what is the date of birth of patient 25847?", "query": "select patients.dob from patients where patients.subject_id = 25847", "value": {"patient_id": 25847}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca68018a8bb1bad410ef3756"}, {"db_id": "mimic_iii", "question": "when patient 67005's birthday is?", "template": "what is the date of birth of patient 67005?", "query": "select patients.dob from patients where patients.subject_id = 67005", "value": {"patient_id": 67005}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb88dc78e3bfa22e88e0b9e4"}, {"db_id": "mimic_iii", "question": "what are the birth dates of patient 28600?", "template": "what is the date of birth of patient 28600?", "query": "select patients.dob from patients where patients.subject_id = 28600", "value": {"patient_id": 28600}, "q_tag": "what is the date of birth of patient {patient_id}?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the date of birth of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d61e1f2115a5981bc3e0af53"}, {"db_id": "mimic_iii", "question": "calculate the total length of patient 60142's first hospital stay.", "template": "what was the first length of hospital stay of patient 60142?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 60142 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 60142}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ede4d80cbbd31c80cf9d38c"}, {"db_id": "mimic_iii", "question": "calculate the length of stay of patient 82159 during his first hospital stay.", "template": "what was the first length of hospital stay of patient 82159?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 82159 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 82159}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd151cd8268174fa6dae7e83"}, {"db_id": "mimic_iii", "question": "tell me the duration of patient 23224's first stay in the hospital.", "template": "what was the first length of hospital stay of patient 23224?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 23224 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 23224}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97328033f2d1fc4d4d8ed4c4"}, {"db_id": "mimic_iii", "question": "calculate the length of stay of patient 15135 during the last hospital stay.", "template": "what was the last length of hospital stay of patient 15135?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 15135 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 15135}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "285e25b2209815f682eb3813"}, {"db_id": "mimic_iii", "question": "calculate the length of stay of the first hospital stay of patient 41014.", "template": "what was the first length of hospital stay of patient 41014?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 41014 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 41014}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54e919142503a5307206d7fe"}, {"db_id": "mimic_iii", "question": "calculate the length of the first hospital stay of patient 65883.", "template": "what was the first length of hospital stay of patient 65883?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 65883 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 65883}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c0902865390ff8934a6e1ac4"}, {"db_id": "mimic_iii", "question": "what is the length of patient 60180's first hospital stay?", "template": "what was the first length of hospital stay of patient 60180?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 60180 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 60180}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a19f114f3128f3b64e386d20"}, {"db_id": "mimic_iii", "question": "calculate patient 59049's length of stay during his first hospital stay.", "template": "what was the first length of hospital stay of patient 59049?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 59049 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 59049}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d92c8fedcdb58e0254b0a97"}, {"db_id": "mimic_iii", "question": "what is patient 6580's length of stay of the first hospital stay.", "template": "what was the first length of hospital stay of patient 6580?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 6580 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 6580}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "872c04bcf52067c7fe100e4b"}, {"db_id": "mimic_iii", "question": "how long did patient 32486's first stay stay in the hospital?", "template": "what was the first length of hospital stay of patient 32486?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 32486 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 32486}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f6cf5cf21d0a918967e562c"}, {"db_id": "mimic_iii", "question": "what was the length of stay in patient 26195's first hospital stay?", "template": "what was the first length of hospital stay of patient 26195?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 26195 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 26195}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "67102b83e7b792ad27c68151"}, {"db_id": "mimic_iii", "question": "how long was patient 7959's last stay in the hospital.", "template": "what was the last length of hospital stay of patient 7959?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 7959 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 7959}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fafed78ab22b71eb1edf4529"}, {"db_id": "mimic_iii", "question": "calculate the duration of hospital stay of patient 23760's last hospital stay.", "template": "what was the last length of hospital stay of patient 23760?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 23760 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 23760}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69236c9c8834c2f871fe055c"}, {"db_id": "mimic_iii", "question": "how long was the last of patient 82159's stay in the hospital?", "template": "what was the last length of hospital stay of patient 82159?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 82159 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 82159}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dda58394674f8f51d357bc1b"}, {"db_id": "mimic_iii", "question": "calculate the length of patient 7959's stay for the last hospital stay.", "template": "what was the last length of hospital stay of patient 7959?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 7959 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 7959}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a61a10eccc1eee0eb109bbcd"}, {"db_id": "mimic_iii", "question": "tell me what the length of stay was for patient 85169's first hospital stay.", "template": "what was the first length of hospital stay of patient 85169?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 85169 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 85169}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2465f3fb32d29ad669d272d1"}, {"db_id": "mimic_iii", "question": "show me the duration of patient 20862's hospital stay for the first hospital stay.", "template": "what was the first length of hospital stay of patient 20862?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 20862 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 20862}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ffd3dfb23c478098ac1627e"}, {"db_id": "mimic_iii", "question": "how long was the first stay of patient 98015 in the hospital?", "template": "what was the first length of hospital stay of patient 98015?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 98015 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 98015}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "479bfc604638005ef171deda"}, {"db_id": "mimic_iii", "question": "calculate the duration of patient 41014's first hospital stay.", "template": "what was the first length of hospital stay of patient 41014?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 41014 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 41014}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51867187382260a798457c07"}, {"db_id": "mimic_iii", "question": "what was the length of stay of patient 15135's last hospital stay?", "template": "what was the last length of hospital stay of patient 15135?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 15135 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 15135}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ddcfa775c0b0e1f78a983e33"}, {"db_id": "mimic_iii", "question": "how long was patient 78076's last stay in hospital?", "template": "what was the last length of hospital stay of patient 78076?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 78076 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 78076}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7518e032d446c5e9a4d4cf97"}, {"db_id": "mimic_iii", "question": "calculate the duration of patient 23224's last hospital stay.", "template": "what was the last length of hospital stay of patient 23224?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 23224 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 23224}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f95d44ed48cdc179558b35c"}, {"db_id": "mimic_iii", "question": "how long was the first stay in the hospital of patient 52898?", "template": "what was the first length of hospital stay of patient 52898?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 52898 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 52898}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b6d0ad01344ae370e301269"}, {"db_id": "mimic_iii", "question": "how long does patient 8562 stay in hospital for the first time.", "template": "what was the first length of hospital stay of patient 8562?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 8562 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 8562}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6babaa797fb929e4274ac03"}, {"db_id": "mimic_iii", "question": "what is patient 3745's length of stay of the last hospital stay?", "template": "what was the last length of hospital stay of patient 3745?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 3745 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 3745}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "450b3fcc9cc1824f8571641b"}, {"db_id": "mimic_iii", "question": "how long is the last hospital stay of patient 9038?", "template": "what was the last length of hospital stay of patient 9038?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 9038 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 9038}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f694688bbae5b6f2b8ae365a"}, {"db_id": "mimic_iii", "question": "how long did patient 26195 first stay in the hospital?", "template": "what was the first length of hospital stay of patient 26195?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 26195 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 26195}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d9c1d57a006b2660b813e1ce"}, {"db_id": "mimic_iii", "question": "how long was the first hospital stay of patient 65883?", "template": "what was the first length of hospital stay of patient 65883?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 65883 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 65883}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d5c62eac353dd85459ce2f8"}, {"db_id": "mimic_iii", "question": "tell me how long patient 11362 stayed in the hospital last time.", "template": "what was the last length of hospital stay of patient 11362?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 11362 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 11362}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d404b0136ac6a4e88ed487ba"}, {"db_id": "mimic_iii", "question": "calculate the length of hospital stay of the first hospital stay of patient 74716.", "template": "what was the first length of hospital stay of patient 74716?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 74716 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 74716}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1ad8aa0f97d64bf73ac5b4e8"}, {"db_id": "mimic_iii", "question": "what was the length of stay in patient 30789's last hospital stay?", "template": "what was the last length of hospital stay of patient 30789?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 30789 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 30789}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "392b15ff719ead4a11fa5fe5"}, {"db_id": "mimic_iii", "question": "tell me how long patient 3745 stayed in the hospital last time.", "template": "what was the last length of hospital stay of patient 3745?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 3745 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 3745}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97742043cd30e95f5eda50bd"}, {"db_id": "mimic_iii", "question": "calculate patient 7375's length of stay during his first hospital stay.", "template": "what was the first length of hospital stay of patient 7375?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 7375 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 7375}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4329669028efce8a99b4b6d"}, {"db_id": "mimic_iii", "question": "calculate the length of the hospital stay of patient 77980 for the first hospital stay.", "template": "what was the first length of hospital stay of patient 77980?", "query": "select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 77980 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 77980}, "q_tag": "what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of hospital stay of patient {patient_id}?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca77689e92953807a8df4042"}, {"db_id": "mimic_iii", "question": "how much is the difference in body weight of patient 12726 last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the weight of patient 12726 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 12726}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca779e3add56f7ce8437f6ac"}, {"db_id": "mimic_iii", "question": "how much of a change is patient 19161's weight change second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the weight of patient 19161 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19161 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19161 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 19161}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2657cff199f03b4872ee38c0"}, {"db_id": "mimic_iii", "question": "what difference in weight did patient 8016 have second measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the weight of patient 8016 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 8016}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0afd0c35d5c7b3f4f1303541"}, {"db_id": "mimic_iii", "question": "what difference in weight was there in patient 25461 last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 25461 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 25461}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71787ac73e3b7a5390840b8a"}, {"db_id": "mimic_iii", "question": "what is the variation of patient 594's weight last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "template": "what is the change in the weight of patient 594 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 594}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b769a87ae08b925b127e1f63"}, {"db_id": "mimic_iii", "question": "show the change in weight of patient 23070's measured at 2105-12-12 04:00:00 compared to the value measured at 2105-12-08 03:00:00?", "template": "what is the change in the weight of patient 23070 from the value measured at 2105-12-12 04:00:00 compared to the value measured at 2105-12-08 03:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-12 04:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-08 03:00:00' )", "value": {"patient_id": 23070}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ab3f7016325e3c9a35d8fdb"}, {"db_id": "mimic_iii", "question": "how much is the change in weight of patient 739 measured at 2105-12-31 16:30:00 compared to the value measured at 2105-12-30 04:00:00?", "template": "what is the change in the weight of patient 739 from the value measured at 2105-12-31 16:30:00 compared to the value measured at 2105-12-30 04:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-31 16:30:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-30 04:00:00' )", "value": {"patient_id": 739}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d43171ebeffea8831ee3f316"}, {"db_id": "mimic_iii", "question": "how much weight has change of patient 6170 second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the weight of patient 6170 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 6170}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d25e017e4b671001b426e54e"}, {"db_id": "mimic_iii", "question": "what is the difference in the weight of patient 594's last measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the weight of patient 594 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 594}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e00b23dc65536d19df7a12c"}, {"db_id": "mimic_iii", "question": "what is a weight difference of patient 5849 second measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the weight of patient 5849 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5849 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5849 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 5849}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9259f4440176cffbb886b1a8"}, {"db_id": "mimic_iii", "question": "how many changes in patient 22204's weight last measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the weight of patient 22204 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22204 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22204 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 22204}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d99ed96e8111d05ee563afa9"}, {"db_id": "mimic_iii", "question": "what was the difference in weight of patient 14987 second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 14987 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14987 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14987 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14987}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a425086888236506ab88db4"}, {"db_id": "mimic_iii", "question": "how much does patient 15794 change in weight last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the weight of patient 15794 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 15794}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "006e8143fdeca234beb4c132"}, {"db_id": "mimic_iii", "question": "how much are patient 6215's weight change second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 6215 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6215 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6215 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 6215}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45e5049b75e11eb6fc16221e"}, {"db_id": "mimic_iii", "question": "how much changes in the weight of patient 28966 last measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "template": "what is the change in the weight of patient 28966 from the last value measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28966}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aef53bf31b1c3e3b3441b2b9"}, {"db_id": "mimic_iii", "question": "what are the weight changes in patient 15447's second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the weight of patient 15447 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 15447}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b729f1e4b512478a268d44d"}, {"db_id": "mimic_iii", "question": "what is the change in weight of patient 21454 second measured on the first hospital visit compared to the value first measured on the first hospital visit.", "template": "what is the change in the weight of patient 21454 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21454 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21454 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 21454}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7105428f2f17d3cdccc57360"}, {"db_id": "mimic_iii", "question": "what was the difference in the weight of patient 2518 measured at 2105-12-30 09:00:00 compared to the value measured at 2105-12-29 21:00:00.", "template": "what is the change in the weight of patient 2518 from the value measured at 2105-12-30 09:00:00 compared to the value measured at 2105-12-29 21:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-30 09:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-29 21:00:00' )", "value": {"patient_id": 2518}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9b0281feababff91551c47a"}, {"db_id": "mimic_iii", "question": "show the weight changes of patient 14987 last measured on the first hospital visit compared to the value second to last measured on the first hospital visit?", "template": "what is the change in the weight of patient 14987 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14987 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14987 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 14987}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a44ea4a5aa199738eadca7e"}, {"db_id": "mimic_iii", "question": "how much is patient 10855's difference in weight last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the weight of patient 10855 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 10855}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d5d5a1914158e4a3de82301"}, {"db_id": "mimic_iii", "question": "how much has patient 27703's change of weight last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 27703 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 27703}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf75844dd737665f9b801fbc"}, {"db_id": "mimic_iii", "question": "how much does the weight of patient 12410 vary last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 12410 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12410 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12410 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 12410}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "031a881109f63b99e82a5909"}, {"db_id": "mimic_iii", "question": "how much of a difference is there in patient 2518's weight last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the weight of patient 2518 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 2518}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "369013cd9984aed1416d7d17"}, {"db_id": "mimic_iii", "question": "how much weight has changed in patient 15447 second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the weight of patient 15447 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 15447}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34b1ec1a7aa6faa2451b1643"}, {"db_id": "mimic_iii", "question": "how much was patient 15794's weight changed second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the weight of patient 15794 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 15794}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36e85be9b71b3b2e9e71c1ba"}, {"db_id": "mimic_iii", "question": "what is the change in the body weight of patient 14836 second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 14836 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14836 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14836 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14836}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8976af64a0785f24df305f26"}, {"db_id": "mimic_iii", "question": "how much is the change of weight of patient 17638 last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the weight of patient 17638 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17638 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17638 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 17638}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37bcb5b8e10872f9bb7f4203"}, {"db_id": "mimic_iii", "question": "how much different does patient 9297's weight differ last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "template": "what is the change in the weight of patient 9297 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9297 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9297 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 9297}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e574d0788cab1437f13773b4"}, {"db_id": "mimic_iii", "question": "what are patient 14962's changes in weight last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 14962 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14962 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14962 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14962}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7cdd0277e6713eb78b8e90a4"}, {"db_id": "mimic_iii", "question": "how much is the change in the weight of patient 25754 last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the weight of patient 25754 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25754 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25754 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 25754}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "531b5d50bba1b12fb299902f"}, {"db_id": "mimic_iii", "question": "how much is the difference of weights of patient 2518 second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the weight of patient 2518 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 2518}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da64178aae0d07c45553237d"}, {"db_id": "mimic_iii", "question": "how much did patient 23070's weight differ from the value measured at 2105-12-12 04:00:00 compared to the value measured at 2105-12-08 03:00:00?", "template": "what is the change in the weight of patient 23070 from the value measured at 2105-12-12 04:00:00 compared to the value measured at 2105-12-08 03:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-12 04:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-08 03:00:00' )", "value": {"patient_id": 23070}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6930f370c03c0ba6eb60b4d"}, {"db_id": "mimic_iii", "question": "what difference was in the weight of patient 27739 last measured on the last hospital visit compared to the value second to last measured on the last hospital visit?", "template": "what is the change in the weight of patient 27739 from the last value measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27739 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27739 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 27739}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e8aba87309d792ef6db9d67"}, {"db_id": "mimic_iii", "question": "how much weight is patient 31300's change last measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "template": "what is the change in the weight of patient 31300 from the last value measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 31300}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "08f4cd9f373b4296dae9dcff"}, {"db_id": "mimic_iii", "question": "tell me the change in the weight of patient 5905 second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the weight of patient 5905 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5905 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5905 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 5905}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "01548b1ac21b40b99d644bda"}, {"db_id": "mimic_iii", "question": "how much is the difference in weight for patient 2514 last measured on the first hospital visit compared to the value second to last measured on the first hospital visit?", "template": "what is the change in the weight of patient 2514 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2514 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2514 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 2514}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8939745489a408f51b195554"}, {"db_id": "mimic_iii", "question": "tell me the variation in weight of patient 22449 second measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the weight of patient 22449 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 22449}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82f1813bbdd9a45e28416c47"}, {"db_id": "mimic_iii", "question": "what is the changes of weight in patient 2489 last measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the weight of patient 2489 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2489 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2489 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 2489}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "238a660b66905d18f540b658"}, {"db_id": "mimic_iii", "question": "exactly how much is patient 25461's weight change last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the weight of patient 25461 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 25461}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3c90d6305f40d24dfb227ce0"}, {"db_id": "mimic_iii", "question": "tell me the change in weight in patient 20066 second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 20066 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 20066}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37f42b74228ecb62830c80af"}, {"db_id": "mimic_iii", "question": "what difference in the weight of patient 2518 last measured on the current hospital visit compared to the value second to last measured on the current hospital visit?", "template": "what is the change in the weight of patient 2518 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 2518}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fcc3d95109b0d77a24da10dd"}, {"db_id": "mimic_iii", "question": "tell me patient 3369's weight change last measured on the first hospital visit compared to the value second to last measured on the first hospital visit?", "template": "what is the change in the weight of patient 3369 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 3369}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6a792b7c5f50edc9177e068"}, {"db_id": "mimic_iii", "question": "how much does patient 17398 weigh difference last measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "template": "what is the change in the weight of patient 17398 from the last value measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 17398}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f3ef076c2ddc3a265790be66"}, {"db_id": "mimic_iii", "question": "how much change in patient 28443's weight last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the weight of patient 28443 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 28443}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef38d2a509e0b73b051d8e3c"}, {"db_id": "mimic_iii", "question": "what is the difference between patient 6580's weights second measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the weight of patient 6580 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6580 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6580 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 6580}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "76725cc663bbee05d28cb6dd"}, {"db_id": "mimic_iii", "question": "what was the weight change in patient 31880 last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "template": "what is the change in the weight of patient 31880 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 31880}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "04af33577486506f03f99dc4"}, {"db_id": "mimic_iii", "question": "how much does patient 7698's weight differ second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the weight of patient 7698 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 7698}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "328c9a568a4a725f30b2e5b4"}, {"db_id": "mimic_iii", "question": "what was patient 20441's changes in the weight last measured on the last hospital visit compared to the value second to last measured on the last hospital visit?", "template": "what is the change in the weight of patient 20441 from the last value measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 20441}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f860547c406458f805a411fb"}, {"db_id": "mimic_iii", "question": "what the difference is in weight of patient 23070 last measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the weight of patient 23070 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 23070}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1043f06e6d1cb7a196506724"}, {"db_id": "mimic_iii", "question": "what has the difference in weight of patient 7742 second measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the weight of patient 7742 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7742 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7742 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 7742}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "68cb62678f51af135b66d020"}, {"db_id": "mimic_iii", "question": "how much weight does the weight of patient 15794 change last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the weight of patient 15794 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 15794}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f4f5ba2b79370e3a7aa5ccc"}, {"db_id": "mimic_iii", "question": "what is the difference between the weights second measured on the first hospital visit compared to the first value measured on the first hospital visit of patient 27739?", "template": "what is the change in the weight of patient 27739 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27739 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27739 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 27739}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47d8673f77657fc8fc944838"}, {"db_id": "mimic_iii", "question": "what is the change in weight for patient 15794 last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the weight of patient 15794 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 15794}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d284abfbb0769f46e66d9d87"}, {"db_id": "mimic_iii", "question": "how much does the weight of patient 28443's body change last measured on the current hospital visit compared to the value second to last measured on the current hospital visit?", "template": "what is the change in the weight of patient 28443 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28443}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "98a7ca45456816fb28734e23"}, {"db_id": "mimic_iii", "question": "how much is the weight difference for patient 19428 last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the weight of patient 19428 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 19428}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55e27def65915b473277749c"}, {"db_id": "mimic_iii", "question": "how much of a difference is patient 31880's weight second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 31880 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 31880}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f58b6266a1af16d08738cbc6"}, {"db_id": "mimic_iii", "question": "what difference is there in the weight of patient 14502 second measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the weight of patient 14502 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14502 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14502 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14502}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "799bb15d402dfeaabb867d75"}, {"db_id": "mimic_iii", "question": "how much has patient 5849 changed in weight last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 5849 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5849 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5849 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 5849}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ebacb40254bf016f5e9695eb"}, {"db_id": "mimic_iii", "question": "what is the difference in patient 10539's weights last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 10539 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10539 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10539 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 10539}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ae745a89251a1325ab1f044d"}, {"db_id": "mimic_iii", "question": "what is the difference between weights on patient 10431 second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the weight of patient 10431 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 10431}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2fd7c3d10b3dbce22126d470"}, {"db_id": "mimic_iii", "question": "how much weight change does patient 19428 have last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the weight of patient 19428 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 19428}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e21e16f3728e140df4cba91"}, {"db_id": "mimic_iii", "question": "what is the variation in the weight of patient 15447 last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the weight of patient 15447 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 15447}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b74ef84c50cfa9598cea8000"}, {"db_id": "mimic_iii", "question": "how much is the variation of weight in patient 24921 measured at 2104-09-26 01:00:00 compared to the value measured at 2104-09-24 17:00:00?", "template": "what is the change in the weight of patient 24921 from the value measured at 2104-09-26 01:00:00 compared to the value measured at 2104-09-24 17:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24921 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-09-26 01:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24921 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-09-24 17:00:00' )", "value": {"patient_id": 24921}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d9aa7719f69987cdfa67b426"}, {"db_id": "mimic_iii", "question": "how much patient 22449's weight differs second measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the weight of patient 22449 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 22449}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8aac761612467dfa88a12f91"}, {"db_id": "mimic_iii", "question": "how much is the difference in weight of patient 26817 second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 26817 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 26817}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d752d10bd451af2b3df299a0"}, {"db_id": "mimic_iii", "question": "what is the difference between weights second measured on the current hospital visit compared to the first value measured on the current hospital visit for patient 739?", "template": "what is the change in the weight of patient 739 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 739}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9acbcee6d42e98f13c834b06"}, {"db_id": "mimic_iii", "question": "what does patient 8098's weight differ second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 8098 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 8098}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "669508098cd57448b00afcd0"}, {"db_id": "mimic_iii", "question": "how much do patient 22449's weight shifts last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "template": "what is the change in the weight of patient 22449 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 22449}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f9d150f74570ef71e9ce599"}, {"db_id": "mimic_iii", "question": "how much is the difference in weight of patient 14458 last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 14458 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14458 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14458 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14458}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a8d20ef3de50ef23d18947e3"}, {"db_id": "mimic_iii", "question": "tell me the change in weight in patient 11579 last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the weight of patient 11579 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11579 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11579 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 11579}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54bfbf6238befd9781a01ad8"}, {"db_id": "mimic_iii", "question": "how much do patient 30826's weight shifts second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the weight of patient 30826 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 30826}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7cadf2d8d4767e0cdeb018ba"}, {"db_id": "mimic_iii", "question": "how big is the difference in patient 6536's weight second measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the weight of patient 6536 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6536 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6536 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 6536}, "q_tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the weight of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "261096e516ad9770e6b0561e"}, {"db_id": "mimic_iii", "question": "how much change does patient 26777's metamyelocytes change second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of metamyelocytes of patient 26777 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26777 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'metamyelocytes' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26777 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'metamyelocytes' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 26777, "lab_name": "metamyelocytes"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "037f0f88af5f37a460a500a0"}, {"db_id": "mimic_iii", "question": "what is the difference in the values of calculated total co2 of patient 28484 last measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "template": "what is the change in the value of calculated total co2 of patient 28484 from the last value measured on the last hospital visit compared to the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28484, "lab_name": "calculated total co2"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad6dcb2f1f78779fb9b61e35"}, {"db_id": "mimic_iii", "question": "how much difference is there in pt levels among patient 58928 last measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the value of pt of patient 58928 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58928 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58928 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "pt", "patient_id": 58928}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a99a358ae27b3306a7eb15c"}, {"db_id": "mimic_iii", "question": "what are patient 65582's changes in amylase last measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of amylase of patient 65582 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'amylase' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'amylase' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "amylase", "patient_id": 65582}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b811ef525bd2e009d565c98"}, {"db_id": "mimic_iii", "question": "how much difference was made in patient 7112's ptt levels last measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of ptt of patient 7112 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "ptt", "patient_id": 7112}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f7ccde02b964b79fef2a557"}, {"db_id": "mimic_iii", "question": "what was the change in amylase value of patient 23858 last measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the value of amylase of patient 23858 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'amylase' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'amylase' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 23858, "lab_name": "amylase"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa45836b19e17a3691ff519f"}, {"db_id": "mimic_iii", "question": "what are the difference in base excess value of patient 13622 last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the value of base excess of patient 13622 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13622 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13622 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 13622, "lab_name": "base excess"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bd4801069902bb0e85a9355"}, {"db_id": "mimic_iii", "question": "how much is the change of patient 5364's bicarbonate last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "template": "what is the change in the value of bicarbonate of patient 5364 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5364 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5364 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 5364, "lab_name": "bicarbonate"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6dcc559a71c8db890c1542dc"}, {"db_id": "mimic_iii", "question": "exactly what has the change in the anion gap of patient 26156 last measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the value of anion gap of patient 26156 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26156 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26156 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 26156, "lab_name": "anion gap"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30eeb5e6e92161d939e3beed"}, {"db_id": "mimic_iii", "question": "how much patient 84346 has changed in urea nitrogen last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the value of urea nitrogen of patient 84346 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84346 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84346 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "urea nitrogen", "patient_id": 84346}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03e3047a7acc018a0c93a236"}, {"db_id": "mimic_iii", "question": "what was the calculated total co2 change/difference of patient 60347 second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the value of calculated total co2 of patient 60347 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60347 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60347 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "calculated total co2", "patient_id": 60347}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c947464b86457362d8074753"}, {"db_id": "mimic_iii", "question": "what has changed in atypical lymphocytes in patient 69480 second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the value of atypical lymphocytes of patient 69480 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 69480 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'atypical lymphocytes' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 69480 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'atypical lymphocytes' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 69480, "lab_name": "atypical lymphocytes"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af6376d088b584530c2d7575"}, {"db_id": "mimic_iii", "question": "how much is patient 11826's chloride difference of last measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of chloride of patient 11826 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11826 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11826 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 11826, "lab_name": "chloride"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42bf64a48c53f099e2c6c2fa"}, {"db_id": "mimic_iii", "question": "what is the difference in creatine kinase (ck) in patient 1114's body last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the value of creatine kinase (ck) of patient 1114 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1114, "lab_name": "creatine kinase (ck)"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7408a170bc66edcbecedd0c6"}, {"db_id": "mimic_iii", "question": "what is the mchc change/difference of patient 99018's last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the value of mchc of patient 99018 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99018 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99018 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 99018, "lab_name": "mchc"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f4941cc102c36a9aa8c38d88"}, {"db_id": "mimic_iii", "question": "tell me the difference of patient 594's amount of po2 measured at 2105-05-20 04:34:00 compared to the value measured at 2105-05-15 19:03:00?", "template": "what is the change in the value of po2 of patient 594 from the value measured at 2105-05-20 04:34:00 compared to the value measured at 2105-05-15 19:03:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.charttime = '2105-05-20 04:34:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.charttime = '2105-05-15 19:03:00' )", "value": {"lab_name": "po2", "patient_id": 594}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3d1462da527305a57158d08"}, {"db_id": "mimic_iii", "question": "how much do the glucose of patient 12775 change/differ last measured on the current hospital visit compared to the value second to last measured on the current hospital visit?", "template": "what is the change in the value of glucose of patient 12775 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "glucose", "patient_id": 12775}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb2117244cde97ffb3f733cc"}, {"db_id": "mimic_iii", "question": "what is the change/difference in hematocrit of patient 93078 measured at 2105-12-31 21:06:00 compared to the value measured at 2105-12-31 15:11:00?", "template": "what is the change in the value of hematocrit of patient 93078 from the value measured at 2105-12-31 21:06:00 compared to the value measured at 2105-12-31 15:11:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93078 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.charttime = '2105-12-31 21:06:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93078 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.charttime = '2105-12-31 15:11:00' )", "value": {"patient_id": 93078, "lab_name": "hematocrit"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b3d7cbd89b233301040eaabe"}, {"db_id": "mimic_iii", "question": "how much has changed in patient 21003's po2 levels last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of po2 of patient 21003 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21003 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21003 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 21003, "lab_name": "po2"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "596e237f60b39dab089cebac"}, {"db_id": "mimic_iii", "question": "what changes have been made to the calculated total co2 levels of patient 9566 second measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the value of calculated total co2 of patient 9566 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 9566, "lab_name": "calculated total co2"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "08bcf39ed3163e83071f4c62"}, {"db_id": "mimic_iii", "question": "what difference is in the mcv value of patient 25493 second measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the value of mcv of patient 25493 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25493 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25493 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 25493, "lab_name": "mcv"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9eb327f5b5cbd2fd4f90761b"}, {"db_id": "mimic_iii", "question": "tell me the change in sodium values of patient 60180 last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of sodium of patient 60180 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60180 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60180 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 60180, "lab_name": "sodium"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f17a27927ea359e009eb0c0"}, {"db_id": "mimic_iii", "question": "tell me the variation in the potassium value of patient 12775 measured at 2105-12-31 03:04:00 compared to the value measured at 2105-12-30 03:06:00?", "template": "what is the change in the value of potassium of patient 12775 from the value measured at 2105-12-31 03:04:00 compared to the value measured at 2105-12-30 03:06:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.charttime = '2105-12-31 03:04:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.charttime = '2105-12-30 03:06:00' )", "value": {"patient_id": 12775, "lab_name": "potassium"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d8a22152d4c0116d0d774e8"}, {"db_id": "mimic_iii", "question": "what is the difference in creatine kinase, mb isoenzyme last measured on the current hospital visit compared to the first value measured on the current hospital visit for patient 28447?", "template": "what is the change in the value of creatine kinase, mb isoenzyme of patient 28447 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase, mb isoenzyme' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase, mb isoenzyme' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 28447, "lab_name": "creatine kinase, mb isoenzyme"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a42b656da5215bd854a90304"}, {"db_id": "mimic_iii", "question": "what was the change in glucose in patient 8888 last measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of glucose of patient 8888 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 8888, "lab_name": "glucose"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8dd2f5b57f6f67a8f148659a"}, {"db_id": "mimic_iii", "question": "what is the change in the creatinine of patient 13622 measured at 2104-08-23 11:40:00 compared to the value measured at 2104-08-23 09:40:00.", "template": "what is the change in the value of creatinine of patient 13622 from the value measured at 2104-08-23 11:40:00 compared to the value measured at 2104-08-23 09:40:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13622 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and labevents.charttime = '2104-08-23 11:40:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13622 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and labevents.charttime = '2104-08-23 09:40:00' )", "value": {"lab_name": "creatinine", "patient_id": 13622}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4d92d94984a6d3c8b05a0a4"}, {"db_id": "mimic_iii", "question": "what is the change/difference of the platelet count of patient 42757 measured at 2102-11-07 05:01:00 compared to the value measured at 2102-11-07 00:15:00?", "template": "what is the change in the value of platelet count of patient 42757 from the value measured at 2102-11-07 05:01:00 compared to the value measured at 2102-11-07 00:15:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42757 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.charttime = '2102-11-07 05:01:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42757 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.charttime = '2102-11-07 00:15:00' )", "value": {"lab_name": "platelet count", "patient_id": 42757}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "348db937aba9e41e7dc0ce22"}, {"db_id": "mimic_iii", "question": "how much patient 32755's ph changes/differs second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of ph of patient 32755 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32755 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32755 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 32755, "lab_name": "ph"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d5a86fcd6e69674167b1f86"}, {"db_id": "mimic_iii", "question": "what is the change in the hemoglobin of patient 88191's value second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the value of hemoglobin of patient 88191 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88191 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88191 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 88191, "lab_name": "hemoglobin"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8bab78e55d04a3b1c305a04"}, {"db_id": "mimic_iii", "question": "how much of a change in patient 18517's hematocrit is taking place second measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of hematocrit of patient 18517 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 18517, "lab_name": "hematocrit"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2503a15805143a6137928a31"}, {"db_id": "mimic_iii", "question": "what the difference was in the sodium value of patient 71558 last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the value of sodium of patient 71558 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71558 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71558 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "sodium", "patient_id": 71558}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46e90c145097cc6b9900edf0"}, {"db_id": "mimic_iii", "question": "what is the change in the value of the rdw of patient 63368 last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the value of rdw of patient 63368 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63368 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63368 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "rdw", "patient_id": 63368}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c686dc858bb72e49d95cce9"}, {"db_id": "mimic_iii", "question": "what is the difference between the hematocrit of patient 1232 measured at 2102-04-11 05:25:00 compared to the value measured at 2102-04-08 23:25:00?", "template": "what is the change in the value of hematocrit of patient 1232 from the value measured at 2102-04-11 05:25:00 compared to the value measured at 2102-04-08 23:25:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1232 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.charttime = '2102-04-11 05:25:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1232 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.charttime = '2102-04-08 23:25:00' )", "value": {"patient_id": 1232, "lab_name": "hematocrit"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "640f397e99e2d6018aed9914"}, {"db_id": "mimic_iii", "question": "how much is the difference in hemoglobin of patient 71192 last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "template": "what is the change in the value of hemoglobin of patient 71192 from the last value measured on the first hospital visit compared to the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71192 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71192 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 71192, "lab_name": "hemoglobin"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3fe64ba5df627a9229510c57"}, {"db_id": "mimic_iii", "question": "how much does the hemoglobin change in patient 14154 second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of hemoglobin of patient 14154 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 14154, "lab_name": "hemoglobin"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c04856fe76ddab5b6472e43a"}, {"db_id": "mimic_iii", "question": "what does chloride change/differ in patient 52898 last measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the value of chloride of patient 52898 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "chloride", "patient_id": 52898}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "89131ea7278b1b0886b72871"}, {"db_id": "mimic_iii", "question": "what is the change in po2 patient 3273 experiences last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of po2 of patient 3273 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3273 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3273 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "po2", "patient_id": 3273}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1684a1a6c7e95a207d8e40ab"}, {"db_id": "mimic_iii", "question": "how much of a difference has patient 25814 in mcv second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of mcv of patient 25814 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 25814, "lab_name": "mcv"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6cd1d991fda92b757128657"}, {"db_id": "mimic_iii", "question": "how much does patient 58928's pt change to differ last measured on the first hospital visit compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of pt of patient 58928 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58928 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58928 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "pt", "patient_id": 58928}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09a539969718e94b416040bb"}, {"db_id": "mimic_iii", "question": "what is the difference in phosphate values of patient 83182 second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of phosphate of patient 83182 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 83182, "lab_name": "phosphate"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b66a2d0248eacd737ff59efb"}, {"db_id": "mimic_iii", "question": "tell me the difference in patient 269's red blood cells levels second measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the value of red blood cells of patient 269 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 269 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 269 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "red blood cells", "patient_id": 269}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e39e2f2ace96b4cb324461e"}, {"db_id": "mimic_iii", "question": "what is the difference between patient 78131's bicarbonate second measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the value of bicarbonate of patient 78131 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78131 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78131 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "bicarbonate", "patient_id": 78131}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ccc0e01644b7d783a2a9080"}, {"db_id": "mimic_iii", "question": "what's the change in creatinine in patient 32606 last measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the value of creatinine of patient 32606 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32606 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32606 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "creatinine", "patient_id": 32606}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18677afa7005b4a19a4b4f1e"}, {"db_id": "mimic_iii", "question": "what is the difference in red blood cells levels of patient 42829 second measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the value of red blood cells of patient 42829 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "red blood cells", "patient_id": 42829}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58452972ace139cea0f9491e"}, {"db_id": "mimic_iii", "question": "tell me the difference in the bands value for patient 739 last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the value of bands of patient 739 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bands' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bands' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "bands", "patient_id": 739}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ae61730b7d25682e54bb0bcc"}, {"db_id": "mimic_iii", "question": "what was patient 22973's change in platelet count last measured on the first hospital visit compared to the value first measured on the first hospital visit?", "template": "what is the change in the value of platelet count of patient 22973 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22973 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22973 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 22973, "lab_name": "platelet count"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c49472cbdba838f66fb3d11c"}, {"db_id": "mimic_iii", "question": "what were the changes in the value of patient 1561's platelet count last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the value of platelet count of patient 1561 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "platelet count", "patient_id": 1561}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd60ad1c78d75d2d80e9cd5d"}, {"db_id": "mimic_iii", "question": "how much is the change in bicarbonate in patient 83182 last measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of bicarbonate of patient 83182 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 83182, "lab_name": "bicarbonate"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90bbeeeeb46e733c038a7d0a"}, {"db_id": "mimic_iii", "question": "how much has patient 84346's urea nitrogen changed or differed last measured on the last hospital visit compared to the value first measured on the last hospital visit?", "template": "what is the change in the value of urea nitrogen of patient 84346 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84346 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84346 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "urea nitrogen", "patient_id": 84346}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ca8baf8ab1b9ebfeb4fa766"}, {"db_id": "mimic_iii", "question": "what was the difference in the ph of patient 488 last measured on the first hospital visit compared to the value first measured on the first hospital visit.", "template": "what is the change in the value of ph of patient 488 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 488 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 488 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "ph", "patient_id": 488}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a2dc355a1ca31f822c72d21"}, {"db_id": "mimic_iii", "question": "how much was the platelet count change of patient 13782 last measured on the last hospital visit compared to the first value measured on the last hospital visit?", "template": "what is the change in the value of platelet count of patient 13782 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13782 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13782 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 13782, "lab_name": "platelet count"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "203b52d8cbd62e707afeef7b"}, {"db_id": "mimic_iii", "question": "how much of a difference has patient 1561 made in its white blood cells levels last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the value of white blood cells of patient 1561 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1561, "lab_name": "white blood cells"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bad8eaa731d72774341c76b9"}, {"db_id": "mimic_iii", "question": "what are the changes in calculated total co2 of patient 27172 last measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of calculated total co2 of patient 27172 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "calculated total co2", "patient_id": 27172}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e55cfc502294bcd85d026b64"}, {"db_id": "mimic_iii", "question": "what is the changing/difference of ptt of patient 40707 last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "template": "what is the change in the value of ptt of patient 40707 from the last value measured on the current hospital visit compared to the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "ptt", "patient_id": 40707}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3478f9f832bf3a0444b3b72f"}, {"db_id": "mimic_iii", "question": "how much of patient 67418's mch second measured on the first hospital visit changed compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of mch of patient 67418 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67418 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67418 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 67418, "lab_name": "mch"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90d8a4854628e2d5d959d3f3"}, {"db_id": "mimic_iii", "question": "what is the difference between phosphate in patient 2518 last measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of phosphate of patient 2518 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) order by labevents.charttime desc limit 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 2518, "lab_name": "phosphate"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "191e0cfbd720dfaac8838d84"}, {"db_id": "mimic_iii", "question": "how much of patient 94956's glucose second measured on the first hospital visit changed compared to the first value measured on the first hospital visit?", "template": "what is the change in the value of glucose of patient 94956 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94956 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94956 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 94956, "lab_name": "glucose"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f94ed10058053eff4de01389"}, {"db_id": "mimic_iii", "question": "how much is the change in sodium in patient 17462 second measured on the current hospital visit compared to the first value measured on the current hospital visit?", "template": "what is the change in the value of sodium of patient 17462 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 17462, "lab_name": "sodium"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2cf0ea3bb149591fdb48b7a"}, {"db_id": "mimic_iii", "question": "what changes have been made to the ph levels of patient 9566 second measured on the current hospital visit compared to the value first measured on the current hospital visit?", "template": "what is the change in the value of ph of patient 9566 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime asc limit 1 offset 1 ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 9566, "lab_name": "ph"}, "q_tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the value of {lab_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-hosp-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5417e8f260f5425889264f73"}, {"db_id": "mimic_iii", "question": "what is the difference of arterial bp [diastolic] patient 22648 has last measured on the first icu visit compared to the value second to last measured on the first icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 22648 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 22648, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "85fb11d82c661d1faa328120"}, {"db_id": "mimic_iii", "question": "how much does the arterial bp [diastolic] change of patient 8908 last measured on the last icu visit compared to the first value measured on the last icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 8908 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8908 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8908 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 8908}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1bed5ec0ae7f8ccf14ff6883"}, {"db_id": "mimic_iii", "question": "how much changed in arterial bp [systolic] for patient 23929 last measured on the last intensive care unit visit compared to the value first measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp [systolic] of patient 23929 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23929 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23929 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 23929}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce0e2c43556cd18b1b911ae1"}, {"db_id": "mimic_iii", "question": "how much change in the arterial bp mean of patient 18866 last measured on the current icu visit compared to the first value measured on the current icu visit?", "template": "what is the change in the arterial bp mean of patient 18866 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 18866, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a74e2fbc7b5b3d8025e52137"}, {"db_id": "mimic_iii", "question": "what does patient 11426 change in heart rate last measured on the last icu visit compared to the value second to last measured on the last icu visit?", "template": "what is the change in the heart rate of patient 11426 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11426 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11426 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "heart rate", "patient_id": 11426}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d18c033905e11eb7841b120"}, {"db_id": "mimic_iii", "question": "what changes have been made to the arterial bp mean in patient 14203's last measured on the first icu visit compared to the second to last value measured on the first icu visit?", "template": "what is the change in the arterial bp mean of patient 14203 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14203 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14203 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 14203, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ba95049629150b2d6fac613c"}, {"db_id": "mimic_iii", "question": "how much changes in arterial bp [systolic] of patient 12410 last measured on the last icu visit compared to the value second to last measured on the last icu visit?", "template": "what is the change in the arterial bp [systolic] of patient 12410 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12410 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12410 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 12410}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "370c2410a01bf5f431cd1db5"}, {"db_id": "mimic_iii", "question": "what is the difference between arterial bp mean last measured on the first icu visit compared to the second to last value measured on the first icu visit for patient 3663?", "template": "what is the change in the arterial bp mean of patient 3663 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3663 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3663 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 3663, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a428eb6e52aed3c12d4983d"}, {"db_id": "mimic_iii", "question": "what is the difference of the heart rate for patient 26195 measured at 2104-02-09 09:00:00 compared to the value measured at 2104-02-09 08:00:00?", "template": "what is the change in the heart rate of patient 26195 from the value measured at 2104-02-09 09:00:00 compared to the value measured at 2104-02-09 08:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26195 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-02-09 09:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26195 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-02-09 08:00:00' )", "value": {"patient_id": 26195, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "434ea2dcd18815229ab57eba"}, {"db_id": "mimic_iii", "question": "what is patient 20589's temperature c (calc) change last measured on the first icu visit compared to the value second to last measured on the first icu visit?", "template": "what is the change in the temperature c (calc) of patient 20589 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20589 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20589 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "temperature c (calc)", "patient_id": 20589}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03e9d084a41f9e8f285194c2"}, {"db_id": "mimic_iii", "question": "what has changed in patient 7107's arterial bp [diastolic] last measured on the last intensive care unit visit compared to the first value measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 7107 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7107 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7107 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 7107, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6608568dc9af10a5b9cdaf3"}, {"db_id": "mimic_iii", "question": "what changes are patient 5252 experiencing in heart rate last measured on the first icu visit compared to the value second to last measured on the first icu visit?", "template": "what is the change in the heart rate of patient 5252 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5252 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5252 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "heart rate", "patient_id": 5252}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea934aebc798ab92185389b3"}, {"db_id": "mimic_iii", "question": "how much has patient 739 changed in the arterial bp [diastolic] second measured on the current intensive care unit visit compared to the first value measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 739 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 739, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "276b36008f705c82b05cc966"}, {"db_id": "mimic_iii", "question": "how much does the arterial bp [systolic] of patient 8116 vary second measured on the current intensive care unit visit compared to the first value measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [systolic] of patient 8116 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 8116, "vital_name": "arterial bp [systolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "13b535d5cb71da47bd3e3b8d"}, {"db_id": "mimic_iii", "question": "what changes have been made to the arterial bp [diastolic] of patient 18877 second measured on the last icu visit compared to the first value measured on the last icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 18877 from the second value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18877 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18877 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 18877}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "434224d2759995b3861f0a32"}, {"db_id": "mimic_iii", "question": "what's the difference in arterial bp [systolic] in patient 2498 measured at 2104-08-29 07:00:00 compared to the value measured at 2104-08-29 06:00:00?", "template": "what is the change in the arterial bp [systolic] of patient 2498 from the value measured at 2104-08-29 07:00:00 compared to the value measured at 2104-08-29 06:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2498 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-08-29 07:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2498 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-08-29 06:00:00' )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 2498}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e5b63f70fde41315b8bdfac"}, {"db_id": "mimic_iii", "question": "what were the changes in the arterial bp [diastolic] of patient 28443 last measured on the current intensive care unit visit compared to the first value measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 28443 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 28443}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "72fd4a34a78417d50a3773a7"}, {"db_id": "mimic_iii", "question": "whats the difference in the arterial bp [systolic] of patient 32163 second measured on the last icu visit compared to the value first measured on the last icu visit?", "template": "what is the change in the arterial bp [systolic] of patient 32163 from the second value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32163 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32163 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 32163}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d978f79bcb1d57547d32c39"}, {"db_id": "mimic_iii", "question": "what was patient 4368's different arterial bp mean second measured on the first icu visit compared to the first value measured on the first icu visit?", "template": "what is the change in the arterial bp mean of patient 4368 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 4368}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdb8343e1409a61ee5743a10"}, {"db_id": "mimic_iii", "question": "what were the changes in heart rate in patient 3327 last measured on the first icu visit compared to the value first measured on the first icu visit?", "template": "what is the change in the heart rate of patient 3327 from the last value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3327 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3327 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 3327}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "92aeef06b2a22c1a6d11b304"}, {"db_id": "mimic_iii", "question": "what was patient 14990's arterial bp [diastolic] difference last measured on the last intensive care unit visit compared to the first value measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 14990 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14990 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14990 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14990, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29db5fe3f9176c2158f12ec0"}, {"db_id": "mimic_iii", "question": "how much was patient 16169's arterial bp mean change second measured on the first intensive care unit visit compared to the value first measured on the first intensive care unit visit.", "template": "what is the change in the arterial bp mean of patient 16169 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16169 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16169 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 16169, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ede740c8674620cc9f76993"}, {"db_id": "mimic_iii", "question": "what is the difference between patient 12726's arterial bp [diastolic] second measured on the current intensive care unit visit compared to the first value measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 12726 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 12726, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "671b907c81080a26c895b807"}, {"db_id": "mimic_iii", "question": "what is the difference in heart rate patient 22897 is experiencing second measured on the last intensive care unit visit compared to the value first measured on the last intensive care unit visit?", "template": "what is the change in the heart rate of patient 22897 from the second value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22897 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22897 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 22897, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7669a8098130aae7e6cff46d"}, {"db_id": "mimic_iii", "question": "just how much does patient 18517's arterial bp [diastolic] differ second measured on the last icu visit compared to the first value measured on the last icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 18517 from the second value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 18517, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a57d40b0c2bdb4c892aa24e"}, {"db_id": "mimic_iii", "question": "show me the heart rate change in patient 4401 last measured on the current intensive care unit visit compared to the first value measured on the current intensive care unit visit?", "template": "what is the change in the heart rate of patient 4401 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 4401}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c12a1f96c25b68bee604dcd2"}, {"db_id": "mimic_iii", "question": "how much is patient 32026's heart rate differing second measured on the first icu visit compared to the value first measured on the first icu visit?", "template": "what is the change in the heart rate of patient 32026 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32026 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32026 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 32026, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09df1ea640964708d721fcf2"}, {"db_id": "mimic_iii", "question": "how much is the difference of heart rate in patient 14397 last measured on the last icu visit compared to the second to last value measured on the last icu visit?", "template": "what is the change in the heart rate of patient 14397 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 14397, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d2041b0951654c25da510e7a"}, {"db_id": "mimic_iii", "question": "how much is the difference between patient 28959's arterial bp mean second measured on the first intensive care unit visit compared to the value first measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp mean of patient 28959 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28959 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28959 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 28959}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4be88af67b3a5c44f643b165"}, {"db_id": "mimic_iii", "question": "how much did patient 32804 change his or her arterial bp mean last measured on the first intensive care unit visit compared to the value first measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp mean of patient 32804 from the last value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32804 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32804 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 32804, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71e22bcc3162c692a7a595c0"}, {"db_id": "mimic_iii", "question": "how much does the arterial bp [diastolic] of patient 10765 differ last measured on the first intensive care unit visit compared to the first value measured on the first intensive care unit visit.", "template": "what is the change in the arterial bp [diastolic] of patient 10765 from the last value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10765 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10765 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 10765}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7eb50ddc20527a15a86304e8"}, {"db_id": "mimic_iii", "question": "what is patient 6536's difference in the patient's sao2 second measured on the first icu visit compared to the value first measured on the first icu visit?", "template": "what is the change in the sao2 of patient 6536 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6536 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6536 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 6536, "vital_name": "sao2"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fcabc3206ad21b2666aafbf0"}, {"db_id": "mimic_iii", "question": "how much is the change of arterial bp [diastolic] of patient 28443 last measured on the current intensive care unit visit compared to the value second to last measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 28443 from the last value measured on the current icu visit compared to the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28443, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90211dcf9151bd65c5b849c8"}, {"db_id": "mimic_iii", "question": "how much did the arterial bp mean of patient 11732 change measured at 2103-05-26 21:00:00 compared to the value measured at 2103-05-26 19:00:00?", "template": "what is the change in the arterial bp mean of patient 11732 from the value measured at 2103-05-26 21:00:00 compared to the value measured at 2103-05-26 19:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11732 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2103-05-26 21:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11732 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2103-05-26 19:00:00' )", "value": {"vital_name": "arterial bp mean", "patient_id": 11732}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "943ba482bfda72199c768d28"}, {"db_id": "mimic_iii", "question": "how much difference does patient 16088's arterial bp [diastolic] change second measured on the first icu visit compared to the first value measured on the first icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 16088 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 16088}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14ce1cf97aa9114f411d1c9d"}, {"db_id": "mimic_iii", "question": "what are patient 13703's arterial bp [diastolic] differences second measured on the first intensive care unit visit compared to the value first measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 13703 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13703 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13703 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 13703}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "713cf2df56614b67267b69bf"}, {"db_id": "mimic_iii", "question": "tell me the variation in arterial bp mean of patient 28443 last measured on the current intensive care unit visit compared to the value second to last measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp mean of patient 28443 from the last value measured on the current icu visit compared to the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 28443}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "79c559e6e38e3b85432df115"}, {"db_id": "mimic_iii", "question": "what is the difference in patient 30614 in heart rate last measured on the last icu visit compared to the value first measured on the last icu visit?", "template": "what is the change in the heart rate of patient 30614 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30614 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30614 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 30614}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "852eef1bc1e4f7f7274e60f4"}, {"db_id": "mimic_iii", "question": "what change was in patient 3229's arterial bp [systolic] last measured on the first intensive care unit visit compared to the second to last value measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp [systolic] of patient 3229 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3229 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3229 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 3229, "vital_name": "arterial bp [systolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f8555c2967afb53fbfe2eb1"}, {"db_id": "mimic_iii", "question": "tell me the difference of heart rate in patient 14154 from the value last measured on the last intensive care unit visit compared to the second to last value measured on the last intensive care unit visit?", "template": "what is the change in the heart rate of patient 14154 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 14154, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2026fc10a286ba8fb765826e"}, {"db_id": "mimic_iii", "question": "what is the difference of heart rate of patient 25668 measured at 2100-07-31 16:00:00 compared to the value measured at 2100-07-31 15:00:00.", "template": "what is the change in the heart rate of patient 25668 from the value measured at 2100-07-31 16:00:00 compared to the value measured at 2100-07-31 15:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2100-07-31 16:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2100-07-31 15:00:00' )", "value": {"patient_id": 25668, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "496a47383a1abcba37a0bb0c"}, {"db_id": "mimic_iii", "question": "what is the difference of arterial bp mean in patient 15754 last measured on the last icu visit compared to the value second to last measured on the last icu visit?", "template": "what is the change in the arterial bp mean of patient 15754 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15754 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15754 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 15754}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8257d41f774efcd481c593dd"}, {"db_id": "mimic_iii", "question": "how much of a change in the heart rate is patient 20332 measured at 2102-10-21 16:00:00 compared to the value measured at 2102-10-21 15:00:00?", "template": "what is the change in the heart rate of patient 20332 from the value measured at 2102-10-21 16:00:00 compared to the value measured at 2102-10-21 15:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20332 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2102-10-21 16:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20332 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2102-10-21 15:00:00' )", "value": {"patient_id": 20332, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "149879e444daa5f3d71dc416"}, {"db_id": "mimic_iii", "question": "how much is patient 10855's different heart rate last measured on the current intensive care unit visit compared to the first value measured on the current intensive care unit visit?", "template": "what is the change in the heart rate of patient 10855 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 10855, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "76c92e4fa20c3ffd263bdbb9"}, {"db_id": "mimic_iii", "question": "exactly how much does patient 19412's arterial bp mean differ last measured on the last icu visit compared to the first value measured on the last icu visit?", "template": "what is the change in the arterial bp mean of patient 19412 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 19412, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "effed06cfcb0236ea8a800a3"}, {"db_id": "mimic_iii", "question": "how much difference is there in arterial bp mean for patient 3663 last measured on the first intensive care unit visit compared to the value second to last measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp mean of patient 3663 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3663 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3663 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 3663, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38fc54297c6500b523fbd9de"}, {"db_id": "mimic_iii", "question": "tell me the difference of arterial bp [diastolic] of patient 4401 second measured on the current icu visit compared to the first value measured on the current icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 4401 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 4401}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "acd1a54a4cd65b486addb2e2"}, {"db_id": "mimic_iii", "question": "how much difference does patient 9619 have in arterial bp [diastolic] last measured on the first intensive care unit visit compared to the second to last value measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 9619 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9619 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9619 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 9619}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f870c0d5965504af8c19918a"}, {"db_id": "mimic_iii", "question": "how much was patient 27656's difference of arterial bp [diastolic] last measured on the first icu visit compared to the value second to last measured on the first icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 27656 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27656 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27656 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 27656}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4b0d8a974c9990eee6c84c58"}, {"db_id": "mimic_iii", "question": "show me the arterial bp mean change for patient 10431 last measured on the first icu visit compared to the first value measured on the first icu visit?", "template": "what is the change in the arterial bp mean of patient 10431 from the last value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 10431, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5fd575386465c83c1d4c007"}, {"db_id": "mimic_iii", "question": "tell me the change in the arterial bp [diastolic] of patient 14467 second measured on the current icu visit compared to the first value measured on the current icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 14467 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 14467}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1edf4d4ef7c0cac7f04d0d8"}, {"db_id": "mimic_iii", "question": "how much are patient 5252's differences in heart rate second measured on the first intensive care unit visit compared to the value first measured on the first intensive care unit visit?", "template": "what is the change in the heart rate of patient 5252 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5252 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5252 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 5252, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6041e11e41ba8fbcdfa1e574"}, {"db_id": "mimic_iii", "question": "what were the differences in arterial bp [systolic] of patient 28443 last measured on the current intensive care unit visit compared to the value second to last measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [systolic] of patient 28443 from the last value measured on the current icu visit compared to the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 28443}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cbc6cc6e9cee8fa9d6ef57f4"}, {"db_id": "mimic_iii", "question": "how much does patient 1372 have change in the amount of heart rate last measured on the first intensive care unit visit compared to the second to last value measured on the first intensive care unit visit?", "template": "what is the change in the heart rate of patient 1372 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1372, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc55e203480402e89c521d4e"}, {"db_id": "mimic_iii", "question": "how much difference was patient 13782's change of heart rate last measured on the first icu visit compared to the value first measured on the first icu visit?", "template": "what is the change in the heart rate of patient 13782 from the last value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13782 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13782 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 13782, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4296243903877f399519f315"}, {"db_id": "mimic_iii", "question": "how much does patient 13473's change of arterial bp mean last measured on the last intensive care unit visit compared to the first value measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp mean of patient 13473 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13473 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13473 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 13473, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d767ddf2a14b3ffafebac1ed"}, {"db_id": "mimic_iii", "question": "how much is the changes in arterial bp mean of patient 28959 second measured on the first icu visit compared to the first value measured on the first icu visit?", "template": "what is the change in the arterial bp mean of patient 28959 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28959 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28959 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 28959}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3e58279c3c623f3c4631346"}, {"db_id": "mimic_iii", "question": "how much does patient 19428 change in temperature c (calc) last measured on the current icu visit compared to the first value measured on the current icu visit?", "template": "what is the change in the temperature c (calc) of patient 19428 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "temperature c (calc)", "patient_id": 19428}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "abd7bf1a8ea47b9b763bfb79"}, {"db_id": "mimic_iii", "question": "how much is the changing of patient 14154 in heart rate last measured on the last icu visit compared to the second to last value measured on the last icu visit?", "template": "what is the change in the heart rate of patient 14154 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 14154, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f6f50804743e64c5d0efeeec"}, {"db_id": "mimic_iii", "question": "how much patient 23930's arterial bp [diastolic] has changed last measured on the last intensive care unit visit compared to the second to last value measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 23930 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23930 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23930 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 23930, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e10571f37302bce64af8fb0"}, {"db_id": "mimic_iii", "question": "what is the difference in arterial bp [diastolic] in patient 3125's last measured on the current icu visit compared to the value first measured on the current icu visit.", "template": "what is the change in the arterial bp [diastolic] of patient 3125 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 3125}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e43160998c2b6344fc2fc135"}, {"db_id": "mimic_iii", "question": "how much does patient 25050's arterial bp [systolic] change last measured on the last intensive care unit visit compared to the value first measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp [systolic] of patient 25050 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25050 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25050 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 25050, "vital_name": "arterial bp [systolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bdb3bd10e22e2f7441ef132"}, {"db_id": "mimic_iii", "question": "what is the variation in the heart rate of patient 29540 measured at 2101-04-21 16:00:00 compared to the value measured at 2101-04-21 15:00:00?", "template": "what is the change in the heart rate of patient 29540 from the value measured at 2101-04-21 16:00:00 compared to the value measured at 2101-04-21 15:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29540 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2101-04-21 16:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29540 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2101-04-21 15:00:00' )", "value": {"patient_id": 29540, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e236c662ced2dc979c0529bc"}, {"db_id": "mimic_iii", "question": "how much does patient 25668's patient's heart rate change measured at 2100-07-31 16:00:00 compared to the value measured at 2100-07-31 15:00:00?", "template": "what is the change in the heart rate of patient 25668 from the value measured at 2100-07-31 16:00:00 compared to the value measured at 2100-07-31 15:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2100-07-31 16:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2100-07-31 15:00:00' )", "value": {"patient_id": 25668, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d12d7d03de2f8896ce81346"}, {"db_id": "mimic_iii", "question": "show the changes in arterial bp [systolic] of patient 1561 last measured on the current intensive care unit visit compared to the value second to last measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [systolic] of patient 1561 from the last value measured on the current icu visit compared to the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1561, "vital_name": "arterial bp [systolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "abe9c908c5e3843f6ed72773"}, {"db_id": "mimic_iii", "question": "how much is patient 28447's changing heart rate last measured on the current icu visit compared to the value first measured on the current icu visit?", "template": "what is the change in the heart rate of patient 28447 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 28447, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9627b32e7ac2302d97375ce1"}, {"db_id": "mimic_iii", "question": "how much difference does patient 29161's arterial bp [diastolic] have last measured on the first icu visit compared to the first value measured on the first icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 29161 from the last value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29161 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29161 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 29161}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "199e26b039efe1e4b2489676"}, {"db_id": "mimic_iii", "question": "what's the change in the heart rate of patient 5828 second measured on the current intensive care unit visit compared to the first value measured on the current intensive care unit visit?", "template": "what is the change in the heart rate of patient 5828 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 5828}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e292fe81db77fcebc45b145a"}, {"db_id": "mimic_iii", "question": "how much is patient 26817's shift of arterial bp mean second measured on the first icu visit compared to the first value measured on the first icu visit?", "template": "what is the change in the arterial bp mean of patient 26817 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 26817}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3612988a0af851a8c7a0a0e8"}, {"db_id": "mimic_iii", "question": "how much difference of heart rate has patient 14982 experienced last measured on the last intensive care unit visit compared to the value first measured on the last intensive care unit visit?", "template": "what is the change in the heart rate of patient 14982 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14982 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14982 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 14982}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59d802ec3c0ede5bb4a98840"}, {"db_id": "mimic_iii", "question": "tell me the difference in heart rate levels of patient 1372 last measured on the first icu visit compared to the value second to last measured on the first icu visit?", "template": "what is the change in the heart rate of patient 1372 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1372, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "601bdb22ae9386a4a94248b5"}, {"db_id": "mimic_iii", "question": "how much of patient 27964's change of arterial bp [diastolic] last measured on the first intensive care unit visit compared to the value second to last measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 27964 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27964 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27964 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 27964}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a360468769691b4b26f45cb4"}, {"db_id": "mimic_iii", "question": "what are patient 14502's changes in arterial bp mean last measured on the last intensive care unit visit compared to the second to last value measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp mean of patient 14502 from the last value measured on the last icu visit compared to the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14502 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14502 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 14502}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "194e637921af5e9a3b7591da"}, {"db_id": "mimic_iii", "question": "how much is the difference in arterial bp [diastolic] of patient 11732 measured at 2103-05-26 23:00:00 compared to the value measured at 2103-05-26 17:00:00?", "template": "what is the change in the arterial bp [diastolic] of patient 11732 from the value measured at 2103-05-26 23:00:00 compared to the value measured at 2103-05-26 17:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11732 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2103-05-26 23:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11732 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2103-05-26 17:00:00' )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 11732}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b7b3e223d35a2f84ff30033"}, {"db_id": "mimic_iii", "question": "how much changes has patient 30235's arterial bp [systolic] second measured on the last icu visit compared to the value first measured on the last icu visit?", "template": "what is the change in the arterial bp [systolic] of patient 30235 from the second value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30235 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30235 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 30235, "vital_name": "arterial bp [systolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c65c80f6503e830e046bc906"}, {"db_id": "mimic_iii", "question": "what does the change in the arterial bp mean of patient 16879 last measured on the first intensive care unit visit compared to the value first measured on the first intensive care unit visit?", "template": "what is the change in the arterial bp mean of patient 16879 from the last value measured on the first icu visit compared to the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16879 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16879 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 16879}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-first] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "656f6cc0a493c83ca04880c2"}, {"db_id": "mimic_iii", "question": "how much does arterial bp [diastolic] change for patient 1561 last measured on the current intensive care unit visit compared to the value first measured on the current intensive care unit visit?", "template": "what is the change in the arterial bp [diastolic] of patient 1561 from the last value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 1561}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "98a70b431f0f994a3aba2419"}, {"db_id": "mimic_iii", "question": "how much does patient 30733's arterial bp [diastolic] differ between last measured on the last icu visit compared to the first value measured on the last icu visit?", "template": "what is the change in the arterial bp [diastolic] of patient 30733 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30733 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30733 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 30733}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d36e772275f158c7695e935"}, {"db_id": "mimic_iii", "question": "what are patient 4092's differences in heart rate measured at 2104-07-02 11:00:00 compared to the value measured at 2104-07-02 05:00:00?", "template": "what is the change in the heart rate of patient 4092 from the value measured at 2104-07-02 11:00:00 compared to the value measured at 2104-07-02 05:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4092 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-07-02 11:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4092 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-07-02 05:00:00' )", "value": {"vital_name": "heart rate", "patient_id": 4092}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bbe77355711e85de1a4c8ba8"}, {"db_id": "mimic_iii", "question": "how much was patient 24762's difference of arterial bp [systolic] last measured on the last intensive care unit visit compared to the value first measured on the last intensive care unit visit?", "template": "what is the change in the arterial bp [systolic] of patient 24762 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24762 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24762 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 24762, "vital_name": "arterial bp [systolic]"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "21c9660c5a1d7cd0bc1c2256"}, {"db_id": "mimic_iii", "question": "how much does patient 14982 change in heart rate last measured on the last icu visit compared to the first value measured on the last icu visit?", "template": "what is the change in the heart rate of patient 14982 from the last value measured on the last icu visit compared to the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14982 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14982 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 14982}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-last] value measured [time_filter_global2:rel-icu-last] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ccc286da36ffb2253b0f24f4"}, {"db_id": "mimic_iii", "question": "how much changed in heart rate for patient 4401 second measured on the current intensive care unit visit compared to the value first measured on the current intensive care unit visit?", "template": "what is the change in the heart rate of patient 4401 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 4401, "vital_name": "heart rate"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-second] value measured [time_filter_global2:rel-icu-cur] compared to the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b76ec36d82e5c3de447a8f04"}, {"db_id": "mimic_iii", "question": "how much is patient 9983's different arterial bp mean measured at 2102-05-01 11:00:00 compared to the value measured at 2102-05-01 07:00:00?", "template": "what is the change in the arterial bp mean of patient 9983 from the value measured at 2102-05-01 11:00:00 compared to the value measured at 2102-05-01 07:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9983 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2102-05-01 11:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9983 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2102-05-01 07:00:00' )", "value": {"patient_id": 9983, "vital_name": "arterial bp mean"}, "q_tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2] value measured [time_filter_global2] compared to the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the change in the {vital_name} of patient {patient_id} from the [time_filter_exact2:exact-default] value measured [time_filter_global2:null] compared to the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb8f8301483fc57eceea5c5c"}, {"db_id": "mimic_iii", "question": "is the mcv of patient 83062 last measured on the current hospital visit that was less than first measured on the current hospital visit?", "template": "is the value of mcv of patient 83062 last measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 83062, "lab_name": "mcv"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59279bf0ad996aeae2554e56"}, {"db_id": "mimic_iii", "question": "are the values of bilirubin, total of patient 13841 second measured on the last hospital visit greater than those first measured on the last hospital visit?", "template": "is the value of bilirubin, total of patient 13841 second measured on the last hospital visit greater than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13841 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13841 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 13841, "lab_name": "bilirubin, total"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "177d5c0c233f8a6b627566c4"}, {"db_id": "mimic_iii", "question": "the value of hematocrit second measured on the first hospital visit in patient 43959 was greater than first measured on the first hospital visit?", "template": "is the value of hematocrit of patient 43959 second measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43959 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43959 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "hematocrit", "patient_id": 43959}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1dfa66f87f69204f75b48ca2"}, {"db_id": "mimic_iii", "question": "was patient 71192's glucose value last measured on the first hospital visit less than it was second to last measured on the first hospital visit?", "template": "is the value of glucose of patient 71192 last measured on the first hospital visit less than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71192 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71192 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "glucose", "patient_id": 71192}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fae53f8294b22ea7a5d2eec6"}, {"db_id": "mimic_iii", "question": "is the value of anion gap of patient 95057 second measured on the current hospital visit less than first measured on the current hospital visit?", "template": "is the value of anion gap of patient 95057 second measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95057 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95057 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "anion gap", "patient_id": 95057}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b35159a46d86e97338032c7"}, {"db_id": "mimic_iii", "question": "is the potassium of patient 51858 last measured on the current hospital visit less than the value second to last measured on the current hospital visit.", "template": "is the value of potassium of patient 51858 last measured on the current hospital visit less than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 51858, "lab_name": "potassium"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e599cab3c2796877e2815ed3"}, {"db_id": "mimic_iii", "question": "was patient 25300's urea nitrogen last measured on the last hospital visit less than the value first measured on the last hospital visit?", "template": "is the value of urea nitrogen of patient 25300 last measured on the last hospital visit less than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25300 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25300 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "urea nitrogen", "patient_id": 25300}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "917aac7de4998744fac98c69"}, {"db_id": "mimic_iii", "question": "is the glucose of patient 20066's last measured on the last hospital visit greater than second to last measured on the last hospital visit?", "template": "is the value of glucose of patient 20066 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "glucose", "patient_id": 20066}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f7e58a4df2687db30853d59b"}, {"db_id": "mimic_iii", "question": "is the value of pco2 of patient 49295 measured at 2103-06-12 04:15:00 greater than the value measured at 2103-06-10 21:14:00?", "template": "is the value of pco2 of patient 49295 measured at 2103-06-12 04:15:00 greater than the value measured at 2103-06-10 21:14:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49295 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pco2' ) and labevents.charttime = '2103-06-12 04:15:00' ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49295 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pco2' ) and labevents.charttime = '2103-06-10 21:14:00' )", "value": {"patient_id": 49295, "lab_name": "pco2"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:greater] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "67b6e70486cb42d4fe3b01c1"}, {"db_id": "mimic_iii", "question": "compared to last measured on the last hospital visit, was the value of the hematocrit from patient 13686 less than the value first measured on the last hospital visit?", "template": "is the value of hematocrit of patient 13686 last measured on the last hospital visit less than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13686 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13686 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "hematocrit", "patient_id": 13686}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d00f2348e54da4d8e173c6fe"}, {"db_id": "mimic_iii", "question": "was the value of the creatinine of patient 2334 last measured on the first hospital visit greater than that second to last measured on the first hospital visit?", "template": "is the value of creatinine of patient 2334 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2334 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2334 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 2334, "lab_name": "creatinine"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c2cc0a117cd5c867225c566e"}, {"db_id": "mimic_iii", "question": "is base excess in patient 99082 last measured on the first hospital visit less than the first value measured on the first hospital visit?", "template": "is the value of base excess of patient 99082 last measured on the first hospital visit less than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99082 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99082 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 99082, "lab_name": "base excess"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "991566f25979b75ccb7fe61b"}, {"db_id": "mimic_iii", "question": "compared to last measured on the last hospital visit patient 75170's potassium is greater than the value second to last measured on the last hospital visit?", "template": "is the value of potassium of patient 75170 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 75170 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 75170 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 75170, "lab_name": "potassium"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "835c0c16b44d1ad6fea944cb"}, {"db_id": "mimic_iii", "question": "is hematocrit of patient 43959 second measured on the first hospital visit greater than first measured on the first hospital visit?", "template": "is the value of hematocrit of patient 43959 second measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43959 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43959 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "hematocrit", "patient_id": 43959}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78f1d544d107a2be2d858757"}, {"db_id": "mimic_iii", "question": "did the value of creatinine of patient 41014 last measured on the first hospital visit be greater than second to last measured on the first hospital visit?", "template": "is the value of creatinine of patient 41014 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41014 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41014 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 41014, "lab_name": "creatinine"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc5fcb5eae85159a01b21574"}, {"db_id": "mimic_iii", "question": "is the free calcium in patient 366 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?", "template": "is the value of free calcium of patient 366 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 366 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'free calcium' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 366 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'free calcium' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 366, "lab_name": "free calcium"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b66490a5e498b75403387720"}, {"db_id": "mimic_iii", "question": "was the value of lactate in patient 78131 second measured on the first hospital visit less than the first value measured on the first hospital visit?", "template": "is the value of lactate of patient 78131 second measured on the first hospital visit less than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78131 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78131 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "lactate", "patient_id": 78131}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "89b536dde1c173bc8f3a8462"}, {"db_id": "mimic_iii", "question": "compared to last measured on the first hospital visit is chloride of patient 97121 less than second to last measured on the first hospital visit?", "template": "is the value of chloride of patient 97121 last measured on the first hospital visit less than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97121 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97121 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 97121, "lab_name": "chloride"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe83c88a5d966189cea59092"}, {"db_id": "mimic_iii", "question": "was the potassium value last measured on the first hospital visit of patient 7073 less than second to last measured on the first hospital visit?", "template": "is the value of potassium of patient 7073 last measured on the first hospital visit less than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7073 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7073 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 7073, "lab_name": "potassium"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7dc0ce15de4b80da7d03809c"}, {"db_id": "mimic_iii", "question": "is the mchc level of patient 6990 greater last measured on the first hospital visit than second to last measured on the first hospital visit?", "template": "is the value of mchc of patient 6990 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6990 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6990 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "mchc", "patient_id": 6990}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55dce3939c5a511d7a4367ce"}, {"db_id": "mimic_iii", "question": "was the urea nitrogen value of patient 95986 second measured on the last hospital visit greater than the value first measured on the last hospital visit?", "template": "is the value of urea nitrogen of patient 95986 second measured on the last hospital visit greater than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95986 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95986 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 95986, "lab_name": "urea nitrogen"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "750816bdf18a033843c4f534"}, {"db_id": "mimic_iii", "question": "did the platelet count value of patient 15986 last measured on the current hospital visit be less than second to last measured on the current hospital visit?", "template": "is the value of platelet count of patient 15986 last measured on the current hospital visit less than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "platelet count", "patient_id": 15986}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f06d74c4eaf6ba28a89c90e"}, {"db_id": "mimic_iii", "question": "was the mcv value of patient 2002 last measured on the last hospital visit greater than it was first measured on the last hospital visit?", "template": "is the value of mcv of patient 2002 last measured on the last hospital visit greater than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2002 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2002 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 2002, "lab_name": "mcv"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2fbd24f599ac185b5d4be760"}, {"db_id": "mimic_iii", "question": "is patient 13686's mchc second measured on the first hospital visit less than the value first measured on the first hospital visit?", "template": "is the value of mchc of patient 13686 second measured on the first hospital visit less than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13686 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13686 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "mchc", "patient_id": 13686}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff6c220ba31f5f34d077ad30"}, {"db_id": "mimic_iii", "question": "does the value of neutrophils of patient 54894 last measured on the current hospital visit be greater than second to last measured on the current hospital visit?", "template": "is the value of neutrophils of patient 54894 last measured on the current hospital visit greater than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54894 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54894 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "neutrophils", "patient_id": 54894}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57eda122e36ea30bb8e7e2c9"}, {"db_id": "mimic_iii", "question": "is the value of the hematocrit, calculated of patient 2518 last measured on the current hospital visit greater than second to last measured on the current hospital visit?", "template": "is the value of hematocrit, calculated of patient 2518 last measured on the current hospital visit greater than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit, calculated' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit, calculated' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 2518, "lab_name": "hematocrit, calculated"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd157ded4dd7b3c93fecc1ce"}, {"db_id": "mimic_iii", "question": "is the alkaline phosphatase of patient 52342 last measured on the last hospital visit less than the value second to last measured on the last hospital visit?", "template": "is the value of alkaline phosphatase of patient 52342 last measured on the last hospital visit less than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52342 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'alkaline phosphatase' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52342 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'alkaline phosphatase' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 52342, "lab_name": "alkaline phosphatase"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8ecc2a0f82a4893f3df45c70"}, {"db_id": "mimic_iii", "question": "is it patient 94229's mchc second measured on the current hospital visit less than first measured on the current hospital visit?", "template": "is the value of mchc of patient 94229 second measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "mchc", "patient_id": 94229}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5366f62f43064f8df193ad27"}, {"db_id": "mimic_iii", "question": "compared to last measured on the current hospital visit, was the phosphate value of patient 73713 less than the value first measured on the current hospital visit?", "template": "is the value of phosphate of patient 73713 last measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 73713, "lab_name": "phosphate"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "790f29e74b9ca7770e1e27f8"}, {"db_id": "mimic_iii", "question": "are patient 369's red blood cells levels less second measured on the last hospital visit than the levels first measured on the last hospital visit?", "template": "is the value of red blood cells of patient 369 second measured on the last hospital visit less than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 369 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 369 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "red blood cells", "patient_id": 369}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3abf911f4a533f960e2a3b75"}, {"db_id": "mimic_iii", "question": "is the value of wbc of patient 78076 last measured on the first hospital visit greater than its value first measured on the first hospital visit?", "template": "is the value of wbc of patient 78076 last measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78076 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'wbc' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78076 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'wbc' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "wbc", "patient_id": 78076}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "413ac8c739a9809db3b6800c"}, {"db_id": "mimic_iii", "question": "is patient 6990 magnesium last measured on the first hospital visit greater than first measured on the first hospital visit.", "template": "is the value of magnesium of patient 6990 last measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6990 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6990 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 6990, "lab_name": "magnesium"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "931a9f51968a6077d3029b18"}, {"db_id": "mimic_iii", "question": "is the value of calcium, total in patient 54825 last measured on the first hospital visit less than that the first value measured on the first hospital visit?", "template": "is the value of calcium, total of patient 54825 last measured on the first hospital visit less than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 54825, "lab_name": "calcium, total"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10a6383946b445e7ba1d0546"}, {"db_id": "mimic_iii", "question": "is the mcv of patient 94757 from the value last measured on the first hospital visit greater than first measured on the first hospital visit?", "template": "is the value of mcv of patient 94757 last measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94757 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94757 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "mcv", "patient_id": 94757}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "915391dc2e87a7300b71a078"}, {"db_id": "mimic_iii", "question": "is it the neutrophils of patient 40707 second measured on the current hospital visit, less than first measured on the current hospital visit?", "template": "is the value of neutrophils of patient 40707 second measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "neutrophils", "patient_id": 40707}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf66b948f21363f92b4428cd"}, {"db_id": "mimic_iii", "question": "is the white blood cells level of patient 15945 last measured on the current hospital visit greater than it was first measured on the current hospital visit?", "template": "is the value of white blood cells of patient 15945 last measured on the current hospital visit greater than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 15945, "lab_name": "white blood cells"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a71d4e872c968c73399a187c"}, {"db_id": "mimic_iii", "question": "is patient 25696's urea nitrogen last measured on the last hospital visit greater than second to last measured on the last hospital visit?", "template": "is the value of urea nitrogen of patient 25696 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25696 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25696 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "urea nitrogen", "patient_id": 25696}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4e07f9a35828083e9573bef"}, {"db_id": "mimic_iii", "question": "was the chloride value of patient 23930 second measured on the first hospital visit less than the value that was first measured on the first hospital visit.", "template": "is the value of chloride of patient 23930 second measured on the first hospital visit less than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23930 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23930 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 23930, "lab_name": "chloride"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8e3f8735abeefc041157e3d"}, {"db_id": "mimic_iii", "question": "is glucose patient 28443 has last measured on the current hospital visit greater than it was second to last measured on the current hospital visit?", "template": "is the value of glucose of patient 28443 last measured on the current hospital visit greater than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28443, "lab_name": "glucose"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "314355322b7452f9af000ddb"}, {"db_id": "mimic_iii", "question": "is the value of mchc of patient 8244 second measured on the first hospital visit less than it was first measured on the first hospital visit?", "template": "is the value of mchc of patient 8244 second measured on the first hospital visit less than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8244 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8244 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 8244, "lab_name": "mchc"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aabb887fc32567961af71ce6"}, {"db_id": "mimic_iii", "question": "is the value of rdw of patient 31088 last measured on the current hospital visit less than the value first measured on the current hospital visit.", "template": "is the value of rdw of patient 31088 last measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 31088, "lab_name": "rdw"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "61bcdaf317389382471bce65"}, {"db_id": "mimic_iii", "question": "was the value of calculated total co2 of patient 14671 second measured on the current hospital visit less than its value first measured on the current hospital visit?", "template": "is the value of calculated total co2 of patient 14671 second measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "calculated total co2", "patient_id": 14671}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e1818f7d41a9c79285c1386"}, {"db_id": "mimic_iii", "question": "compared to measured at 2104-01-09 03:26:00 was the chloride value of patient 52598 less than the value measured at 2104-01-08 03:21:00?", "template": "is the value of chloride of patient 52598 measured at 2104-01-09 03:26:00 less than the value measured at 2104-01-08 03:21:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52598 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and labevents.charttime = '2104-01-09 03:26:00' ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52598 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and labevents.charttime = '2104-01-08 03:21:00' )", "value": {"patient_id": 52598, "lab_name": "chloride"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:less] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d6a6756f18b06dde58bafeb"}, {"db_id": "mimic_iii", "question": "is the creatine kinase (ck) value of patient 26612 last measured on the first hospital visit greater than the value of the patient second to last measured on the first hospital visit?", "template": "is the value of creatine kinase (ck) of patient 26612 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26612 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26612 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 26612, "lab_name": "creatine kinase (ck)"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "60996c26d091303e28b3cec5"}, {"db_id": "mimic_iii", "question": "is the creatine kinase (ck) value of last measured on the first hospital visit on patient 26612 greater than the value second to last measured on the first hospital visit?", "template": "is the value of creatine kinase (ck) of patient 26612 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26612 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26612 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 26612, "lab_name": "creatine kinase (ck)"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb9c3d3761476c534f0155e2"}, {"db_id": "mimic_iii", "question": "compared to second measured on the first hospital visit was the white blood cells value of patient 86786 greater than first measured on the first hospital visit?", "template": "is the value of white blood cells of patient 86786 second measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86786 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86786 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "white blood cells", "patient_id": 86786}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f0f854478fd2e031f27b433a"}, {"db_id": "mimic_iii", "question": "is the value of white blood cells second measured on the current hospital visit of patient 13054 less than its value first measured on the current hospital visit?", "template": "is the value of white blood cells of patient 13054 second measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 13054, "lab_name": "white blood cells"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f3bc67dbed87fbccff9afe1"}, {"db_id": "mimic_iii", "question": "is patient 96833's white blood cells last measured on the current hospital visit less compared to the value second to last measured on the current hospital visit?", "template": "is the value of white blood cells of patient 96833 last measured on the current hospital visit less than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "white blood cells", "patient_id": 96833}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8c185ec32f7322754620119"}, {"db_id": "mimic_iii", "question": "is the value of urea nitrogen of a patient last measured on the current hospital visit greater than the value of patient 49176 first measured on the current hospital visit?", "template": "is the value of urea nitrogen of patient 49176 last measured on the current hospital visit greater than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 49176, "lab_name": "urea nitrogen"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e742b6abba1e4587f7395ad"}, {"db_id": "mimic_iii", "question": "is urea nitrogen of patient 14458 second measured on the last hospital visit greater than the first value measured on the last hospital visit?", "template": "is the value of urea nitrogen of patient 14458 second measured on the last hospital visit greater than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14458 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14458 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "urea nitrogen", "patient_id": 14458}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5793bd67821720c8fb23201"}, {"db_id": "mimic_iii", "question": "was the value of patient 74716's base excess last measured on the first hospital visit greater than they were second to last measured on the first hospital visit?", "template": "is the value of base excess of patient 74716 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74716 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74716 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "base excess", "patient_id": 74716}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a1d7ced1615f663f5ddbcc6"}, {"db_id": "mimic_iii", "question": "is patient 22648's creatinine less last measured on the current hospital visit than it was second to last measured on the current hospital visit?", "template": "is the value of creatinine of patient 22648 last measured on the current hospital visit less than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 22648, "lab_name": "creatinine"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "266cde952b7cec40fb2c3199"}, {"db_id": "mimic_iii", "question": "is patient 2334's mcv value second measured on the last hospital visit less than the value first measured on the last hospital visit?", "template": "is the value of mcv of patient 2334 second measured on the last hospital visit less than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2334 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 offset 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2334 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "mcv", "patient_id": 2334}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d27fbd99259c91858aa183ab"}, {"db_id": "mimic_iii", "question": "was the value of ph of patient 89565 last measured on the last hospital visit less than it was second to last measured on the last hospital visit?", "template": "is the value of ph of patient 89565 last measured on the last hospital visit less than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89565 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89565 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 89565, "lab_name": "ph"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ba5d8ad7f7bccc9c1aad8fb"}, {"db_id": "mimic_iii", "question": "the value of mcv of patient 17237 was last measured on the last hospital visit less than second to last measured on the last hospital visit?", "template": "is the value of mcv of patient 17237 last measured on the last hospital visit less than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17237 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17237 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 17237, "lab_name": "mcv"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f83ac301de2286c7d7754750"}, {"db_id": "mimic_iii", "question": "is glucose patient 11688 measured at 2104-12-01 06:30:00 , less than measured at 2104-11-30 06:25:00?", "template": "is the value of glucose of patient 11688 measured at 2104-12-01 06:30:00 less than the value measured at 2104-11-30 06:25:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11688 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.charttime = '2104-12-01 06:30:00' ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11688 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.charttime = '2104-11-30 06:25:00' )", "value": {"lab_name": "glucose", "patient_id": 11688}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:less] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9f946190ca1e91e7d02bdb6"}, {"db_id": "mimic_iii", "question": "is the value of mcv of patient 1114 last measured on the current hospital visit greater than it was first measured on the current hospital visit.", "template": "is the value of mcv of patient 1114 last measured on the current hospital visit greater than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 1114, "lab_name": "mcv"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "629c1c1a1f86e75fbf07c390"}, {"db_id": "mimic_iii", "question": "is the hemoglobin value of patient 86555 last measured on the first hospital visit less than the value second to last measured on the first hospital visit?", "template": "is the value of hemoglobin of patient 86555 last measured on the first hospital visit less than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86555 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86555 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 86555, "lab_name": "hemoglobin"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c459c8934a5e094987c64d2a"}, {"db_id": "mimic_iii", "question": "patient 14502's red blood cells last measured on the first hospital visit is greater than the second to last value measured on the first hospital visit?", "template": "is the value of red blood cells of patient 14502 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14502 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14502 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"lab_name": "red blood cells", "patient_id": 14502}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de859f67d9a00649b42e8ddb"}, {"db_id": "mimic_iii", "question": "was the value of patient 59002's mch second measured on the last hospital visit greater than the value first measured on the last hospital visit.", "template": "is the value of mch of patient 59002 second measured on the last hospital visit greater than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59002 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59002 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 59002, "lab_name": "mch"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a140edc9e5f7c74358a385b8"}, {"db_id": "mimic_iii", "question": "is patient 18237's chloride value second measured on the first hospital visit greater than it was first measured on the first hospital visit?", "template": "is the value of chloride of patient 18237 second measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18237 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18237 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "chloride", "patient_id": 18237}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6287bab56488f10b78830674"}, {"db_id": "mimic_iii", "question": "is the anion gap of patient 9299 last measured on the first hospital visit less than second to last measured on the first hospital visit is it?", "template": "is the value of anion gap of patient 9299 last measured on the first hospital visit less than the second to last value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9299 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9299 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 9299, "lab_name": "anion gap"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "323bd5d7e6babe7ad7abeed1"}, {"db_id": "mimic_iii", "question": "are the base excess levels of patient 52898 greater last measured on the last hospital visit than second to last measured on the last hospital visit?", "template": "is the value of base excess of patient 52898 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 52898, "lab_name": "base excess"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70f8ee935c684b5ff46092b7"}, {"db_id": "mimic_iii", "question": "compared to last measured on the current hospital visit is the red blood cells of patient 83062 greater than first measured on the current hospital visit?", "template": "is the value of red blood cells of patient 83062 last measured on the current hospital visit greater than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.charttime asc limit 1 )", "value": {"lab_name": "red blood cells", "patient_id": 83062}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d60e53fc3c88221bd1bce05"}, {"db_id": "mimic_iii", "question": "is creatine kinase (ck) patient 1561 last measured on the current hospital visit, greater than second to last measured on the current hospital visit?", "template": "is the value of creatine kinase (ck) of patient 1561 last measured on the current hospital visit greater than the second to last value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1561, "lab_name": "creatine kinase (ck)"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71fe7f5c6455012417c08f61"}, {"db_id": "mimic_iii", "question": "is mch of patient 7112 last measured on the current hospital visit less than the first value measured on the current hospital visit?", "template": "is the value of mch of patient 7112 last measured on the current hospital visit less than the first value measured on the current hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.charttime desc limit 1 ) < ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 7112, "lab_name": "mch"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "rel-hosp-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "634d29166011257d7395d10e"}, {"db_id": "mimic_iii", "question": "compared to last measured on the first hospital visit patient 19059's po2 is greater than the value first measured on the first hospital visit?", "template": "is the value of po2 of patient 19059 last measured on the first hospital visit greater than the first value measured on the first hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.charttime desc limit 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 19059, "lab_name": "po2"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-first", "rel-hosp-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-hosp-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e033c3da9bff3b6533d375dd"}, {"db_id": "mimic_iii", "question": "the value of rdw second measured on the last hospital visit in patient 32329 was greater than first measured on the last hospital visit?", "template": "is the value of rdw of patient 32329 second measured on the last hospital visit greater than the first value measured on the last hospital visit?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32329 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) order by labevents.charttime asc limit 1 offset 1 ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32329 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 32329, "lab_name": "rdw"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-hosp-last", "rel-hosp-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-hosp-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d7e93d0dd1937a2b795e8cf"}, {"db_id": "mimic_iii", "question": "was the red blood cells value of patient 52647 measured at 2103-05-22 06:40:00 greater than the value measured at 2103-05-20 06:55:00?", "template": "is the value of red blood cells of patient 52647 measured at 2103-05-22 06:40:00 greater than the value measured at 2103-05-20 06:55:00?", "query": "select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52647 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and labevents.charttime = '2103-05-22 06:40:00' ) > ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52647 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and labevents.charttime = '2103-05-20 06:55:00' )", "value": {"patient_id": 52647, "lab_name": "red blood cells"}, "q_tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the value of {lab_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:greater] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1e578dfc8e78d4120dd48af"}, {"db_id": "mimic_iii", "question": "is arterial bp [diastolic] of patient 8116 last measured on the current intensive care unit visit less than first measured on the current intensive care unit visit?", "template": "is the arterial bp [diastolic] of patient 8116 last measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 8116, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "27399f450213f7575a14e4de"}, {"db_id": "mimic_iii", "question": "is patient 10855's temperature c (calc) last measured on the current icu visit less than first measured on the current icu visit?", "template": "is the temperature c (calc) of patient 10855 last measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "temperature c (calc)", "patient_id": 10855}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fda6d3b25da15b967bd91265"}, {"db_id": "mimic_iii", "question": "was the temperature c (calc) value of patient 18159 last measured on the first icu visit greater than the value first measured on the first icu visit?", "template": "is the temperature c (calc) of patient 18159 last measured on the first icu visit greater than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18159 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18159 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 18159, "vital_name": "temperature c (calc)"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b6b81d7d6ab6e5eb4358746"}, {"db_id": "mimic_iii", "question": "are the heart rate of patient 1902 last measured on the current intensive care unit visit less than second to last measured on the current intensive care unit visit?", "template": "is the heart rate of patient 1902 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1902, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d92c68949a13dffa826e1ce9"}, {"db_id": "mimic_iii", "question": "is the arterial bp [systolic] value of patient 13837 second measured on the first intensive care unit visit less than first measured on the first intensive care unit visit?", "template": "is the arterial bp [systolic] of patient 13837 second measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13837 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13837 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 13837, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e763aa1ff9541f954f3a0e2"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 12944 second measured on the last icu visit less than its value first measured on the last icu visit?", "template": "is the heart rate of patient 12944 second measured on the last icu visit less than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12944 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12944 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 12944, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1274dc3f15d1734609a057e2"}, {"db_id": "mimic_iii", "question": "is patient 2753's heart rate last measured on the last intensive care unit visit less than the value second to last measured on the last intensive care unit visit?", "template": "is the heart rate of patient 2753 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2753 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2753 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "heart rate", "patient_id": 2753}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d1b1962ec9d07b4ad9c1647"}, {"db_id": "mimic_iii", "question": "the arterial bp [diastolic] of patient 8116 last measured on the current icu visit is greater than it was second to last measured on the current icu visit?", "template": "is the arterial bp [diastolic] of patient 8116 last measured on the current icu visit greater than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 8116, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "283b3897b7b4ad9ce4670d17"}, {"db_id": "mimic_iii", "question": "patient 594's temperature c (calc) second measured on the first icu visit is less than first measured on the first icu visit?", "template": "is the temperature c (calc) of patient 594 second measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 594, "vital_name": "temperature c (calc)"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ffefcc62761b9ce831f3daf8"}, {"db_id": "mimic_iii", "question": "is patient 23620's level of arterial bp mean last measured on the first intensive care unit visit less than it was first measured on the first intensive care unit visit?", "template": "is the arterial bp mean of patient 23620 last measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23620 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23620 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 23620, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d473013e7f984194705773d"}, {"db_id": "mimic_iii", "question": "is heart rate of patient 22648 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "template": "is the heart rate of patient 22648 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 22648, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c3acf1e10ad02bdb5d6fe93"}, {"db_id": "mimic_iii", "question": "the arterial bp [systolic] of patient 18866 last measured on the current icu visit was greater than the second to last value measured on the current icu visit?", "template": "is the arterial bp [systolic] of patient 18866 last measured on the current icu visit greater than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 18866, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "988000f424d5775f275a040c"}, {"db_id": "mimic_iii", "question": "is the arterial bp mean of patient 18866 last measured on the current intensive care unit visit greater than first measured on the current intensive care unit visit?", "template": "is the arterial bp mean of patient 18866 last measured on the current icu visit greater than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 18866, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c671927bee215071c005a1c7"}, {"db_id": "mimic_iii", "question": "the arterial bp [systolic] of patient 14211 last measured on the last icu visit is less than the value first measured on the last icu visit?", "template": "is the arterial bp [systolic] of patient 14211 last measured on the last icu visit less than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14211 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14211 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14211, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "559261b11478952568420e87"}, {"db_id": "mimic_iii", "question": "is the arterial bp mean of patient 31243 second measured on the first intensive care unit visit less than the value first measured on the first intensive care unit visit?", "template": "is the arterial bp mean of patient 31243 second measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31243 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31243 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 31243, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf5ea410b213c854b8749e55"}, {"db_id": "mimic_iii", "question": "compared to last measured on the last icu visit, was the arterial bp [systolic] of patient 29161 greater than the value second to last measured on the last icu visit.", "template": "is the arterial bp [systolic] of patient 29161 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29161 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29161 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 29161, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d7b0f5a8ab52336f51806ed"}, {"db_id": "mimic_iii", "question": "is the arterial bp mean of patient 25300's body last measured on the last intensive care unit visit greater than the value first measured on the last intensive care unit visit?", "template": "is the arterial bp mean of patient 25300 last measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25300 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25300 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 25300, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfda53b6b376526dd14ef86d"}, {"db_id": "mimic_iii", "question": "is patient 20862's heart rate last measured on the last icu visit greater than the first value measured on the last icu visit?", "template": "is the heart rate of patient 20862 last measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20862 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20862 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 20862, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b859f8c962f63f0aef369aef"}, {"db_id": "mimic_iii", "question": "is the value of the arterial bp mean of patient 22120 second measured on the first icu visit greater than first measured on the first icu visit?", "template": "is the arterial bp mean of patient 22120 second measured on the first icu visit greater than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22120 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22120 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 22120, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4b8dcd920fa439e0a6e3f33f"}, {"db_id": "mimic_iii", "question": "heart rate for patient 25733 last measured on the current icu visit is greater than the value second to last measured on the current icu visit?", "template": "is the heart rate of patient 25733 last measured on the current icu visit greater than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 25733, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f4f679c14430aca94bf74628"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 14671 second measured on the current intensive care unit visit less than first measured on the current intensive care unit visit.", "template": "is the heart rate of patient 14671 second measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14671, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2aa9554884b5c87ba8ba5833"}, {"db_id": "mimic_iii", "question": "is the heart rate in patient 22973 last measured on the first icu visit less than first measured on the first icu visit?", "template": "is the heart rate of patient 22973 last measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22973 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22973 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 22973, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74a8763efbe408ceba67816b"}, {"db_id": "mimic_iii", "question": "compared to last measured on the last icu visit, is arterial bp mean of patient 29161 greater than second to last measured on the last icu visit?", "template": "is the arterial bp mean of patient 29161 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29161 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29161 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 29161, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "726d484aecab09f67931fa23"}, {"db_id": "mimic_iii", "question": "is the heart rate value of patient 22753 last measured on the last icu visit less than the value first measured on the last icu visit?", "template": "is the heart rate of patient 22753 last measured on the last icu visit less than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22753 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22753 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 22753}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c52637795c4d73ebaba5dea"}, {"db_id": "mimic_iii", "question": "is the level of arterial bp [diastolic] in patient 14467 last measured on the current icu visit greater than the value second to last measured on the current icu visit?", "template": "is the arterial bp [diastolic] of patient 14467 last measured on the current icu visit greater than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 14467, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c8a827820db29b90a8df9ac"}, {"db_id": "mimic_iii", "question": "compared to last measured on the current intensive care unit visit is the arterial bp mean of patient 18866 less than the value second to last measured on the current intensive care unit visit?", "template": "is the arterial bp mean of patient 18866 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 18866}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0888a12e2536a3a79e07bf3c"}, {"db_id": "mimic_iii", "question": "are heart rate of patient 2518 measured at 2105-12-31 12:00:00 less than measured at 2105-12-31 09:00:00?", "template": "is the heart rate of patient 2518 measured at 2105-12-31 12:00:00 less than the value measured at 2105-12-31 09:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-31 12:00:00' ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-31 09:00:00' )", "value": {"patient_id": 2518, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:less] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1031017929c1459150fc320e"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 32153 less second measured on the current icu visit than it was first measured on the current icu visit?", "template": "is the heart rate of patient 32153 second measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32153 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32153 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 32153}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "271843a3c635ca7de973be9e"}, {"db_id": "mimic_iii", "question": "is patient 23070's heart rate second measured on the last icu visit greater than it was first measured on the last icu visit?", "template": "is the heart rate of patient 23070 second measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 23070, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5dc3a7f661e10e97327117d8"}, {"db_id": "mimic_iii", "question": "is patient 14467's heart rate second measured on the current intensive care unit visit less than than first measured on the current intensive care unit visit?", "template": "is the heart rate of patient 14467 second measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 14467}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e160cb1e5025f4ce3f44de9b"}, {"db_id": "mimic_iii", "question": "the arterial bp [systolic] of patient 8569 measured at 2105-07-31 21:30:00 was less than the value measured at 2105-07-31 19:00:00?", "template": "is the arterial bp [systolic] of patient 8569 measured at 2105-07-31 21:30:00 less than the value measured at 2105-07-31 19:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8569 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-07-31 21:30:00' ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8569 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-07-31 19:00:00' )", "value": {"patient_id": 8569, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:less] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ce372cfa719566ef44ff31f"}, {"db_id": "mimic_iii", "question": "is patient 15945's arterial bp [diastolic] last measured on the last icu visit greater than first measured on the last icu visit?", "template": "is the arterial bp [diastolic] of patient 15945 last measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 15945, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb0ca57d354ef44749090529"}, {"db_id": "mimic_iii", "question": "is the level of heart rate in patient 3911 last measured on the last intensive care unit visit less than the value second to last measured on the last intensive care unit visit?", "template": "is the heart rate of patient 3911 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3911 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3911 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 3911, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d6326ef2d81236fd04580dc7"}, {"db_id": "mimic_iii", "question": "is patient 31615's arterial bp [diastolic] second measured on the last intensive care unit visit greater than the first value measured on the last intensive care unit visit?", "template": "is the arterial bp [diastolic] of patient 31615 second measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31615 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31615 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 31615, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bcf86bb687e17164a9b54aae"}, {"db_id": "mimic_iii", "question": "is the value of the heart rate of patient 23858 last measured on the last icu visit less than second to last measured on the last icu visit?", "template": "is the heart rate of patient 23858 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 23858, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f861324c49c3abe57706978f"}, {"db_id": "mimic_iii", "question": "compared to last measured on the current icu visit is the arterial bp [diastolic] of patient 20898 less than the value second to last measured on the current icu visit?", "template": "is the arterial bp [diastolic] of patient 20898 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 20898, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "41f990c98636512e7530ae19"}, {"db_id": "mimic_iii", "question": "is patient 14671's arterial bp [diastolic] last measured on the current icu visit less than the value first measured on the current icu visit?", "template": "is the arterial bp [diastolic] of patient 14671 last measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14671, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d702e82207e1531db339db21"}, {"db_id": "mimic_iii", "question": "are the arterial bp [systolic] of patient 23930 last measured on the first intensive care unit visit less than first measured on the first intensive care unit visit?", "template": "is the arterial bp [systolic] of patient 23930 last measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23930 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23930 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 23930}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84c2f52340055c7ab09ef65e"}, {"db_id": "mimic_iii", "question": "is patient 1561's heart rate last measured on the current intensive care unit visit less than the value second to last measured on the current intensive care unit visit?", "template": "is the heart rate of patient 1561 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1561, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "005546aa24125a1c9147308f"}, {"db_id": "mimic_iii", "question": "the arterial bp [diastolic] of patient 15447 second measured on the current intensive care unit visit is less than the value first measured on the current intensive care unit visit?", "template": "is the arterial bp [diastolic] of patient 15447 second measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 15447}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3c220ceb60ad94dad66d3201"}, {"db_id": "mimic_iii", "question": "is heart rate of patient 18517 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "template": "is the heart rate of patient 18517 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "heart rate", "patient_id": 18517}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c96b24d9ae61e75a8909f32"}, {"db_id": "mimic_iii", "question": "is patient 10624's heart rate last measured on the first intensive care unit visit greater than than first measured on the first intensive care unit visit?", "template": "is the heart rate of patient 10624 last measured on the first icu visit greater than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 10624, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0fa8388ba762909761d90b1"}, {"db_id": "mimic_iii", "question": "arterial bp [systolic] for patient 22449 last measured on the last icu visit is greater than the value first measured on the last icu visit?", "template": "is the arterial bp [systolic] of patient 22449 last measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22449 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 22449, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "936b0b6c7ba85fd023dea953"}, {"db_id": "mimic_iii", "question": "is the arterial bp [systolic] value of patient 18223 measured at 2104-12-28 08:00:00 less than measured at 2104-12-28 02:00:00?", "template": "is the arterial bp [systolic] of patient 18223 measured at 2104-12-28 08:00:00 less than the value measured at 2104-12-28 02:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18223 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-12-28 08:00:00' ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18223 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2104-12-28 02:00:00' )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 18223}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:less] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6314d3960f953c2324aae300"}, {"db_id": "mimic_iii", "question": "is the arterial bp [diastolic] of patient 24971's body last measured on the first intensive care unit visit greater than the value second to last measured on the first intensive care unit visit?", "template": "is the arterial bp [diastolic] of patient 24971 last measured on the first icu visit greater than the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24971 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24971 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 24971, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d16f363e522ab5ae820f2942"}, {"db_id": "mimic_iii", "question": "is heart rate of patient 1918 last measured on the first intensive care unit visit less than first measured on the first intensive care unit visit?", "template": "is the heart rate of patient 1918 last measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1918 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1918 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 1918}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a5946c37a7b0494631fbb09b"}, {"db_id": "mimic_iii", "question": "is the heart rate value of patient 3369 measured at 2101-01-27 22:30:00 greater than the value measured at 2101-01-27 22:25:00?", "template": "is the heart rate of patient 3369 measured at 2101-01-27 22:30:00 greater than the value measured at 2101-01-27 22:25:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2101-01-27 22:30:00' ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2101-01-27 22:25:00' )", "value": {"patient_id": 3369, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:greater] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1edecdf027a5da15311cf628"}, {"db_id": "mimic_iii", "question": "compared to second measured on the current icu visit is the sao2 of patient 3125 greater than the value first measured on the current icu visit?", "template": "is the sao2 of patient 3125 second measured on the current icu visit greater than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "sao2", "patient_id": 3125}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93c506050b89248d0973da5f"}, {"db_id": "mimic_iii", "question": "arterial bp [diastolic] for patient 20441 measured at 2105-03-02 17:00:00 is greater than the value measured at 2105-03-02 08:00:00?", "template": "is the arterial bp [diastolic] of patient 20441 measured at 2105-03-02 17:00:00 greater than the value measured at 2105-03-02 08:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-03-02 17:00:00' ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-03-02 08:00:00' )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 20441}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:greater] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8af9a9545baf03358440e83"}, {"db_id": "mimic_iii", "question": "the arterial bp [systolic] of patient 12775 last measured on the current intensive care unit visit is greater than the value first measured on the current intensive care unit visit?", "template": "is the arterial bp [systolic] of patient 12775 last measured on the current icu visit greater than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 12775}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ada3ef4ac95bb0f7d63a20ff"}, {"db_id": "mimic_iii", "question": "is patient 26757's heart rate last measured on the last intensive care unit visit greater than it was first measured on the last intensive care unit visit?", "template": "is the heart rate of patient 26757 last measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26757 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26757 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 26757, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a487d7d39d2f691ea067049d"}, {"db_id": "mimic_iii", "question": "is the level of arterial bp [systolic] in patient 9566 last measured on the current icu visit less than the value first measured on the current icu visit?", "template": "is the arterial bp [systolic] of patient 9566 last measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 9566, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "385f62fa2fc00ed9a74e4518"}, {"db_id": "mimic_iii", "question": "compared to last measured on the current icu visit, was the arterial bp [diastolic] of patient 1902 less than the value second to last measured on the current icu visit.", "template": "is the arterial bp [diastolic] of patient 1902 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 1902}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9283776304400f42d649e5fe"}, {"db_id": "mimic_iii", "question": "is the heart rate in patient 3403 last measured on the last icu visit greater than first measured on the last icu visit?", "template": "is the heart rate of patient 3403 last measured on the last icu visit greater than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 3403, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "045db0bfc0303bd4d0217011"}, {"db_id": "mimic_iii", "question": "is the value of the heart rate of patient 31325 second measured on the last intensive care unit visit less than first measured on the last intensive care unit visit?", "template": "is the heart rate of patient 31325 second measured on the last icu visit less than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 31325, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "575572d4b12b5f0cdee28250"}, {"db_id": "mimic_iii", "question": "compared to last measured on the first intensive care unit visit, was the arterial bp [systolic] of patient 16248 less than the value second to last measured on the first intensive care unit visit.", "template": "is the arterial bp [systolic] of patient 16248 last measured on the first icu visit less than the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16248 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16248 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 16248, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f86ce44933dd85ae4a9a4325"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 739 last measured on the current icu visit greater than the value first measured on the current icu visit?", "template": "is the heart rate of patient 739 last measured on the current icu visit greater than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 739}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9cb8d84b56137329c31fd069"}, {"db_id": "mimic_iii", "question": "is patient 10278's arterial bp [systolic] measured at 2105-10-04 16:00:00 less than the value measured at 2105-10-04 13:00:00?", "template": "is the arterial bp [systolic] of patient 10278 measured at 2105-10-04 16:00:00 less than the value measured at 2105-10-04 13:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10278 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-10-04 16:00:00' ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10278 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-10-04 13:00:00' )", "value": {"patient_id": 10278, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:less] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "abcc764708a0013b6619a861"}, {"db_id": "mimic_iii", "question": "is the value of the heart rate of patient 1258 last measured on the last intensive care unit visit greater than second to last measured on the last intensive care unit visit?", "template": "is the heart rate of patient 1258 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1258 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1258 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1258, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d0037a3f607372a12f5cf20"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 30763 last measured on the last intensive care unit visit less than the value second to last measured on the last intensive care unit visit?", "template": "is the heart rate of patient 30763 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30763 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30763 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "heart rate", "patient_id": 30763}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7df4ef826654c2a7685f74c8"}, {"db_id": "mimic_iii", "question": "is the arterial bp [diastolic] in patient 28443 last measured on the current intensive care unit visit greater than second to last measured on the current intensive care unit visit?", "template": "is the arterial bp [diastolic] of patient 28443 last measured on the current icu visit greater than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28443, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f70641ed364e22cff3396614"}, {"db_id": "mimic_iii", "question": "is patient 14054's heart rate second measured on the first icu visit greater than first measured on the first icu visit?", "template": "is the heart rate of patient 14054 second measured on the first icu visit greater than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 14054, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b27b4a3f56f8bb6fc356ca73"}, {"db_id": "mimic_iii", "question": "is the arterial bp mean of patient 15821 last measured on the last intensive care unit visit greater than second to last measured on the last intensive care unit visit?", "template": "is the arterial bp mean of patient 15821 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15821 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15821 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 15821, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1bb39a22fa6f43ed220c1f42"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 23475 measured at 2105-06-29 16:00:00 greater than measured at 2105-06-29 15:00:00?", "template": "is the heart rate of patient 23475 measured at 2105-06-29 16:00:00 greater than the value measured at 2105-06-29 15:00:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23475 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-06-29 16:00:00' ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23475 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-06-29 15:00:00' )", "value": {"patient_id": 23475, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:greater] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8abb7b1948ddea59ddceee6"}, {"db_id": "mimic_iii", "question": "is patient 1561's temperature c (calc) second measured on the current intensive care unit visit greater than it was first measured on the current intensive care unit visit?", "template": "is the temperature c (calc) of patient 1561 second measured on the current icu visit greater than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 1561, "vital_name": "temperature c (calc)"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e316eabc2fa267e86e43a499"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 1902's body last measured on the current intensive care unit visit less than the value second to last measured on the current intensive care unit visit?", "template": "is the heart rate of patient 1902 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1902, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "486dbfed134bbc731bb89370"}, {"db_id": "mimic_iii", "question": "is patient 7112's arterial bp [systolic] last measured on the first icu visit greater than the second to last value measured on the first icu visit?", "template": "is the arterial bp [systolic] of patient 7112 last measured on the first icu visit greater than the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 7112}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "192f2b35b4207ddc5e407d51"}, {"db_id": "mimic_iii", "question": "are the arterial bp mean of patient 17694 last measured on the first intensive care unit visit less than first measured on the first intensive care unit visit?", "template": "is the arterial bp mean of patient 17694 last measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17694 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17694 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 17694, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8d0c4e1b599cfdf5d1eba3c"}, {"db_id": "mimic_iii", "question": "compared to last measured on the last icu visit is the arterial bp [diastolic] of patient 25461 greater than the value second to last measured on the last icu visit?", "template": "is the arterial bp [diastolic] of patient 25461 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 25461}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6e5d2bd1f38c0972ff20ac7"}, {"db_id": "mimic_iii", "question": "is the arterial bp [systolic] of patient 31854's body second measured on the current icu visit less than the value first measured on the current icu visit?", "template": "is the arterial bp [systolic] of patient 31854 second measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 31854}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b0aaf6eeb0e8f476ba54290"}, {"db_id": "mimic_iii", "question": "is the level of heart rate in patient 9241 second measured on the last intensive care unit visit less than the value first measured on the last intensive care unit visit?", "template": "is the heart rate of patient 9241 second measured on the last icu visit less than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9241 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9241 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 9241, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f71ba18868e7b188d8eea02"}, {"db_id": "mimic_iii", "question": "is the arterial bp mean value of patient 26817 last measured on the last icu visit less than second to last measured on the last icu visit?", "template": "is the arterial bp mean of patient 26817 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp mean", "patient_id": 26817}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e6beec72e4cd3738e3ecaca"}, {"db_id": "mimic_iii", "question": "is the level of arterial bp [systolic] in patient 4401 last measured on the current icu visit less than the value first measured on the current icu visit?", "template": "is the arterial bp [systolic] of patient 4401 last measured on the current icu visit less than the first value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 4401, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de5e484b21db9968b3190d77"}, {"db_id": "mimic_iii", "question": "is the arterial bp mean of patient 11914's body last measured on the first intensive care unit visit greater than the value first measured on the first intensive care unit visit?", "template": "is the arterial bp mean of patient 11914 last measured on the first icu visit greater than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11914 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11914 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 11914, "vital_name": "arterial bp mean"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2da90271df24033729723900"}, {"db_id": "mimic_iii", "question": "is the heart rate of patient 25300 last measured on the first icu visit less than second to last measured on the first icu visit.", "template": "is the heart rate of patient 25300 last measured on the first icu visit less than the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25300 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25300 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "heart rate", "patient_id": 25300}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e128143115ffed45234b4301"}, {"db_id": "mimic_iii", "question": "is the value of the heart rate of patient 4401 last measured on the current icu visit less than second to last measured on the current icu visit?", "template": "is the heart rate of patient 4401 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "heart rate", "patient_id": 4401}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8917084aa24f79cc24615d15"}, {"db_id": "mimic_iii", "question": "was the arterial bp [systolic] value of patient 19412 last measured on the first intensive care unit visit greater than the value first measured on the first intensive care unit visit?", "template": "is the arterial bp [systolic] of patient 19412 last measured on the first icu visit greater than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 19412, "vital_name": "arterial bp [systolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "19be177ed387eb81121f5f93"}, {"db_id": "mimic_iii", "question": "is the level of arterial bp [diastolic] in patient 28443 last measured on the current intensive care unit visit greater than the value second to last measured on the current intensive care unit visit?", "template": "is the arterial bp [diastolic] of patient 28443 last measured on the current icu visit greater than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28443, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "be06c24f97c4bee0a3ff215d"}, {"db_id": "mimic_iii", "question": "is the arterial bp [diastolic] of patient 1462 last measured on the last intensive care unit visit greater than second to last measured on the last intensive care unit visit.", "template": "is the arterial bp [diastolic] of patient 1462 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1462 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1462 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 1462, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b51a20f12c94d38efcaf31c4"}, {"db_id": "mimic_iii", "question": "compared to second measured on the first icu visit, is heart rate of patient 13897 greater than first measured on the first icu visit?", "template": "is the heart rate of patient 13897 second measured on the first icu visit greater than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13897 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13897 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 13897, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:greater] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12a0b857eb075cc07548d80d"}, {"db_id": "mimic_iii", "question": "was the heart rate value of patient 28443 last measured on the current intensive care unit visit greater than the value second to last measured on the current intensive care unit visit?", "template": "is the heart rate of patient 28443 last measured on the current icu visit greater than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 28443, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "910c7f6b30f48b28e3d7e809"}, {"db_id": "mimic_iii", "question": "is patient 22753's heart rate last measured on the last icu visit less than than first measured on the last icu visit?", "template": "is the heart rate of patient 22753 last measured on the last icu visit less than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22753 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22753 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 22753}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1611f8cd22c8efd86a8162b"}, {"db_id": "mimic_iii", "question": "heart rate for patient 25233 second measured on the first icu visit is less than the value first measured on the first icu visit?", "template": "is the heart rate of patient 25233 second measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25233 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25233 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "heart rate", "patient_id": 25233}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "85f9c8275c0cb5f07f1d6427"}, {"db_id": "mimic_iii", "question": "is the arterial bp [systolic] of patient 22204 last measured on the last icu visit greater than the value second to last measured on the last icu visit?", "template": "is the arterial bp [systolic] of patient 22204 last measured on the last icu visit greater than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22204 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) > ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22204 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 22204}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "greater", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:greater] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cf65906cd740ae6cb2b1cd4"}, {"db_id": "mimic_iii", "question": "is arterial bp [systolic] of patient 27964 measured at 2105-09-08 16:00:00 less than the value measured at 2105-09-08 15:45:00?", "template": "is the arterial bp [systolic] of patient 27964 measured at 2105-09-08 16:00:00 less than the value measured at 2105-09-08 15:45:00?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27964 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-09-08 16:00:00' ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27964 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-09-08 15:45:00' )", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 27964}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["", "", "", "exact-default", "exact-default"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-default] measured [time_filter_global2:null] [comparison:less] than the [time_filter_exact1:exact-default] value measured [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef22ef8914a89b86b96a09a6"}, {"db_id": "mimic_iii", "question": "are the heart rate of patient 4495 last measured on the first icu visit less than second to last measured on the first icu visit?", "template": "is the heart rate of patient 4495 last measured on the first icu visit less than the second to last value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4495 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4495 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 4495, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48a5f584411a0c20b18796eb"}, {"db_id": "mimic_iii", "question": "is patient 16715's level of heart rate last measured on the last intensive care unit visit less than it was second to last measured on the last intensive care unit visit?", "template": "is the heart rate of patient 16715 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16715 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16715 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 16715, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6d5967fb3f117521241cf46"}, {"db_id": "mimic_iii", "question": "compared to last measured on the last icu visit, is heart rate of patient 7742 less than second to last measured on the last icu visit?", "template": "is the heart rate of patient 7742 last measured on the last icu visit less than the second to last value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7742 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7742 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 7742, "vital_name": "heart rate"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "379b1f2fbbca358789069b9c"}, {"db_id": "mimic_iii", "question": "is the sao2 in patient 739 last measured on the current intensive care unit visit less than second to last measured on the current intensive care unit visit?", "template": "is the sao2 of patient 739 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"vital_name": "sao2", "patient_id": 739}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c15e02156dd65723dc14a667"}, {"db_id": "mimic_iii", "question": "is the arterial bp [diastolic] value of patient 23237 second measured on the last intensive care unit visit less than first measured on the last intensive care unit visit?", "template": "is the arterial bp [diastolic] of patient 23237 second measured on the last icu visit less than the first value measured on the last icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23237 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23237 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 23237}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-last", "rel-icu-last", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-last] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c44ef70746b61fb318f78aa"}, {"db_id": "mimic_iii", "question": "compared to last measured on the current icu visit is the arterial bp [diastolic] of patient 14671 less than the value second to last measured on the current icu visit?", "template": "is the arterial bp [diastolic] of patient 14671 last measured on the current icu visit less than the second to last value measured on the current icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )", "value": {"patient_id": 14671, "vital_name": "arterial bp [diastolic]"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-cur", "rel-icu-cur", "", "exact-second_to_last", "exact-last"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-last] measured [time_filter_global2:rel-icu-cur] [comparison:less] than the [time_filter_exact1:exact-second_to_last] value measured [time_filter_global1:rel-icu-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b34d26c2f06bf30a0c305241"}, {"db_id": "mimic_iii", "question": "compared to second measured on the first intensive care unit visit, was the temperature c (calc) of patient 594 less than the value first measured on the first intensive care unit visit.", "template": "is the temperature c (calc) of patient 594 second measured on the first icu visit less than the first value measured on the first icu visit?", "query": "select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) < ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )", "value": {"patient_id": 594, "vital_name": "temperature c (calc)"}, "q_tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2] measured [time_filter_global2] [comparison] than the [time_filter_exact1] value measured [time_filter_global1]?", "t_tag": ["rel-icu-first", "rel-icu-first", "", "exact-first", "exact-second"], "o_tag": ["", "", "less", "", "", "", "", "", ""], "tag": "is the {vital_name} of patient {patient_id} [time_filter_exact2:exact-second] measured [time_filter_global2:rel-icu-first] [comparison:less] than the [time_filter_exact1:exact-first] value measured [time_filter_global1:rel-icu-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b87790fdd15276c8e271aa7"}, {"db_id": "mimic_iii", "question": "the age of patient 19144 during their first hospital visit?", "template": "what was the age of patient 19144 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 19144 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 19144}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf8b4125b3e10752510ac97c"}, {"db_id": "mimic_iii", "question": "what was the age of patient 99205 in their first hospital visit?", "template": "what was the age of patient 99205 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 99205 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 99205}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "094e10734f59957ceda5bed3"}, {"db_id": "mimic_iii", "question": "how old was patient 1258's age on the last hospital encounter?", "template": "what was the age of patient 1258 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 1258 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 1258}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7536626a9d28a00863da6c6d"}, {"db_id": "mimic_iii", "question": "in the current hospital encounter what is the age of patient 9964?", "template": "what is the age of patient 9964 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 9964 and admissions.dischtime is null", "value": {"patient_id": 9964}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "649238c27286cd22bc5128cc"}, {"db_id": "mimic_iii", "question": "on their last hospital encounter what is patient 96728's age?", "template": "what was the age of patient 96728 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 96728 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 96728}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1395447633b7706923d26a43"}, {"db_id": "mimic_iii", "question": "what age does patient 95892 have in this hospital encounter?", "template": "what is the age of patient 95892 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 95892 and admissions.dischtime is null", "value": {"patient_id": 95892}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "73be25e90b48c14f4f6dacd0"}, {"db_id": "mimic_iii", "question": "what does patient 56502 age be on their first hospital visit?", "template": "what was the age of patient 56502 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 56502 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 56502}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc54d7d7e1bb064c69ee3d8a"}, {"db_id": "mimic_iii", "question": "what is patient 42757's age during their first hospital visit?", "template": "what was the age of patient 42757 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 42757 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 42757}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cd378631a57748d93c214b6"}, {"db_id": "mimic_iii", "question": "what the age of patient 4495 was when they visited the hospital first time?", "template": "what was the age of patient 4495 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 4495 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 4495}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9be10c5b4da3e1c316303ea"}, {"db_id": "mimic_iii", "question": "on their first hospital encounter, how old were patient 61751?", "template": "what was the age of patient 61751 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 61751 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 61751}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b1b32ab05ce69226a84b940"}, {"db_id": "mimic_iii", "question": "on their current hospital encounter how old was patient 12775?", "template": "what is the age of patient 12775 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 12775 and admissions.dischtime is null", "value": {"patient_id": 12775}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a71791a97a844cf73d57dd1"}, {"db_id": "mimic_iii", "question": "what is the age of patient 85169 in the first hospital encounter?", "template": "what was the age of patient 85169 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 85169 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 85169}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da918e4a44119c85c5d664a6"}, {"db_id": "mimic_iii", "question": "how old is patient 69895 during the first hospital encounter?", "template": "what was the age of patient 69895 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 69895 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 69895}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac333a106b20e48c126d9989"}, {"db_id": "mimic_iii", "question": "how old is patient 72364 on the last hospital visit?", "template": "what was the age of patient 72364 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 72364 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 72364}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ffc868208dbad9e13e663e95"}, {"db_id": "mimic_iii", "question": "how old is patient 15945 on this hospital visit?", "template": "what is the age of patient 15945 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 15945 and admissions.dischtime is null", "value": {"patient_id": 15945}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a079c1b9413f373ef225d366"}, {"db_id": "mimic_iii", "question": "in this hospital visit what is the age of patient 95892?", "template": "what is the age of patient 95892 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 95892 and admissions.dischtime is null", "value": {"patient_id": 95892}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6936e3c5436ec9af38cf7f73"}, {"db_id": "mimic_iii", "question": "what was the age of patient 14154 during their current hospital visit?", "template": "what is the age of patient 14154 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 14154 and admissions.dischtime is null", "value": {"patient_id": 14154}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a511822db2704d40e8333e2"}, {"db_id": "mimic_iii", "question": "what age does patient 71192 have on the last hospital encounter?", "template": "what was the age of patient 71192 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 71192 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 71192}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b030261c0864549ce040f09"}, {"db_id": "mimic_iii", "question": "what does patient 594 age be during their last hospital encounter?", "template": "what was the age of patient 594 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 594}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cacd236fd8c3aca26b2463b"}, {"db_id": "mimic_iii", "question": "what was the age of patient 10811 on the current hospital visit?", "template": "what is the age of patient 10811 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 10811 and admissions.dischtime is null", "value": {"patient_id": 10811}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c08dc8929a235798d026d4ed"}, {"db_id": "mimic_iii", "question": "how old is patient 5828 in the current hospital encounter?", "template": "what is the age of patient 5828 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 5828 and admissions.dischtime is null", "value": {"patient_id": 5828}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "94f30a21bf95d93728c3f63f"}, {"db_id": "mimic_iii", "question": "what was the age of patient 77676 during their last hospital visit?", "template": "what was the age of patient 77676 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 77676 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 77676}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e923f2f169594ee87d12b996"}, {"db_id": "mimic_iii", "question": "what the age of patient 11826 was on the current hospital visit?", "template": "what is the age of patient 11826 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 11826 and admissions.dischtime is null", "value": {"patient_id": 11826}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bad4acc9f991cc144a9921c3"}, {"db_id": "mimic_iii", "question": "during the last hospital visit how old was patient 86404?", "template": "what was the age of patient 86404 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 86404 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 86404}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "239dc26a8384a34875189fc5"}, {"db_id": "mimic_iii", "question": "what is patient 58649's age in their last hospital encounter?", "template": "what was the age of patient 58649 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 58649 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 58649}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aa646e0d2b22202e5d794768"}, {"db_id": "mimic_iii", "question": "what does patient 13686 age be in their first hospital visit?", "template": "what was the age of patient 13686 on the first hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 13686 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 13686}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a869e4d821854b4e3793f8c"}, {"db_id": "mimic_iii", "question": "what is patient 3097's age when they came to the hospital last time?", "template": "what was the age of patient 3097 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 3097 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 3097}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce4b1f11675192120c954d62"}, {"db_id": "mimic_iii", "question": "what age does patient 11095 have during their last hospital encounter?", "template": "what was the age of patient 11095 on the last hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 11095 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 11095}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2993fa190823415908df8a2d"}, {"db_id": "mimic_iii", "question": "what was the age of patient 97733 during this hospital encounter?", "template": "what is the age of patient 97733 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 97733 and admissions.dischtime is null", "value": {"patient_id": 97733}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab471ccc3b9ee20d71f97257"}, {"db_id": "mimic_iii", "question": "what the age of patient 14671 was on this hospital encounter?", "template": "what is the age of patient 14671 on the current hospital visit?", "query": "select admissions.age from admissions where admissions.subject_id = 14671 and admissions.dischtime is null", "value": {"patient_id": 14671}, "q_tag": "what is_verb the age of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "884a476875c3f7bdd2cd043f"}, {"db_id": "mimic_iii", "question": "on their current hospital encounter what is patient 31482's health insurance plan?", "template": "what is the name of insurance of patient 31482 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 31482 and admissions.dischtime is null", "value": {"patient_id": 31482}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38c58b76f2fd402838664865"}, {"db_id": "mimic_iii", "question": "during their current hospital encounter what was the insurance name of patient 83062?", "template": "what is the name of insurance of patient 83062 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 83062 and admissions.dischtime is null", "value": {"patient_id": 83062}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8d574f12d9514260f31417b"}, {"db_id": "mimic_iii", "question": "what was patient 6170's insurance plan during this hospital visit.", "template": "what is the name of insurance of patient 6170 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 6170 and admissions.dischtime is null", "value": {"patient_id": 6170}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "981aeccc3ba619e4cef3c167"}, {"db_id": "mimic_iii", "question": "what was the insurance plan of patient 59941 on their first hospital visit?", "template": "what was the name of insurance of patient 59941 on the first hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 59941 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 59941}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5d3c7e4a985b92be0ef87a9"}, {"db_id": "mimic_iii", "question": "what are the name of insurance of patient 29741 in their last hospital visit?", "template": "what was the name of insurance of patient 29741 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 29741 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 29741}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7267a586c3d01ba39ad2179e"}, {"db_id": "mimic_iii", "question": "what's the name of the insurance for patient 18159 on the first hospital visit?", "template": "what was the name of insurance of patient 18159 on the first hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 18159 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 18159}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43197a0ccb2efc07c2dacc3a"}, {"db_id": "mimic_iii", "question": "what did patient 24330's insurance name be in their last hospital encounter?", "template": "what was the name of insurance of patient 24330 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 24330 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 24330}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aaf11db0c74a9a6df1616694"}, {"db_id": "mimic_iii", "question": "what was patient 83709's insurance name on their last hospital encounter?", "template": "what was the name of insurance of patient 83709 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 83709 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 83709}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "60c8bd91235af7c461c805e0"}, {"db_id": "mimic_iii", "question": "during the last hospital visit what is the health insurance of patient 44625?", "template": "what was the name of insurance of patient 44625 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 44625 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 44625}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8ff44a9d8896d33aaef0b4ef"}, {"db_id": "mimic_iii", "question": "what's patient 18159's insurance name in their first hospital encounter?", "template": "what was the name of insurance of patient 18159 on the first hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 18159 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 18159}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99e561e6035b73ae990c4936"}, {"db_id": "mimic_iii", "question": "what the name of the insurance of patient 12797 when they visited the hospital first time?", "template": "what was the name of insurance of patient 12797 on the first hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 12797 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 12797}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a90b48ffda1c2211db605c19"}, {"db_id": "mimic_iii", "question": "what is an insurance plan for patient 138 in the first hospital visit?", "template": "what was the name of insurance of patient 138 on the first hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 138 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 138}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a3c3a4da7ef8666b1fab4a7"}, {"db_id": "mimic_iii", "question": "what is the insurance in patient 17667 during this hospital visit?", "template": "what is the name of insurance of patient 17667 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 17667 and admissions.dischtime is null", "value": {"patient_id": 17667}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "07ebc0a7e1199f593d712ffe"}, {"db_id": "mimic_iii", "question": "what was the insurance name of patient 3125 during their current hospital encounter?", "template": "what is the name of insurance of patient 3125 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 3125 and admissions.dischtime is null", "value": {"patient_id": 3125}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8037bbbaa45768d597607f02"}, {"db_id": "mimic_iii", "question": "what's patient 29741's 'insurance plan' during the last hospital visit?", "template": "what was the name of insurance of patient 29741 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 29741 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 29741}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "718ee13932371e42d430b946"}, {"db_id": "mimic_iii", "question": "tell me the insurance plan for patient 9619 when they came to the hospital last time?", "template": "what was the name of insurance of patient 9619 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 9619 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 9619}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e436a3de9e8c67e7d39ede3"}, {"db_id": "mimic_iii", "question": "what is the name of the health insurance used for patient 78641 when they came to the hospital last time?", "template": "what was the name of insurance of patient 78641 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 78641 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 78641}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9cf3da4012f1630d2b03bc8c"}, {"db_id": "mimic_iii", "question": "what is the insurance plan of patient 11826 in their current hospital visit?", "template": "what is the name of insurance of patient 11826 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 11826 and admissions.dischtime is null", "value": {"patient_id": 11826}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16d3e19def1ace7f0232c47b"}, {"db_id": "mimic_iii", "question": "what are insurance plans for patient 10811 on their current hospital visit?", "template": "what is the name of insurance of patient 10811 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 10811 and admissions.dischtime is null", "value": {"patient_id": 10811}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff00a3b3c6af8d930f4e2e62"}, {"db_id": "mimic_iii", "question": "in the first hospital encounter what are the insurance names of patient 15135?", "template": "what was the name of insurance of patient 15135 on the first hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 15135 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 15135}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "212843747f48992b78fea710"}, {"db_id": "mimic_iii", "question": "what is the name of the insurance of patient 3929 during their current hospital encounter?", "template": "what is the name of insurance of patient 3929 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 3929 and admissions.dischtime is null", "value": {"patient_id": 3929}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9998b56719dddd6b9dcdf0b"}, {"db_id": "mimic_iii", "question": "tell me the insurance plan in place for patient 83709 during their last hospital visit?", "template": "what was the name of insurance of patient 83709 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 83709 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 83709}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a3ef3ace696a60d48a0e3ed"}, {"db_id": "mimic_iii", "question": "whats the name of the insurance for patient 1903 during the last hospital encounter?", "template": "what was the name of insurance of patient 1903 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 1903 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 1903}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "790b656a23c60c841c803074"}, {"db_id": "mimic_iii", "question": "what is the name of insurance for patient 10278 when they came to the hospital last time.", "template": "what was the name of insurance of patient 10278 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 10278 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 10278}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9cec40b5ac4bb3cbd9828488"}, {"db_id": "mimic_iii", "question": "what insurance plan was there in their current hospital encounter for patient 1561?", "template": "what is the name of insurance of patient 1561 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 1561 and admissions.dischtime is null", "value": {"patient_id": 1561}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "13716e5a24da79062ec7d866"}, {"db_id": "mimic_iii", "question": "what is patient 18726's insurance plan in the last hospital encounter.", "template": "what was the name of insurance of patient 18726 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 18726 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 18726}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fab54e580f6d7a95f8032b1d"}, {"db_id": "mimic_iii", "question": "in the first hospital visit what is the health insurance of patient 52342?", "template": "what was the name of insurance of patient 52342 on the first hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 52342 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 52342}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17315793a52a3bb8741a1921"}, {"db_id": "mimic_iii", "question": "what the name of the insurance of patient 22648 on this hospital visit?", "template": "what is the name of insurance of patient 22648 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 22648 and admissions.dischtime is null", "value": {"patient_id": 22648}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87a3ca2eaf3169fe33ff44b9"}, {"db_id": "mimic_iii", "question": "whats patient 40059's insurance plan during this hospital encounter?", "template": "what is the name of insurance of patient 40059 on the current hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 40059 and admissions.dischtime is null", "value": {"patient_id": 40059}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25d330f219bdba90fa94fcc8"}, {"db_id": "mimic_iii", "question": "during their last hospital visit what was the insurance plan of patient 29741?", "template": "what was the name of insurance of patient 29741 on the last hospital visit?", "query": "select admissions.insurance from admissions where admissions.subject_id = 29741 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 29741}, "q_tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3a20a208e248622247059c7"}, {"db_id": "mimic_iii", "question": "during their last hospital visit what was the marital status of patient 19981?", "template": "what was the marital status of patient 19981 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 19981 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 19981}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4b1b9576ccf746e7f551544"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 10624 in this hospital visit.", "template": "what is the marital status of patient 10624 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 10624 and admissions.dischtime is null", "value": {"patient_id": 10624}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7686671599e039f117226627"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 808 in the current hospital encounter?", "template": "what is the marital status of patient 808 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 808 and admissions.dischtime is null", "value": {"patient_id": 808}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a4e4318e9e8fd5477146eda"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 31141 when they came to the hospital last time?", "template": "what was the marital status of patient 31141 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 31141 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 31141}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3809595274619b781c988840"}, {"db_id": "mimic_iii", "question": "what were the marital status of patient 11732 on the last hospital encounter?", "template": "what was the marital status of patient 11732 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 11732 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 11732}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "307e6dfb98bfe4509b647a13"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 43735 on the first hospital encounter.", "template": "what was the marital status of patient 43735 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 43735 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 43735}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f5dde82cd9cf9c84294e015"}, {"db_id": "mimic_iii", "question": "in the last hospital encounter what was the marital status of patient 19144?", "template": "what was the marital status of patient 19144 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 19144 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 19144}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6049f62442c4c7fb84759ae5"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 73713 during the current hospital encounter?", "template": "what is the marital status of patient 73713 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 73713 and admissions.dischtime is null", "value": {"patient_id": 73713}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d3d78c11f3a2c802bed5669"}, {"db_id": "mimic_iii", "question": "in their last hospital encounter what was the marital status of patient 18678?", "template": "what was the marital status of patient 18678 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 18678 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 18678}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b46683744bf768e0e15fb3b7"}, {"db_id": "mimic_iii", "question": "in the last hospital visit what was the marital status of patient 18742?", "template": "what was the marital status of patient 18742 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 18742 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 18742}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5838258012595ad1ac319fd3"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 9519 in their last hospital visit.", "template": "what was the marital status of patient 9519 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 9519 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 9519}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9af950af11011d6f4d95a575"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 20251 during the last hospital visit?", "template": "what was the marital status of patient 20251 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 20251 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 20251}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe3adfaa6f5321760ffaf4b6"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 58932 on their first hospital visit?", "template": "what was the marital status of patient 58932 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 58932 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 58932}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc2c2117580962ecfbdc01e6"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 85169 during their first hospital visit?", "template": "what was the marital status of patient 85169 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 85169 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 85169}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a90aea31f58cd9c120053b01"}, {"db_id": "mimic_iii", "question": "when they visited the hospital first time what was the marital status of patient 44848?", "template": "what was the marital status of patient 44848 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 44848 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 44848}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d28e223821eb6f455d3f4ab2"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 85169 when they visited the hospital first time?", "template": "what was the marital status of patient 85169 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 85169 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 85169}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "afb2febdca15f7223ff2a0c5"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 54281 in the last hospital encounter.", "template": "what was the marital status of patient 54281 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 54281 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 54281}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b5392928b91c701bf9024da5"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 43052 during the first hospital encounter?", "template": "what was the marital status of patient 43052 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 43052 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 43052}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d10ef5c0384b59ae712b29c2"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 10855 on their current hospital visit.", "template": "what is the marital status of patient 10855 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 10855 and admissions.dischtime is null", "value": {"patient_id": 10855}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e31f7465a73a57980d279de"}, {"db_id": "mimic_iii", "question": "in the last hospital encounter what was the marital status of patient 88441?", "template": "what was the marital status of patient 88441 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 88441 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 88441}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a86ebe67ee52b931117c9428"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 19894 on their first hospital visit?", "template": "what was the marital status of patient 19894 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 19894 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 19894}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c07be368202aa95dd1d44863"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 3273 on their first hospital encounter?", "template": "what was the marital status of patient 3273 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 3273 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 3273}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "957273bb8860e56cded9d8a5"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 5878 on the first hospital visit?", "template": "what was the marital status of patient 5878 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 5878 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 5878}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7caa0a0fe1450bcf320e84d7"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 45321 on their first hospital visit?", "template": "what was the marital status of patient 45321 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 45321 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 45321}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6c4b35e58740f5f74e4f7358"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 28447 during their current hospital encounter?", "template": "what is the marital status of patient 28447 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 28447 and admissions.dischtime is null", "value": {"patient_id": 28447}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2085ec07bec2671530dfbe99"}, {"db_id": "mimic_iii", "question": "what were the marital status of patient 26175 on their last hospital visit?", "template": "what was the marital status of patient 26175 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 26175 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 26175}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90237a694a3f3e56d574dca3"}, {"db_id": "mimic_iii", "question": "during the first hospital visit what was the marital status of patient 96728?", "template": "what was the marital status of patient 96728 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 96728 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 96728}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62b444620f116ec1da70f6d3"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 90165 during the first hospital encounter?", "template": "what was the marital status of patient 90165 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 90165 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 90165}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "13b5aeef4c1a91f7b6609ea3"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 808 in their current hospital encounter?", "template": "what is the marital status of patient 808 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 808 and admissions.dischtime is null", "value": {"patient_id": 808}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b42bc9f20484e0427f67667"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 25997 on their last hospital encounter.", "template": "what was the marital status of patient 25997 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 25997 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 25997}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57cf18fc50bc0db417d2c04f"}, {"db_id": "mimic_iii", "question": "on their last hospital visit what was the marital status of patient 25461?", "template": "what was the marital status of patient 25461 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 25461 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 25461}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b8da2ab06fd82a3b2792863"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 19894 in their first hospital encounter.", "template": "what was the marital status of patient 19894 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 19894 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 19894}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5873925773e9c5e50bc6e527"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 81871 in the first hospital encounter?", "template": "what was the marital status of patient 81871 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 81871 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 81871}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1bda7e1fbde9d6c3804402ed"}, {"db_id": "mimic_iii", "question": "in their last hospital visit what was the marital status of patient 26175?", "template": "what was the marital status of patient 26175 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 26175 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 26175}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "35b036dbe9f8574f0f94361d"}, {"db_id": "mimic_iii", "question": "on this hospital visit what was the marital status of patient 55360?", "template": "what is the marital status of patient 55360 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 55360 and admissions.dischtime is null", "value": {"patient_id": 55360}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c10903528882783caf8bc19b"}, {"db_id": "mimic_iii", "question": "in their first hospital visit what was the marital status of patient 19981?", "template": "what was the marital status of patient 19981 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 19981 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 19981}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d0567848c0a5d60feb23fed3"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 17667 in the current hospital encounter?", "template": "what is the marital status of patient 17667 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 17667 and admissions.dischtime is null", "value": {"patient_id": 17667}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d600982c3d5e6e85c0408d5c"}, {"db_id": "mimic_iii", "question": "what were the marital status of patient 28277 on the first hospital visit?", "template": "what was the marital status of patient 28277 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 28277 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 28277}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eceef1ae72692e387c8f5a13"}, {"db_id": "mimic_iii", "question": "what were the marital status of patient 44848 in the first hospital encounter?", "template": "what was the marital status of patient 44848 on the first hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 44848 and admissions.dischtime is not null order by admissions.admittime asc limit 1", "value": {"patient_id": 44848}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "085fd8180da204e0ca82d223"}, {"db_id": "mimic_iii", "question": "what was the marital status of patient 10855 in their current hospital encounter?", "template": "what is the marital status of patient 10855 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 10855 and admissions.dischtime is null", "value": {"patient_id": 10855}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cad34e5af9ae49a061c2b9a6"}, {"db_id": "mimic_iii", "question": "what were the marital status of patient 40967 in their last hospital visit?", "template": "what was the marital status of patient 40967 on the last hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 40967 and admissions.dischtime is not null order by admissions.admittime desc limit 1", "value": {"patient_id": 40967}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33e2ae7ddc82c74e14a07261"}, {"db_id": "mimic_iii", "question": "on this hospital encounter what was the marital status of patient 99883?", "template": "what is the marital status of patient 99883 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 99883 and admissions.dischtime is null", "value": {"patient_id": 99883}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "67238b0935822ae38614c9f4"}, {"db_id": "mimic_iii", "question": "what is the marital status of patient 17462 during the current hospital visit?", "template": "what is the marital status of patient 17462 on the current hospital visit?", "query": "select admissions.marital_status from admissions where admissions.subject_id = 17462 and admissions.dischtime is null", "value": {"patient_id": 17462}, "q_tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84e60bcaf3eccd2632e98c22"}, {"db_id": "mimic_iii", "question": "what is the percentile of 73.0 in the laboratory platelet count test given the same age of patient 18223 during their first hospital visit?", "template": "what percentile is the value of 73.0 in a platelet count lab test among patients of the same age as patient 18223 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 18223 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 73.0", "value": {"patient_id": 18223, "lab_name": "platelet count", "lab_value": "73.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ebc791fd773e83db1400d6b2"}, {"db_id": "mimic_iii", "question": "what is the percentile value of creatinine 0.3 among patients of the same age as patient 88401 on the first hospital visit?", "template": "what percentile is the value of 0.3 in a creatinine lab test among patients of the same age as patient 88401 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 88401 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 0.3", "value": {"patient_id": 88401, "lab_name": "creatinine", "lab_value": "0.3"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a8e533f8ccb87e1ae23cace1"}, {"db_id": "mimic_iii", "question": "what is the percentile of 2.0 in a base excess laboratory test given the same age of patient 17462 during the current hospital encounter?", "template": "what percentile is the value of 2.0 in a base excess lab test among patients of the same age as patient 17462 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 17462 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 2.0", "value": {"patient_id": 17462, "lab_name": "base excess", "lab_value": "2.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d3ed890bbfa95c36cd056db"}, {"db_id": "mimic_iii", "question": "what is the percentile of 75.0 of a po2 lab test based on the same age of patient 6170 during this hospital encounter?", "template": "what percentile is the value of 75.0 in a po2 lab test among patients of the same age as patient 6170 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 75.0", "value": {"patient_id": 6170, "lab_name": "po2", "lab_value": "75.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d05ace7018481889ba93701"}, {"db_id": "mimic_iii", "question": "what percentile is the value of the rdw of 14.3 among patients of the same age as patient 25723 when they visited the hospital first time?", "template": "what percentile is the value of 14.3 in a rdw lab test among patients of the same age as patient 25723 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 25723 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 14.3", "value": {"patient_id": 25723, "lab_name": "rdw", "lab_value": "14.3"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "41304e5cdc26a68ae17e2a9f"}, {"db_id": "mimic_iii", "question": "what percentile of the bilirubin, indirect value of 0.6 is within the same age as patient 13054 during the current hospital visit?", "template": "what percentile is the value of 0.6 in a bilirubin, indirect lab test among patients of the same age as patient 13054 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, indirect' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 13054 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 0.6", "value": {"patient_id": 13054, "lab_name": "bilirubin, indirect", "lab_value": "0.6"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdd798cd0636fbec939078ce"}, {"db_id": "mimic_iii", "question": "what is the percentile of 51.0 for a urea nitrogen lab test given the same age as patient 61683 in the last hospital visit?", "template": "what percentile is the value of 51.0 in a urea nitrogen lab test among patients of the same age as patient 61683 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 61683 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 51.0", "value": {"patient_id": 61683, "lab_name": "urea nitrogen", "lab_value": "51.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "414e8ebcf7e16f625bc6efb0"}, {"db_id": "mimic_iii", "question": "what is the percentile 109.0 in the laboratory test of chloride with regard to the same age of patient 15986 in their current hospital encounter?", "template": "what percentile is the value of 109.0 in a chloride lab test among patients of the same age as patient 15986 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 15986 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 109.0", "value": {"patient_id": 15986, "lab_name": "chloride", "lab_value": "109.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0002485edec4a0a10eca92de"}, {"db_id": "mimic_iii", "question": "what percentile of sodium is 144.0 in patients of the same age as patient 97330 on the current hospital encounter?", "template": "what percentile is the value of 144.0 in a sodium lab test among patients of the same age as patient 97330 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 144.0", "value": {"patient_id": 97330, "lab_name": "sodium", "lab_value": "144.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cca1110af338ce22cc99afaf"}, {"db_id": "mimic_iii", "question": "what is the percentile of 9.8 in a calcium, total lab test conducted at the same age of patient 40059 in this hospital encounter?", "template": "what percentile is the value of 9.8 in a calcium, total lab test among patients of the same age as patient 40059 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 40059 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 9.8", "value": {"patient_id": 40059, "lab_name": "calcium, total", "lab_value": "9.8"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b7aa18f4087e4acc0236e1e"}, {"db_id": "mimic_iii", "question": "what is the percentile of 39.3 of hematocrit in a lab test for the same age of patient 9833 in the first hospital encounter?", "template": "what percentile is the value of 39.3 in a hematocrit lab test among patients of the same age as patient 9833 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 9833 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 39.3", "value": {"patient_id": 9833, "lab_name": "hematocrit", "lab_value": "39.3"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b44c3d8db69105938730bb83"}, {"db_id": "mimic_iii", "question": "what is the percentile of 106.0 in an chloride lab test given the same age of patient 462 when they came to the hospital last time?", "template": "what percentile is the value of 106.0 in a chloride lab test among patients of the same age as patient 462 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 462 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 106.0", "value": {"patient_id": 462, "lab_name": "chloride", "lab_value": "106.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "115c0a08f8966619f2018195"}, {"db_id": "mimic_iii", "question": "what is the red blood cells percentile of 3.88 among patients of the same age as patient 27146 in the current hospital encounter?", "template": "what percentile is the value of 3.88 in a red blood cells lab test among patients of the same age as patient 27146 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 27146 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 3.88", "value": {"patient_id": 27146, "lab_name": "red blood cells", "lab_value": "3.88"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f6d911d4c9d1f93a390e6e91"}, {"db_id": "mimic_iii", "question": "tell me the percentile for sodium of 140.0 among patients in the same age as patient 3125 on the current hospital encounter?", "template": "what percentile is the value of 140.0 in a sodium lab test among patients of the same age as patient 3125 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 140.0", "value": {"patient_id": 3125, "lab_name": "sodium", "lab_value": "140.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0fb30c0857a11f45578ac929"}, {"db_id": "mimic_iii", "question": "what is the percentile mcv value of 91.0 among patients of the same age as patient 83709 in their last hospital encounter?", "template": "what percentile is the value of 91.0 in a mcv lab test among patients of the same age as patient 83709 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 83709 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 91.0", "value": {"patient_id": 83709, "lab_name": "mcv", "lab_value": "91.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "039b02bafeab32a215de9c4e"}, {"db_id": "mimic_iii", "question": "what is the percentile for the phosphate 3.6 among patients of the same age as patient 51497 on their last hospital visit.", "template": "what percentile is the value of 3.6 in a phosphate lab test among patients of the same age as patient 51497 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 51497 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 3.6", "value": {"patient_id": 51497, "lab_name": "phosphate", "lab_value": "3.6"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9eeb93a8de7982ac0ddb0a3"}, {"db_id": "mimic_iii", "question": "what is the percentile of the hemoglobin value of 7.8 among patient 71558's of the same age as the patient during their current hospital encounter?", "template": "what percentile is the value of 7.8 in a hemoglobin lab test among patients of the same age as patient 71558 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 71558 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 7.8", "value": {"patient_id": 71558, "lab_name": "hemoglobin", "lab_value": "7.8"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5d16c50afe8a5d890feb484"}, {"db_id": "mimic_iii", "question": "tell me the percentile of chloride of 101.0 in patients of same age as patient 20165 during the first hospital encounter?", "template": "what percentile is the value of 101.0 in a chloride lab test among patients of the same age as patient 20165 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 20165 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 101.0", "value": {"patient_id": 20165, "lab_name": "chloride", "lab_value": "101.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c91b06de2a786b16d2638c70"}, {"db_id": "mimic_iii", "question": "what is the percentile of 246.0 in a lab test of platelet count given the same age of patient 8016 during their first hospital visit?", "template": "what percentile is the value of 246.0 in a platelet count lab test among patients of the same age as patient 8016 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 8016 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 246.0", "value": {"patient_id": 8016, "lab_name": "platelet count", "lab_value": "246.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cbe8ba84f0d7c34b22978411"}, {"db_id": "mimic_iii", "question": "tell me the percentile of a magnesium level of 1.6 in patients of the same age as patient 25523 on their first hospital encounter?", "template": "what percentile is the value of 1.6 in a magnesium lab test among patients of the same age as patient 25523 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 25523 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 1.6", "value": {"patient_id": 25523, "lab_name": "magnesium", "lab_value": "1.6"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "26058bc3f1e8e633e655b7c1"}, {"db_id": "mimic_iii", "question": "what is the percentile of 639.0 in a laboratory lactate dehydrogenase (ld) test given the same as patient 59473's age in their first hospital encounter?", "template": "what percentile is the value of 639.0 in a lactate dehydrogenase (ld) lab test among patients of the same age as patient 59473 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate dehydrogenase (ld)' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 59473 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 639.0", "value": {"patient_id": 59473, "lab_name": "lactate dehydrogenase (ld)", "lab_value": "639.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81202091a139cf380acff93e"}, {"db_id": "mimic_iii", "question": "tell me the percentile value of the po2 value of 75.0 among patients of the same age as patient 30976 during the last hospital encounter?", "template": "what percentile is the value of 75.0 in a po2 lab test among patients of the same age as patient 30976 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 30976 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 75.0", "value": {"patient_id": 30976, "lab_name": "po2", "lab_value": "75.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac58346a64c8287fbb4aa44c"}, {"db_id": "mimic_iii", "question": "what percentile is a bicarbonate value of 28.0 among patients of the same age as patient 72647 on the last hospital encounter?", "template": "what percentile is the value of 28.0 in a bicarbonate lab test among patients of the same age as patient 72647 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 72647 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 28.0", "value": {"patient_id": 72647, "lab_name": "bicarbonate", "lab_value": "28.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1796ed469e2fe46c630f143e"}, {"db_id": "mimic_iii", "question": "what percentile is the anion gap of 12.0 for patients of the same age as patient 97330 in their current hospital encounter?", "template": "what percentile is the value of 12.0 in a anion gap lab test among patients of the same age as patient 97330 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 12.0", "value": {"patient_id": 97330, "lab_name": "anion gap", "lab_value": "12.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1746d5b0acb7e46689567412"}, {"db_id": "mimic_iii", "question": "what is the percentile of 89.1 in a laboratory test of neutrophils with the same age as patient 10431 in the last hospital encounter?", "template": "what percentile is the value of 89.1 in a neutrophils lab test among patients of the same age as patient 10431 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 10431 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 89.1", "value": {"patient_id": 10431, "lab_name": "neutrophils", "lab_value": "89.1"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "07c0bbba49ca507446bb058c"}, {"db_id": "mimic_iii", "question": "what percentile is the calculated total co2 value of 32.0 in the same age group as patient 25847 during the first hospital encounter?", "template": "what percentile is the value of 32.0 in a calculated total co2 lab test among patients of the same age as patient 25847 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 25847 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 32.0", "value": {"patient_id": 25847, "lab_name": "calculated total co2", "lab_value": "32.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c90fa97615df990280ea5c1"}, {"db_id": "mimic_iii", "question": "what are the percentile of 3.4 in a phosphate lab test given the same age of patient 79348 in their first hospital encounter?", "template": "what percentile is the value of 3.4 in a phosphate lab test among patients of the same age as patient 79348 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 79348 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 3.4", "value": {"patient_id": 79348, "lab_name": "phosphate", "lab_value": "3.4"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5573927e33298894e327bbbe"}, {"db_id": "mimic_iii", "question": "what is the percentile of 10.5 in a lab test of hemoglobin given the same age of patient 95968 when they came to the hospital first time?", "template": "what percentile is the value of 10.5 in a hemoglobin lab test among patients of the same age as patient 95968 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 95968 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 10.5", "value": {"patient_id": 95968, "lab_name": "hemoglobin", "lab_value": "10.5"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ba0c5afc730ec8afd28243b"}, {"db_id": "mimic_iii", "question": "what is the percentile of 140.0 in the laboratory test with sodium at the same age of patient 3125 on their current hospital encounter?", "template": "what percentile is the value of 140.0 in a sodium lab test among patients of the same age as patient 3125 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 140.0", "value": {"patient_id": 3125, "lab_name": "sodium", "lab_value": "140.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ade83f862fd690aa50a9eaf6"}, {"db_id": "mimic_iii", "question": "what's the percentile of 285.0 in a platelet count lab test at the same age as patient 458 in their last hospital encounter?", "template": "what percentile is the value of 285.0 in a platelet count lab test among patients of the same age as patient 458 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 458 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 285.0", "value": {"patient_id": 458, "lab_name": "platelet count", "lab_value": "285.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "583e9d772cde150ac9966f26"}, {"db_id": "mimic_iii", "question": "tell me the percentile of hematocrit 35.0 among all patients of the same age as patient 99791 on their first hospital visit?", "template": "what percentile is the value of 35.0 in a hematocrit lab test among patients of the same age as patient 99791 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 99791 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 35.0", "value": {"patient_id": 99791, "lab_name": "hematocrit", "lab_value": "35.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5dfee1be287fc8a4a464e32"}, {"db_id": "mimic_iii", "question": "what percentile is 66.0 calculated total co2 in a patient of the same age as patient 26469 on their first hospital visit?", "template": "what percentile is the value of 66.0 in a calculated total co2 lab test among patients of the same age as patient 26469 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 26469 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 66.0", "value": {"patient_id": 26469, "lab_name": "calculated total co2", "lab_value": "66.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a35a1673f155f5f675b261c"}, {"db_id": "mimic_iii", "question": "what was the percentile of 7.9 in the white blood cells lab test with the same age of patient 46484 during their first hospital visit?", "template": "what percentile is the value of 7.9 in a white blood cells lab test among patients of the same age as patient 46484 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 46484 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 7.9", "value": {"patient_id": 46484, "lab_name": "white blood cells", "lab_value": "7.9"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3555b9efeae316f38fe5872e"}, {"db_id": "mimic_iii", "question": "what percentile of a red blood cells is at 4.1 among a patient at the same age as patient 65582 in their current hospital encounter?", "template": "what percentile is the value of 4.1 in a red blood cells lab test among patients of the same age as patient 65582 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 4.1", "value": {"patient_id": 65582, "lab_name": "red blood cells", "lab_value": "4.1"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14b828a545de937c65dd4fcc"}, {"db_id": "mimic_iii", "question": "what percentile of the urea nitrogen value is 26.0 among patients of the same age as patient 1269 on their last hospital encounter?", "template": "what percentile is the value of 26.0 in a urea nitrogen lab test among patients of the same age as patient 1269 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 1269 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 26.0", "value": {"patient_id": 1269, "lab_name": "urea nitrogen", "lab_value": "26.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9dfff107f737fae5548c35d9"}, {"db_id": "mimic_iii", "question": "how the percentile is the pt value of 13.8 among patients of the same age as patient 32163 during the last hospital visit?", "template": "what percentile is the value of 13.8 in a pt lab test among patients of the same age as patient 32163 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 32163 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 13.8", "value": {"patient_id": 32163, "lab_name": "pt", "lab_value": "13.8"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "965c48a2620210c27d722bff"}, {"db_id": "mimic_iii", "question": "what is the percentile of 32.1 in mch given the same age of patient 91768 during the first hospital visit?", "template": "what percentile is the value of 32.1 in a mch lab test among patients of the same age as patient 91768 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 91768 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 32.1", "value": {"patient_id": 91768, "lab_name": "mch", "lab_value": "32.1"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3ad19affb5bb14736251830"}, {"db_id": "mimic_iii", "question": "tell me the percentile of rdw worth 13.4 for patients of the same age as patient 84346 during the last hospital visit?", "template": "what percentile is the value of 13.4 in a rdw lab test among patients of the same age as patient 84346 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 84346 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 13.4", "value": {"patient_id": 84346, "lab_name": "rdw", "lab_value": "13.4"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "987f1088ac3f73013abf1bc1"}, {"db_id": "mimic_iii", "question": "what percentile of the po2 value is a 75.0 among a patient of the same age as patient 6170 on this hospital encounter?", "template": "what percentile is the value of 75.0 in a po2 lab test among patients of the same age as patient 6170 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 75.0", "value": {"patient_id": 6170, "lab_name": "po2", "lab_value": "75.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ebc5b5945e82022d3eb160c"}, {"db_id": "mimic_iii", "question": "tell me the percentile of glucose of 180.0 between patients of the same age as patient 14467 on this hospital encounter?", "template": "what percentile is the value of 180.0 in a glucose lab test among patients of the same age as patient 14467 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 14467 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 180.0", "value": {"patient_id": 14467, "lab_name": "glucose", "lab_value": "180.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6af2c1b0dc6888ff6a8b8942"}, {"db_id": "mimic_iii", "question": "what percentile is the value of the anion gap in 12.0 among patients of the same age as patient 5252 in their first hospital encounter?", "template": "what percentile is the value of 12.0 in a anion gap lab test among patients of the same age as patient 5252 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 5252 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 12.0", "value": {"patient_id": 5252, "lab_name": "anion gap", "lab_value": "12.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c93d43513497cbb7c843ce76"}, {"db_id": "mimic_iii", "question": "what is the percentile of 32.5 for a hematocrit test given the same age of patient 76372 during the current hospital encounter?", "template": "what percentile is the value of 32.5 in a hematocrit lab test among patients of the same age as patient 76372 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 76372 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 32.5", "value": {"patient_id": 76372, "lab_name": "hematocrit", "lab_value": "32.5"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2986e171640469c28c087741"}, {"db_id": "mimic_iii", "question": "what is the percentile hematocrit value of 32.7 among patients of the same age as patient 41393 when they came to the hospital last time?", "template": "what percentile is the value of 32.7 in a hematocrit lab test among patients of the same age as patient 41393 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 41393 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 32.7", "value": {"patient_id": 41393, "lab_name": "hematocrit", "lab_value": "32.7"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "405ef0c2339ead9c569f4a71"}, {"db_id": "mimic_iii", "question": "what was the percentile of 18.9 in the rdw lab test with the same age of patient 7112 during this hospital encounter?", "template": "what percentile is the value of 18.9 in a rdw lab test among patients of the same age as patient 7112 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 18.9", "value": {"patient_id": 7112, "lab_name": "rdw", "lab_value": "18.9"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5747749448cb78a4e797b25"}, {"db_id": "mimic_iii", "question": "what is the percentile of 15.9 in the laboratory test with rdw at the same age of patient 78086 on the first hospital visit?", "template": "what percentile is the value of 15.9 in a rdw lab test among patients of the same age as patient 78086 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 78086 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 15.9", "value": {"patient_id": 78086, "lab_name": "rdw", "lab_value": "15.9"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c2ee0b94c8c69fc3e4d3a0f"}, {"db_id": "mimic_iii", "question": "what was the percentile of 21.3 in the vancomycin lab test with the same age of patient 99791 in their first hospital visit?", "template": "what percentile is the value of 21.3 in a vancomycin lab test among patients of the same age as patient 99791 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'vancomycin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 99791 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 21.3", "value": {"patient_id": 99791, "lab_name": "vancomycin", "lab_value": "21.3"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82486c35dabe2ad07ce1c2dc"}, {"db_id": "mimic_iii", "question": "what is the percentile of 13.8 for a white blood cells test given the same age of patient 96833 on their current hospital encounter?", "template": "what percentile is the value of 13.8 in a white blood cells lab test among patients of the same age as patient 96833 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 13.8", "value": {"patient_id": 96833, "lab_name": "white blood cells", "lab_value": "13.8"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "91d5671dd9134e10354bd074"}, {"db_id": "mimic_iii", "question": "how the percentile is the glucose value of 83.0 among patients of the same age as patient 42473 on the current hospital visit?", "template": "what percentile is the value of 83.0 in a glucose lab test among patients of the same age as patient 42473 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 83.0", "value": {"patient_id": 42473, "lab_name": "glucose", "lab_value": "83.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc70c04fdefbc366d5cf19ef"}, {"db_id": "mimic_iii", "question": "what is the percentile of 11.8 in a rdw laboratory test given the same age of patient 1784 in the current hospital visit?", "template": "what percentile is the value of 11.8 in a rdw lab test among patients of the same age as patient 1784 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 1784 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 11.8", "value": {"patient_id": 1784, "lab_name": "rdw", "lab_value": "11.8"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9d6bcfa8bac2f346fde601b"}, {"db_id": "mimic_iii", "question": "what are the percentile of 83.0 in a glucose lab test given the same age of patient 42473 during their current hospital visit?", "template": "what percentile is the value of 83.0 in a glucose lab test among patients of the same age as patient 42473 on the current hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 83.0", "value": {"patient_id": 42473, "lab_name": "glucose", "lab_value": "83.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a856fa670aabf3e7efbe233"}, {"db_id": "mimic_iii", "question": "tell me the percentile of mcv 90.0 among all patients of the same age as patient 17944 in the last hospital visit?", "template": "what percentile is the value of 90.0 in a mcv lab test among patients of the same age as patient 17944 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 17944 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 90.0", "value": {"patient_id": 17944, "lab_name": "mcv", "lab_value": "90.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5660839e60cb06d5132178c"}, {"db_id": "mimic_iii", "question": "what is the percentile of 3.4 in phosphate given the same age of patient 79348 during the first hospital visit?", "template": "what percentile is the value of 3.4 in a phosphate lab test among patients of the same age as patient 79348 on the first hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 79348 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 3.4", "value": {"patient_id": 79348, "lab_name": "phosphate", "lab_value": "3.4"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ae3575cb522216045ecbbd23"}, {"db_id": "mimic_iii", "question": "what is the percentile of 30.0 in a laboratory bicarbonate test given the same as patient 77177's age during the last hospital encounter?", "template": "what percentile is the value of 30.0 in a bicarbonate lab test among patients of the same age as patient 77177 on the last hospital visit?", "query": "select distinct t1.c1 from ( select labevents.valuenum, percent_rank() over ( order by labevents.valuenum ) as c1 from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.age = ( select admissions.age from admissions where admissions.subject_id = 77177 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 30.0", "value": {"patient_id": 77177, "lab_name": "bicarbonate", "lab_value": "30.0"}, "q_tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what percentile is the value of {lab_value} in a {lab_name} lab test among patients of the same age as patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9843a131fd25aecac689981e"}, {"db_id": "mimic_iii", "question": "how many days is it since patient 83062's hospital admission?", "template": "how many days have passed since patient 83062 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 83062 and admissions.dischtime is null", "value": {"patient_id": 83062}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c3973c50ab6b0f0dec505f3"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the hospital admission of patient 55360?", "template": "how many hours have passed since patient 55360 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 55360 and admissions.dischtime is null", "value": {"patient_id": 55360}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7194b3e5751b4b18a80d5d5b"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 15447 was admitted into the hospital?", "template": "how many hours have passed since patient 15447 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 15447 and admissions.dischtime is null", "value": {"patient_id": 15447}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c1dbe93343e6fd23827dc82"}, {"db_id": "mimic_iii", "question": "how many days have it been since the time patient 68280 was admitted to hospital?", "template": "how many days have passed since patient 68280 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 68280 and admissions.dischtime is null", "value": {"patient_id": 68280}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5a2bad92db91495adad8610"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 97395 was admitted to the hospital?", "template": "how many days have passed since patient 97395 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 97395 and admissions.dischtime is null", "value": {"patient_id": 97395}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac55cdd526f91ab8b8851b83"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 55360's hospital admission?", "template": "how many days have passed since patient 55360 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 55360 and admissions.dischtime is null", "value": {"patient_id": 55360}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cd0b764bb170e41b2d95481"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 94229 was admitted in hospital?", "template": "how many days have passed since patient 94229 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 94229 and admissions.dischtime is null", "value": {"patient_id": 94229}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "302845415e7ccb195b6cca87"}, {"db_id": "mimic_iii", "question": "how many hours has time elapsed since patient 18866's hospital admission?", "template": "how many hours have passed since patient 18866 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 18866 and admissions.dischtime is null", "value": {"patient_id": 18866}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "512582232710a580b1c8ac12"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 10811 was admitted for to the hospital?", "template": "how many days have passed since patient 10811 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 10811 and admissions.dischtime is null", "value": {"patient_id": 10811}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5bd7ef9e2a9b7c3f7c20f7de"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 5828 has been admitted to the hospital?", "template": "how many days have passed since patient 5828 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 5828 and admissions.dischtime is null", "value": {"patient_id": 5828}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69c0487f3780da4b525a0d78"}, {"db_id": "mimic_iii", "question": "how many days have it been since patient 2518 was admitted into the hospital?", "template": "how many days have passed since patient 2518 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 2518 and admissions.dischtime is null", "value": {"patient_id": 2518}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f404b25cb470fe7cab0d898a"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since patient 14467 was admitted to the hospital?", "template": "how many hours have passed since patient 14467 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 14467 and admissions.dischtime is null", "value": {"patient_id": 14467}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fda8146e51229a3f8fd96d0e"}, {"db_id": "mimic_iii", "question": "how many hours had it been since patient 57050 was admitted to the hospital?", "template": "how many hours have passed since patient 57050 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 57050 and admissions.dischtime is null", "value": {"patient_id": 57050}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80e83ca849bd14f95af3c58e"}, {"db_id": "mimic_iii", "question": "i mean, how many hours has it been since patient 19412 was admitted to the hospital?", "template": "how many hours have passed since patient 19412 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 19412 and admissions.dischtime is null", "value": {"patient_id": 19412}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c688ab53b845d59124c4a94b"}, {"db_id": "mimic_iii", "question": "how many days have pass since patient 11826 was admitted to the hospital?", "template": "how many days have passed since patient 11826 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 11826 and admissions.dischtime is null", "value": {"patient_id": 11826}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f0e4a08d5c0a782a4919aa0"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since patient 15447 was admitted to hospital?", "template": "how many hours have passed since patient 15447 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 15447 and admissions.dischtime is null", "value": {"patient_id": 15447}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "23d2c90373a3c0510a4e303a"}, {"db_id": "mimic_iii", "question": "what is the total number of hours since patient 97395 was admitted to the hospital?", "template": "how many hours have passed since patient 97395 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 97395 and admissions.dischtime is null", "value": {"patient_id": 97395}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b7d48abcb636bf6401816314"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 99883 was admitted for in the hospital?", "template": "how many hours have passed since patient 99883 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 99883 and admissions.dischtime is null", "value": {"patient_id": 99883}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6d410bdedfe2fe7dd94c9d5"}, {"db_id": "mimic_iii", "question": "what number of days has passed since patient 6170 was admitted to the hospital?", "template": "how many days have passed since patient 6170 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 6170 and admissions.dischtime is null", "value": {"patient_id": 6170}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36aad88475b179a5c605834e"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 92788 had an admission to the hospital?", "template": "how many days have passed since patient 92788 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 92788 and admissions.dischtime is null", "value": {"patient_id": 92788}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3df88e6a1d62d6819ce6706d"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 73713 was admitted to the hospital?", "template": "how many hours have passed since patient 73713 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 73713 and admissions.dischtime is null", "value": {"patient_id": 73713}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20f9c6cd4acdd706ff3fc1fb"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 12726 was admitted to hospital?", "template": "how many hours have passed since patient 12726 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 12726 and admissions.dischtime is null", "value": {"patient_id": 12726}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd5459e26cf5654ee8090c77"}, {"db_id": "mimic_iii", "question": "how many hours have there been since patient 94229 was admitted to the hospital for?", "template": "how many hours have passed since patient 94229 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 94229 and admissions.dischtime is null", "value": {"patient_id": 94229}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3dec3c01ef901d2556c1345e"}, {"db_id": "mimic_iii", "question": "how many days has it elapsed since patient 30826 was admitted to the hospital?", "template": "how many days have passed since patient 30826 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 30826 and admissions.dischtime is null", "value": {"patient_id": 30826}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5dd66f300e98af470a11adc"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 40059 was admitted to the hospital.", "template": "how many hours have passed since patient 40059 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 40059 and admissions.dischtime is null", "value": {"patient_id": 40059}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe3782e15217bdc3d664191d"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 83038's hospital admission?", "template": "how many hours have passed since patient 83038 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 83038 and admissions.dischtime is null", "value": {"patient_id": 83038}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b372692571399431640cdcc"}, {"db_id": "mimic_iii", "question": "what number of hours have passed since patient 13054's hospital admission?", "template": "how many hours have passed since patient 13054 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 13054 and admissions.dischtime is null", "value": {"patient_id": 13054}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9d65ce7fd970dc7eea80249"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 68280 was admitted to the hospital?", "template": "how many days have passed since patient 68280 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 68280 and admissions.dischtime is null", "value": {"patient_id": 68280}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d695080d9f4192acd435c779"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 9964 was admitted for to the hospital?", "template": "how many hours have passed since patient 9964 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 9964 and admissions.dischtime is null", "value": {"patient_id": 9964}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c31af89bbf95bff11fa3301a"}, {"db_id": "mimic_iii", "question": "so how many days have passed since patient 27172 was admitted to the hospital?", "template": "how many days have passed since patient 27172 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 27172 and admissions.dischtime is null", "value": {"patient_id": 27172}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5d054d5e64662b3ade33f7a"}, {"db_id": "mimic_iii", "question": "tell me the number of days since patient 73713's hospital admission?", "template": "how many days have passed since patient 73713 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 73713 and admissions.dischtime is null", "value": {"patient_id": 73713}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a4f046bbeb261beb7fdce82"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 25733 was admitted to the hospital for?", "template": "how many hours have passed since patient 25733 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 25733 and admissions.dischtime is null", "value": {"patient_id": 25733}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1740ff1c246b9a03ab7f038a"}, {"db_id": "mimic_iii", "question": "what number of hours have it been since patient 68280 was admitted to the hospital?", "template": "how many hours have passed since patient 68280 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 68280 and admissions.dischtime is null", "value": {"patient_id": 68280}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6b633ff18927ae35b84a830"}, {"db_id": "mimic_iii", "question": "how many hours since patient 14671 was admitted to hospital?", "template": "how many hours have passed since patient 14671 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 14671 and admissions.dischtime is null", "value": {"patient_id": 14671}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "429a4f5994e0c1527cc81557"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 10624 has been admitted to the hospital?", "template": "how many hours have passed since patient 10624 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 10624 and admissions.dischtime is null", "value": {"patient_id": 10624}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "feeb3ff06b38b969dc67dfc6"}, {"db_id": "mimic_iii", "question": "how many days has it gone from patient 14467 was admitted to the hospital?", "template": "how many days have passed since patient 14467 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 14467 and admissions.dischtime is null", "value": {"patient_id": 14467}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff9d74f6e4f53ff341e58bd5"}, {"db_id": "mimic_iii", "question": "what is the number of hours since patient 3125 was admitted to the hospital?", "template": "how many hours have passed since patient 3125 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 3125 and admissions.dischtime is null", "value": {"patient_id": 3125}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5e4d8f7c9f0e69d3d2c9843"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 30826 was admitted into the hospital?", "template": "how many days have passed since patient 30826 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 30826 and admissions.dischtime is null", "value": {"patient_id": 30826}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10c9ec8d60c7030bc15c0c7a"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the patient 95057 was admitted to the hospital?", "template": "how many hours have passed since patient 95057 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 95057 and admissions.dischtime is null", "value": {"patient_id": 95057}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "867f2497cdbfc8b477aaa2e6"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the admission of patient 17667 to the hospital?", "template": "how many hours have passed since patient 17667 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 17667 and admissions.dischtime is null", "value": {"patient_id": 17667}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9de8ec683b32bfb788aeecee"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 12775 was admitted to hospital for?", "template": "how many days have passed since patient 12775 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 12775 and admissions.dischtime is null", "value": {"patient_id": 12775}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14ae0269b7ef51b5b4127e8d"}, {"db_id": "mimic_iii", "question": "what is the total number of hours since patient 97395 was admitted to hospital?", "template": "how many hours have passed since patient 97395 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 97395 and admissions.dischtime is null", "value": {"patient_id": 97395}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9161a0f876d82950bfd1bf76"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since patient 42829 was admitted to the hospital?", "template": "how many hours have passed since patient 42829 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 42829 and admissions.dischtime is null", "value": {"patient_id": 42829}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6033ba10b126567bb2ab64b"}, {"db_id": "mimic_iii", "question": "how many hours have been elapsed since patient 27172 was admitted to the hospital?", "template": "how many hours have passed since patient 27172 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 27172 and admissions.dischtime is null", "value": {"patient_id": 27172}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8dbfe045e19158caa248d4bb"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 72909 was admitted for to the hospital?", "template": "how many hours have passed since patient 72909 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 72909 and admissions.dischtime is null", "value": {"patient_id": 72909}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df5ee43819e77e1c576b774a"}, {"db_id": "mimic_iii", "question": "how many days has it elapsed since patient 2518 was admitted to the hospital?", "template": "how many days have passed since patient 2518 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 2518 and admissions.dischtime is null", "value": {"patient_id": 2518}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b61750f8283d704e57d4b34c"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since patient 7112 was admitted to hospital?", "template": "how many hours have passed since patient 7112 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 7112 and admissions.dischtime is null", "value": {"patient_id": 7112}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe18d2e148b020a35fc403f7"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 15447 was admitted to hospital?", "template": "how many hours have passed since patient 15447 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 15447 and admissions.dischtime is null", "value": {"patient_id": 15447}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac581b7758f6210442ad145f"}, {"db_id": "mimic_iii", "question": "how many hours has passed since patient 27172's hospital admission?", "template": "how many hours have passed since patient 27172 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 27172 and admissions.dischtime is null", "value": {"patient_id": 27172}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "032384b6e7f198ac261ee641"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 92846 has been admitted to the hospital?", "template": "how many hours have passed since patient 92846 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 92846 and admissions.dischtime is null", "value": {"patient_id": 92846}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d38c9ae14422dc269e06627"}, {"db_id": "mimic_iii", "question": "how many days has it elapsed since patient 9964 was admitted to the hospital?", "template": "how many days have passed since patient 9964 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 9964 and admissions.dischtime is null", "value": {"patient_id": 9964}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "977bad747da38c66380215f0"}, {"db_id": "mimic_iii", "question": "what number of days have passed since patient 71689's hospital admission?", "template": "how many days have passed since patient 71689 was admitted to the hospital currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 71689 and admissions.dischtime is null", "value": {"patient_id": 71689}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d8ca3e2d23dd9f788289230"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 42473 was admitted for to the hospital?", "template": "how many hours have passed since patient 42473 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 42473 and admissions.dischtime is null", "value": {"patient_id": 42473}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9849a3410300de299533664"}, {"db_id": "mimic_iii", "question": "how many hours have there been since patient 70267 was admitted to the hospital for?", "template": "how many hours have passed since patient 70267 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 70267 and admissions.dischtime is null", "value": {"patient_id": 70267}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32b035741b40d955f6d14c35"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since patient 94229 was admitted to hospital?", "template": "how many hours have passed since patient 94229 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 94229 and admissions.dischtime is null", "value": {"patient_id": 94229}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4464a951e8f9111ec466c3b"}, {"db_id": "mimic_iii", "question": "what number of hours have it been since patient 15447 was admitted to the hospital?", "template": "how many hours have passed since patient 15447 was admitted to the hospital currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 15447 and admissions.dischtime is null", "value": {"patient_id": 15447}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d6049ea4a36bd9fff43e71c5"}, {"db_id": "mimic_iii", "question": "how many days have it been since patient 65582 was admitted in the icu?", "template": "how many days have passed since patient 65582 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and icustays.outtime is null", "value": {"patient_id": 65582}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "91040301d093ef9ce87a228f"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 19428 was admitted into icu?", "template": "how many hours have passed since patient 19428 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and icustays.outtime is null", "value": {"patient_id": 19428}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ecbb6cf7bcf0595e1c5dad0d"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 6170 has been admitted to the icu?", "template": "how many hours have passed since patient 6170 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and icustays.outtime is null", "value": {"patient_id": 6170}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99f74bdb11db4b43b8daae0d"}, {"db_id": "mimic_iii", "question": "how many hours have it been since the admission to the icu of patient 49176?", "template": "how many hours have passed since patient 49176 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 ) and icustays.outtime is null", "value": {"patient_id": 49176}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "752988e75d9a0ae8fdeffebb"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 90663's entry time in the icu?", "template": "how many hours have passed since patient 90663 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) and icustays.outtime is null", "value": {"patient_id": 90663}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2084b2509d20b8cda3ae8cfc"}, {"db_id": "mimic_iii", "question": "how many days has it passed since patient 55360 was admitted to the icu.", "template": "how many days have passed since patient 55360 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) and icustays.outtime is null", "value": {"patient_id": 55360}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f3c23fa73a72a5f52d32384e"}, {"db_id": "mimic_iii", "question": "how many hours had passed since patient 5828 had been admitted to the icu?", "template": "how many hours have passed since patient 5828 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and icustays.outtime is null", "value": {"patient_id": 5828}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5237b583e2c80326df00d46"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 6170 has been admitted to icu?", "template": "how many days have passed since patient 6170 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and icustays.outtime is null", "value": {"patient_id": 6170}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b437350940865840acbb1225"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the time patient 739 was admitted to the icu?", "template": "how many days have passed since patient 739 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null", "value": {"patient_id": 739}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c52084bd445ac0ab6095698"}, {"db_id": "mimic_iii", "question": "how many hours have it taken since patient 55360 is admitted to the icu?", "template": "how many hours have passed since patient 55360 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) and icustays.outtime is null", "value": {"patient_id": 55360}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9773e2c2c6068f6e4b76b19"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 6170 was admitted in the intensive care unit?", "template": "how many hours have passed since patient 6170 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and icustays.outtime is null", "value": {"patient_id": 6170}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "40366de787127dc734526bab"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 99883 was admitted to icu.", "template": "how many hours have passed since patient 99883 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 ) and icustays.outtime is null", "value": {"patient_id": 99883}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8894976b993fa39ee17b68b3"}, {"db_id": "mimic_iii", "question": "how many days it has been since patient 1902 was admitted to the icu?", "template": "how many days have passed since patient 1902 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null", "value": {"patient_id": 1902}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25742d67f906f82031568a23"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 5828 was admitted to the intensive care unit?", "template": "how many hours have passed since patient 5828 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and icustays.outtime is null", "value": {"patient_id": 5828}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de6d5c805b7240e383b0bf90"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since patient 92846 was admitted into the icu?", "template": "how many hours have passed since patient 92846 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) and icustays.outtime is null", "value": {"patient_id": 92846}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52197cd5e1dfdfd183d5dd51"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 1561 was admitted into the intensive care unit?", "template": "how many hours have passed since patient 1561 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null", "value": {"patient_id": 1561}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a10c046f9b1f893090b305fd"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the the time patient 28447 was admitted to the icu?", "template": "how many hours have passed since patient 28447 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and icustays.outtime is null", "value": {"patient_id": 28447}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "61d77ab7f234bc0bd3aa6393"}, {"db_id": "mimic_iii", "question": "how many hours has passed since patient 80555 was admitted to the intensive care unit?", "template": "how many hours have passed since patient 80555 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 ) and icustays.outtime is null", "value": {"patient_id": 80555}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6c0febafcaaab35602f91ddf"}, {"db_id": "mimic_iii", "question": "how many days is it since patient 31854 has been admitted to icu?", "template": "how many days have passed since patient 31854 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and icustays.outtime is null", "value": {"patient_id": 31854}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4196eadef8d42611a2b5471f"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since patient 83038 was admitted in the icu?", "template": "how many hours have passed since patient 83038 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83038 ) and icustays.outtime is null", "value": {"patient_id": 83038}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aad32746e3768f107527b46d"}, {"db_id": "mimic_iii", "question": "what is the number of days elapsed since patient 65582's intensive care unit admission?", "template": "how many days have passed since patient 65582 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and icustays.outtime is null", "value": {"patient_id": 65582}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9617c84dae20f8d081542274"}, {"db_id": "mimic_iii", "question": "what number of hours have elapsed since patient 1561 was admitted to the icu?", "template": "how many hours have passed since patient 1561 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null", "value": {"patient_id": 1561}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1651aacedb250df4e4a61ab0"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 8116 was admitted to intensive care?", "template": "how many days have passed since patient 8116 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null", "value": {"patient_id": 8116}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "68ddf9248eb52350759c98ce"}, {"db_id": "mimic_iii", "question": "how many days since patient 57050 was admitted to icu?", "template": "how many days have passed since patient 57050 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 ) and icustays.outtime is null", "value": {"patient_id": 57050}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9e65290cbc7b92cb0546b80"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 80555's admission to icu?", "template": "how many days have passed since patient 80555 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 ) and icustays.outtime is null", "value": {"patient_id": 80555}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6b983bc253e9e22e03caa1c"}, {"db_id": "mimic_iii", "question": "how many hours have been elapsed since patient 95057 was admitted to the icu?", "template": "how many hours have passed since patient 95057 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95057 ) and icustays.outtime is null", "value": {"patient_id": 95057}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2b20cdfe7634ce892848645"}, {"db_id": "mimic_iii", "question": "how many hours does it have passed since patient 92846 was admitted to the icu?", "template": "how many hours have passed since patient 92846 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) and icustays.outtime is null", "value": {"patient_id": 92846}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16717ab6a95203fe41cf5ba3"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 28447 has been admitted to icu?", "template": "how many hours have passed since patient 28447 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and icustays.outtime is null", "value": {"patient_id": 28447}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b24df9d9cc5e02ac04b9318"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 53176's admission to icu?", "template": "how many days have passed since patient 53176 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and icustays.outtime is null", "value": {"patient_id": 53176}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "95fcc789d8d17088235be9e3"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since patient 83062 was admitted into the icu?", "template": "how many hours have passed since patient 83062 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 ) and icustays.outtime is null", "value": {"patient_id": 83062}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ec040300ea8520765338648"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 94229 was admitted to the icu?", "template": "how many hours have passed since patient 94229 was admitted to the icu currently?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 ) and icustays.outtime is null", "value": {"patient_id": 94229}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "309625054486815dcdb33480"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 90663 was admitted to intensive care?", "template": "how many days have passed since patient 90663 was admitted to the icu currently?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',icustays.intime) ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) and icustays.outtime is null", "value": {"patient_id": 90663}, "q_tag": "how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2bd48d69e2743900c1250545"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the first time patient 71689 stayed in careunit sicu in the current hospital encounter.", "template": "how many hours have passed since the first time patient 71689 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime asc limit 1", "value": {"careunit": "sicu", "patient_id": 71689}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c0d88acf84433f139a236ad4"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 72909 stayed during their current hospital visit in the careunit ccu?", "template": "how many days have passed since the last time patient 72909 stayed in careunit ccu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime desc limit 1", "value": {"careunit": "ccu", "patient_id": 72909}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ba6e724a2f37eb6ed1453f9"}, {"db_id": "mimic_iii", "question": "what is the number of days since patient 80555 last visited careunit tsicu during the current hospital visit?", "template": "how many days have passed since the last time patient 80555 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1", "value": {"patient_id": 80555, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "768b76cb52c300ff9de9087b"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 49176 stayed in the careunit sicu for the first time on the current hospital visit?", "template": "how many hours have passed since the first time patient 49176 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime asc limit 1", "value": {"careunit": "sicu", "patient_id": 49176}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc8cf4109f4a850c297a55a3"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since patient 12775 stayed in careunit micu for the first time in the on this hospital visit?", "template": "how many days have passed since the first time patient 12775 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"careunit": "micu", "patient_id": 12775}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4bc44f0799bde70b7e372380"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time patient 19428 stayed in careunit ccu in their current hospital visit.", "template": "how many hours have passed since the first time patient 19428 stayed in careunit ccu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime asc limit 1", "value": {"careunit": "ccu", "patient_id": 19428}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3130369aed841f193512767a"}, {"db_id": "mimic_iii", "question": "how many hours has been passed since the first time patient 8888 stayed in careunit tsicu in their current hospital encounter?", "template": "how many hours have passed since the first time patient 8888 stayed in careunit tsicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime asc limit 1", "value": {"patient_id": 8888, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ce559a736acc7a0f490ccb3"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since the first time that patient 51858 stayed in careunit micu on this hospital visit?", "template": "how many hours have passed since the first time patient 51858 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"patient_id": 51858, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f8ec17f1c74abfa97aa45e6"}, {"db_id": "mimic_iii", "question": "how many days have it been since the last time that patient 73713 stayed on this hospital encounter in careunit sicu?", "template": "how many days have passed since the last time patient 73713 stayed in careunit sicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime desc limit 1", "value": {"careunit": "sicu", "patient_id": 73713}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "270361b52ad57b97dbab9515"}, {"db_id": "mimic_iii", "question": "how many hours has passed since patient 31088 stayed for the last time in careunit micu in this hospital visit?", "template": "how many hours have passed since the last time patient 31088 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"patient_id": 31088, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "92b01b413dcc775567885930"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the first time patient 26057 stayed in careunit sicu during this hospital visit?", "template": "how many hours have passed since the first time patient 26057 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26057 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime asc limit 1", "value": {"patient_id": 26057, "careunit": "sicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a91dbbd0e3176b2175d7c38d"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 5828's last stay in the careunit sicu during their current hospital encounter?", "template": "how many hours have passed since the last time patient 5828 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime desc limit 1", "value": {"patient_id": 5828, "careunit": "sicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fed7741a5537ac304792f2c4"}, {"db_id": "mimic_iii", "question": "what number of days have passed since the last time patient 60136 stayed in careunit tsicu during the current hospital visit?", "template": "how many days have passed since the last time patient 60136 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1", "value": {"careunit": "tsicu", "patient_id": 60136}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ba0c280336669f56eb8bf54"}, {"db_id": "mimic_iii", "question": "how many hours are passed since the last time patient 70267 stayed in careunit micu during their current hospital visit?", "template": "how many hours have passed since the last time patient 70267 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"careunit": "micu", "patient_id": 70267}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eefb2a6c1fddd7e3a917f2b4"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time that patient 12726 stayed in careunit micu during this hospital encounter?", "template": "how many days have passed since the first time patient 12726 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"patient_id": 12726, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a77ec3b90960e6d45dcad09"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 42473 stayed in the careunit tsicu for the last time in this hospital encounter?", "template": "how many days have passed since the last time patient 42473 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1", "value": {"patient_id": 42473, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c065fc9e4b784d113d5084f"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 20898 stayed in careunit csru for the last time during the current hospital visit?", "template": "how many days have passed since the last time patient 20898 stayed in careunit csru on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"patient_id": 20898, "careunit": "csru"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "068013e89943e7c7b97789dc"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the first time that patient 55360 stayed on this hospital visit in careunit ccu?", "template": "how many hours have passed since the first time patient 55360 stayed in careunit ccu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime asc limit 1", "value": {"patient_id": 55360, "careunit": "ccu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90fe346f97aad015df59b27c"}, {"db_id": "mimic_iii", "question": "how many days has it been since the first time patient 12726 stayed in the careunit micu on this hospital encounter?", "template": "how many days have passed since the first time patient 12726 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"patient_id": 12726, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f1844f0544087c78ff5fd35"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 17462's first stay in the careunit tsicu during their current hospital visit?", "template": "how many days have passed since the first time patient 17462 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime asc limit 1", "value": {"patient_id": 17462, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e74db9e0f6db1b5191bbdcb2"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time patient 55360 stayed in the careunit ccu on this hospital visit?", "template": "how many days have passed since the first time patient 55360 stayed in careunit ccu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime asc limit 1", "value": {"careunit": "ccu", "patient_id": 55360}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32d89ab949c23d8aee5d7e83"}, {"db_id": "mimic_iii", "question": "how many hours have passed since first time on the current hospital visit patient 14671 stayed in the careunit micu?", "template": "how many hours have passed since the first time patient 14671 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"patient_id": 14671, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5925eca6929845cff700f08e"}, {"db_id": "mimic_iii", "question": "how many days have passed since the last time patient 15447 stayed in the careunit tsicu in their current hospital visit?", "template": "how many days have passed since the last time patient 15447 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1", "value": {"patient_id": 15447, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c7c405c068fe70f093aeab75"}, {"db_id": "mimic_iii", "question": "how many days have passed from the first time patient 2518 stayed in careunit csru during the current hospital visit?", "template": "how many days have passed since the first time patient 2518 stayed in careunit csru on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime asc limit 1", "value": {"careunit": "csru", "patient_id": 2518}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81cd26794dd2f64804542b26"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 3125 stayed in careunit ccu for the first time on their current hospital encounter?", "template": "how many days have passed since the first time patient 3125 stayed in careunit ccu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime asc limit 1", "value": {"patient_id": 3125, "careunit": "ccu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed6993b9b6dedac09eeb09bd"}, {"db_id": "mimic_iii", "question": "how many hours have it been since the last time patient 28447 began to stay in careunit csru on their current hospital encounter?", "template": "how many hours have passed since the last time patient 28447 stayed in careunit csru on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"careunit": "csru", "patient_id": 28447}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6b7efb4d4cb414cdd4123ee"}, {"db_id": "mimic_iii", "question": "how many hours have passed since last time that patient 15986 stayed in careunit micu during their current hospital encounter?", "template": "how many hours have passed since the last time patient 15986 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"patient_id": 15986, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cfcfc225aaf82ce288371f38"}, {"db_id": "mimic_iii", "question": "how many days have pass since the last time patient 31854 stayed in careunit ccu during the current hospital visit?", "template": "how many days have passed since the last time patient 31854 stayed in careunit ccu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime desc limit 1", "value": {"patient_id": 31854, "careunit": "ccu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5576f5a7c24f05004d31e06"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 2957 stayed in the careunit sicu on this hospital encounter for the first time?", "template": "how many hours have passed since the first time patient 2957 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2957 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime asc limit 1", "value": {"careunit": "sicu", "patient_id": 2957}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8315311476e61277197ca47c"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the first time patient 8888 visited careunit tsicu on this hospital encounter?", "template": "how many hours have passed since the first time patient 8888 stayed in careunit tsicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime asc limit 1", "value": {"patient_id": 8888, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d23b70605587fb83e3c55bf"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 8888 last stayed in this hospital encounter in the careunit tsicu?", "template": "how many days have passed since the last time patient 8888 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1", "value": {"patient_id": 8888, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "884e4cad7a64278b300afb1c"}, {"db_id": "mimic_iii", "question": "how many days have passed since the last time patient 8888 visited careunit tsicu in their current hospital encounter?", "template": "how many days have passed since the last time patient 8888 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1", "value": {"patient_id": 8888, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "904032c898112fad2bdc2155"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 27172 last started to stay in careunit csru during their current hospital visit?", "template": "how many hours have passed since the last time patient 27172 stayed in careunit csru on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"patient_id": 27172, "careunit": "csru"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d18754b31e72b0b78ff6409"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 83182 stayed in the careunit csru in this hospital encounter for the last time?", "template": "how many days have passed since the last time patient 83182 stayed in careunit csru on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"careunit": "csru", "patient_id": 83182}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b772ed185cfd6fb2283c6d6"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 17667 stayed during their current hospital encounter in the careunit micu for the last time?", "template": "how many hours have passed since the last time patient 17667 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"careunit": "micu", "patient_id": 17667}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e769674716628fa13dbb962"}, {"db_id": "mimic_iii", "question": "how many days have it been since the first stay of patient 18866 on their current hospital visit in the careunit micu?", "template": "how many days have passed since the first time patient 18866 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"patient_id": 18866, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97f70a56ba338ee20c1f8055"}, {"db_id": "mimic_iii", "question": "what's the number of days that have passed since patient 87232 last stayed in careunit micu on the current hospital visit?", "template": "how many days have passed since the last time patient 87232 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"patient_id": 87232, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84a5e8ae0b2b6134284c8cca"}, {"db_id": "mimic_iii", "question": "how many days was it since patient 26057 stayed in careunit sicu for the last time during this hospital encounter?", "template": "how many days have passed since the last time patient 26057 stayed in careunit sicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26057 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime desc limit 1", "value": {"patient_id": 26057, "careunit": "sicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33225dad7decc1ff3ce75ca7"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 5828 last stayed during the current hospital visit in the careunit sicu?", "template": "how many hours have passed since the last time patient 5828 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime desc limit 1", "value": {"patient_id": 5828, "careunit": "sicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5e238000dda7d2016ee7081"}, {"db_id": "mimic_iii", "question": "how many days has it been since the first stay of patient 17462 in the careunit tsicu on the current hospital encounter?", "template": "how many days have passed since the first time patient 17462 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime asc limit 1", "value": {"patient_id": 17462, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "059ace783d8236f0d895b072"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 76332 first stayed in their current hospital visit in careunit sicu?", "template": "how many days have passed since the first time patient 76332 stayed in careunit sicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime asc limit 1", "value": {"careunit": "sicu", "patient_id": 76332}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "031ab1e765054f5fadf02806"}, {"db_id": "mimic_iii", "question": "how many hours does it have been since the first time patient 51858 stayed in careunit micu on the current hospital encounter?", "template": "how many hours have passed since the first time patient 51858 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"patient_id": 51858, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69cac7f7cce0a25f00252db0"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the first time that patient 97330 stayed during their current hospital encounter in the careunit sicu?", "template": "how many hours have passed since the first time patient 97330 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime asc limit 1", "value": {"careunit": "sicu", "patient_id": 97330}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1f6eb785cbc6356e96d59d8"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 52898 stayed in the careunit csru for the last time in their current hospital visit?", "template": "how many hours have passed since the last time patient 52898 stayed in careunit csru on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"careunit": "csru", "patient_id": 52898}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dab1e2a6fe251699df55de33"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time patient 31854 visited careunit ccu during this hospital visit?", "template": "how many hours have passed since the last time patient 31854 stayed in careunit ccu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime desc limit 1", "value": {"patient_id": 31854, "careunit": "ccu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1a470b73781741ba41d90aa"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 7112 stayed during the current hospital encounter in careunit micu?", "template": "how many days have passed since the last time patient 7112 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"patient_id": 7112, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "288ba2a151e395b1ff59811f"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 95057 first visited the careunit micu in this hospital encounter?", "template": "how many days have passed since the first time patient 95057 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95057 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"patient_id": 95057, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55dc712a2c7eb2436f0e885c"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 24132 stayed for the first time on this hospital visit in careunit micu?", "template": "how many hours have passed since the first time patient 24132 stayed in careunit micu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24132 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime asc limit 1", "value": {"careunit": "micu", "patient_id": 24132}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef16a631aa6735c2669b9de0"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 65582 stayed on the current hospital visit in careunit micu?", "template": "how many days have passed since the last time patient 65582 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"patient_id": 65582, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74b44a9c69ccbc6dda0b9552"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 40059's last stay in the careunit csru during the current hospital visit?", "template": "how many days have passed since the last time patient 40059 stayed in careunit csru on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"patient_id": 40059, "careunit": "csru"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd542b397b11b308f3c201ea"}, {"db_id": "mimic_iii", "question": "how many days have passed since the last time that patient 83182 stayed on their current hospital visit in the careunit csru?", "template": "how many days have passed since the last time patient 83182 stayed in careunit csru on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"careunit": "csru", "patient_id": 83182}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6c8a73e58650743d30ee1cb6"}, {"db_id": "mimic_iii", "question": "how many days has been passed since the last time patient 25814 stayed in careunit micu in this hospital encounter?", "template": "how many days have passed since the last time patient 25814 stayed in careunit micu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 and admissions.dischtime is null ) and transfers.careunit = 'micu' order by transfers.intime desc limit 1", "value": {"patient_id": 25814, "careunit": "micu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93ddecae98b7132bc309d6eb"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 82132's last stay in the careunit sicu in their current hospital visit?", "template": "how many hours have passed since the last time patient 82132 stayed in careunit sicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime desc limit 1", "value": {"patient_id": 82132, "careunit": "sicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b5736d612a318edb0fc51b3"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 94229 stayed in the careunit tsicu for the first time on their current hospital visit?", "template": "how many hours have passed since the first time patient 94229 stayed in careunit tsicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime asc limit 1", "value": {"patient_id": 94229, "careunit": "tsicu"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e315eb23e09fb26489691b5e"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last stay of patient 23436 in the careunit csru during the current hospital encounter?", "template": "how many hours have passed since the last time patient 23436 stayed in careunit csru on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"patient_id": 23436, "careunit": "csru"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37bfd4075b39a5ee3342a705"}, {"db_id": "mimic_iii", "question": "how many days have passed since the last time patient 20898 visited careunit csru during the current hospital encounter?", "template": "how many days have passed since the last time patient 20898 stayed in careunit csru on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"patient_id": 20898, "careunit": "csru"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1197b7f10c6282b82c0c1d0"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the first time patient 72032 stayed in the careunit ccu in this hospital encounter?", "template": "how many hours have passed since the first time patient 72032 stayed in careunit ccu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72032 and admissions.dischtime is null ) and transfers.careunit = 'ccu' order by transfers.intime asc limit 1", "value": {"careunit": "ccu", "patient_id": 72032}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9473843c3633b3623019a57a"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 15447 stayed in careunit tsicu for the first time on this hospital visit?", "template": "how many hours have passed since the first time patient 15447 stayed in careunit tsicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime asc limit 1", "value": {"careunit": "tsicu", "patient_id": 15447}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfd66656fb65a955b1fa994e"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since patient 15447 stayed in careunit tsicu for the first time in the on their current hospital visit?", "template": "how many hours have passed since the first time patient 15447 stayed in careunit tsicu on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime asc limit 1", "value": {"careunit": "tsicu", "patient_id": 15447}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5cf70ec8ce7c51452b72e7f4"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 95892 stayed during the current hospital encounter in the careunit tsicu?", "template": "how many days have passed since the last time patient 95892 stayed in careunit tsicu on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1", "value": {"careunit": "tsicu", "patient_id": 95892}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b304bd0de8bdc2765dbd0cfe"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the last time that patient 83182 stayed during this hospital visit in careunit csru?", "template": "how many days have passed since the last time patient 83182 stayed in careunit csru on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1", "value": {"careunit": "csru", "patient_id": 83182}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f7560f620a3c8b713708084f"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since patient 17667 stayed in ward 23 for the last time in the on this hospital encounter?", "template": "how many hours have passed since the last time patient 17667 stayed in ward 23 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime desc limit 1", "value": {"patient_id": 17667, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fcf3277f71e8d87d02e0cdd5"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 27172 stayed in ward 15 during the current hospital visit.", "template": "how many hours have passed since the last time patient 27172 stayed in ward 15 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) ) and transfers.wardid = 15 order by transfers.intime desc limit 1", "value": {"patient_id": 27172, "ward_id": 15.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e7f3fd270980f9144596c06"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the last time that patient 49176 stayed in ward 14 in the current hospital visit?", "template": "how many days have passed since the last time patient 49176 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"ward_id": 14.0, "patient_id": 49176}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a6675a90d82340bd46c768b"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 80555 stayed in the ward 33 for the first time during the current hospital encounter?", "template": "how many days have passed since the first time patient 80555 stayed in ward 33 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime asc limit 1", "value": {"patient_id": 80555, "ward_id": 33.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "025573626953ed6b2c475391"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 72909 stayed in the ward 7 on the current hospital visit?", "template": "how many days have passed since the last time patient 72909 stayed in ward 7 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 and admissions.dischtime is null ) ) and transfers.wardid = 7 order by transfers.intime desc limit 1", "value": {"ward_id": 7.0, "patient_id": 72909}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc23916f4bf63c3a02b0dc9d"}, {"db_id": "mimic_iii", "question": "how many hours have it been since the last time patient 7112 began to stay in ward 52 on this hospital visit?", "template": "how many hours have passed since the last time patient 7112 stayed in ward 52 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) ) and transfers.wardid = 52 order by transfers.intime desc limit 1", "value": {"patient_id": 7112, "ward_id": 52.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ade9933c7588abc637b669d"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the last time that patient 2957 stayed during their current hospital visit in ward 57?", "template": "how many hours have passed since the last time patient 2957 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2957 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime desc limit 1", "value": {"patient_id": 2957, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5eca08c90a8851442d26930c"}, {"db_id": "mimic_iii", "question": "how many hours are passed since the last time patient 60136 stayed in ward 14 in this hospital visit?", "template": "how many hours have passed since the last time patient 60136 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"patient_id": 60136, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57a723655d3daccb15d12a14"}, {"db_id": "mimic_iii", "question": "what is the number of days since patient 40707 last visited ward 33 on their current hospital encounter?", "template": "how many days have passed since the last time patient 40707 stayed in ward 33 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime desc limit 1", "value": {"patient_id": 40707, "ward_id": 33.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aeb5edf8265d39700317d39f"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 96833's last stay in the ward 33 in their current hospital visit?", "template": "how many days have passed since the last time patient 96833 stayed in ward 33 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime desc limit 1", "value": {"ward_id": 33.0, "patient_id": 96833}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5ca128e86189e752577b864"}, {"db_id": "mimic_iii", "question": "how many hours has passed since patient 99883 last stayed on the current hospital visit in ward 57?", "template": "how many hours have passed since the last time patient 99883 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime desc limit 1", "value": {"patient_id": 99883, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97a830a0527b880d6b9f57fa"}, {"db_id": "mimic_iii", "question": "how many hours has passed since patient 82132 stayed in ward 23 for the first time during this hospital visit?", "template": "how many hours have passed since the first time patient 82132 stayed in ward 23 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime asc limit 1", "value": {"patient_id": 82132, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03aab71c297ca359829bf002"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time patient 15794 stayed on their current hospital visit in the ward 57?", "template": "how many hours have passed since the first time patient 15794 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime asc limit 1", "value": {"patient_id": 15794, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80e5af2f68bc2c8eae4841d2"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first stay of patient 97330 in the ward 57 in the current hospital encounter?", "template": "how many days have passed since the first time patient 97330 stayed in ward 57 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime asc limit 1", "value": {"patient_id": 97330, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "08a5bfc83b06cc0dc7c67277"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 92846 stayed in ward 15 for the last time in this hospital encounter?", "template": "how many days have passed since the last time patient 92846 stayed in ward 15 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 and admissions.dischtime is null ) ) and transfers.wardid = 15 order by transfers.intime desc limit 1", "value": {"patient_id": 92846, "ward_id": 15.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f35889ce6c48dfa59c90ee6"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 12775 first stayed in their current hospital encounter in the ward 23?", "template": "how many days have passed since the first time patient 12775 stayed in ward 23 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime asc limit 1", "value": {"patient_id": 12775, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c09c3cce782dd88fa4f91e60"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 83038 stayed during this hospital visit in the ward 52 for the last time?", "template": "how many hours have passed since the last time patient 83038 stayed in ward 52 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83038 and admissions.dischtime is null ) ) and transfers.wardid = 52 order by transfers.intime desc limit 1", "value": {"ward_id": 52.0, "patient_id": 83038}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "282323f65a0a88343789f6af"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 22648 stayed in the ward 52 for the last time during this hospital visit?", "template": "how many days have passed since the last time patient 22648 stayed in ward 52 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 and admissions.dischtime is null ) ) and transfers.wardid = 52 order by transfers.intime desc limit 1", "value": {"patient_id": 22648, "ward_id": 52.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4320c5390b42dee8245ab040"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the first time patient 15794 stayed in ward 57 in their current hospital visit?", "template": "how many hours have passed since the first time patient 15794 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime asc limit 1", "value": {"patient_id": 15794, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab4dc54f1d103b288f9843d9"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time patient 17462 visited ward 14 in this hospital visit?", "template": "how many hours have passed since the last time patient 17462 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"patient_id": 17462, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e718820f039bb9785249dd67"}, {"db_id": "mimic_iii", "question": "how many days does it have been since the last time patient 8116 stayed in ward 7 during their current hospital encounter?", "template": "how many days have passed since the last time patient 8116 stayed in ward 7 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 and admissions.dischtime is null ) ) and transfers.wardid = 7 order by transfers.intime desc limit 1", "value": {"patient_id": 8116, "ward_id": 7.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "159c8164ff120f98d0525922"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time that patient 2957 stayed during the current hospital encounter in the ward 57?", "template": "how many hours have passed since the last time patient 2957 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2957 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime desc limit 1", "value": {"patient_id": 2957, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f8737219b52839e1b57f32d"}, {"db_id": "mimic_iii", "question": "how many days was it since patient 95892 stayed in ward 14 for the first time on this hospital visit?", "template": "how many days have passed since the first time patient 95892 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 95892, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "00e5491c71f0f56bbebedb47"}, {"db_id": "mimic_iii", "question": "what number of hours have passed since the first time patient 71689 stayed in ward 57 on this hospital encounter?", "template": "how many hours have passed since the first time patient 71689 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime asc limit 1", "value": {"patient_id": 71689, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3130b4f56296649aca615a8f"}, {"db_id": "mimic_iii", "question": "how many hours have pass since the first time patient 12927 stayed in ward 23 on their current hospital encounter?", "template": "how many hours have passed since the first time patient 12927 stayed in ward 23 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime asc limit 1", "value": {"patient_id": 12927, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9573d74d7f5ec5345572d7c"}, {"db_id": "mimic_iii", "question": "what's the number of days that have passed since patient 57050 first stayed in ward 14 on the current hospital encounter?", "template": "how many days have passed since the first time patient 57050 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 57050, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32e19000ba9c2809eaab8fd2"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 10855 stayed in the ward 50 in this hospital encounter for the first time?", "template": "how many hours have passed since the first time patient 10855 stayed in ward 50 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 and admissions.dischtime is null ) ) and transfers.wardid = 50 order by transfers.intime asc limit 1", "value": {"ward_id": 50.0, "patient_id": 10855}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce6e145f88466a8c132cc143"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 23436 stayed in ward 12 in this hospital visit.", "template": "how many days have passed since the last time patient 23436 stayed in ward 12 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null ) ) and transfers.wardid = 12 order by transfers.intime desc limit 1", "value": {"patient_id": 23436, "ward_id": 12.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5389c98ac3df6b6a6b49518f"}, {"db_id": "mimic_iii", "question": "how many days has it passed since the first time that patient 40059 stayed in ward 15 on the current hospital encounter?", "template": "how many days have passed since the first time patient 40059 stayed in ward 15 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 and admissions.dischtime is null ) ) and transfers.wardid = 15 order by transfers.intime asc limit 1", "value": {"patient_id": 40059, "ward_id": 15.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "625c30f6633dc55a090b3dbb"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 49176 stayed in the ward 33 in the current hospital visit?", "template": "how many hours have passed since the last time patient 49176 stayed in ward 33 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime desc limit 1", "value": {"ward_id": 33.0, "patient_id": 49176}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2259b228101ecaaad6907a84"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the last time patient 10624 visited ward 14 in their current hospital encounter?", "template": "how many hours have passed since the last time patient 10624 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"patient_id": 10624, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aabd5f08b477f50999ebf89a"}, {"db_id": "mimic_iii", "question": "how many hours has been passed since the last time patient 40707 stayed in ward 33 during their current hospital encounter?", "template": "how many hours have passed since the last time patient 40707 stayed in ward 33 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime desc limit 1", "value": {"ward_id": 33.0, "patient_id": 40707}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4fd5662241af438ff3b50873"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time patient 30826 stayed in the ward 12 during this hospital encounter?", "template": "how many days have passed since the first time patient 30826 stayed in ward 12 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 and admissions.dischtime is null ) ) and transfers.wardid = 12 order by transfers.intime asc limit 1", "value": {"ward_id": 12.0, "patient_id": 30826}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec274225fca5956ce5a97027"}, {"db_id": "mimic_iii", "question": "how many hours have it elapsed since the first time patient 71689 stayed in the ward 57 on their current hospital visit?", "template": "how many hours have passed since the first time patient 71689 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime asc limit 1", "value": {"patient_id": 71689, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "026f870215c68476ea880ca8"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last stay of patient 9566 in the ward 14 during the current hospital encounter?", "template": "how many days have passed since the last time patient 9566 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"ward_id": 14.0, "patient_id": 9566}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ebc470b868343f389b3e82e"}, {"db_id": "mimic_iii", "question": "how many hours have it been since the first stay of patient 42473 on this hospital visit in the ward 14?", "template": "how many hours have passed since the first time patient 42473 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 42473, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3cda94be9ad18dabfdb6067"}, {"db_id": "mimic_iii", "question": "how many days have passed from the first time patient 25733 stayed in ward 52 during their current hospital visit?", "template": "how many days have passed since the first time patient 25733 stayed in ward 52 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) ) and transfers.wardid = 52 order by transfers.intime asc limit 1", "value": {"ward_id": 52.0, "patient_id": 25733}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d60ddf7181eff621963a7aa"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 808 last started to stay in ward 33 during the current hospital encounter?", "template": "how many hours have passed since the last time patient 808 stayed in ward 33 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime desc limit 1", "value": {"ward_id": 33.0, "patient_id": 808}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f397b7de5c7074a6ee82f2e9"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 57050 stayed for the first time on the current hospital visit in ward 14?", "template": "how many hours have passed since the first time patient 57050 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 57050, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96cbe393808f806285b5b58c"}, {"db_id": "mimic_iii", "question": "how many days has it been since the first time patient 65582 stayed on this hospital encounter in ward 50?", "template": "how many days have passed since the first time patient 65582 stayed in ward 50 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) ) and transfers.wardid = 50 order by transfers.intime asc limit 1", "value": {"patient_id": 65582, "ward_id": 50.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a856b3eca4dbcbd40e9e5c64"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time patient 25733 visited ward 52 during the current hospital encounter?", "template": "how many days have passed since the first time patient 25733 stayed in ward 52 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) ) and transfers.wardid = 52 order by transfers.intime asc limit 1", "value": {"ward_id": 52.0, "patient_id": 25733}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d5d50b393ba61f9299793c2"}, {"db_id": "mimic_iii", "question": "how many days have passed since first time on their current hospital visit patient 60136 stayed in the ward 14?", "template": "how many days have passed since the first time patient 60136 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 60136, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f4a887e49254fbf54c5abfde"}, {"db_id": "mimic_iii", "question": "how many days have it been since the first time that patient 95057 stayed in the current hospital encounter in ward 50?", "template": "how many days have passed since the first time patient 95057 stayed in ward 50 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95057 and admissions.dischtime is null ) ) and transfers.wardid = 50 order by transfers.intime asc limit 1", "value": {"ward_id": 50.0, "patient_id": 95057}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "08b8c2d8befa5eef411c1d8a"}, {"db_id": "mimic_iii", "question": "how many days have passed since last time that patient 95892 stayed in ward 14 in this hospital visit?", "template": "how many days have passed since the last time patient 95892 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"patient_id": 95892, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5583b2a2bc404aff70705f5a"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 15447 first stayed during this hospital encounter in the ward 23?", "template": "how many days have passed since the first time patient 15447 stayed in ward 23 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime asc limit 1", "value": {"patient_id": 15447, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb5c2cf58669e63443c4a046"}, {"db_id": "mimic_iii", "question": "how many days is it since patient 40707 last stayed in the ward 33 during their current hospital visit?", "template": "how many days have passed since the last time patient 40707 stayed in ward 33 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime desc limit 1", "value": {"patient_id": 40707, "ward_id": 33.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52afb98c6cf1347b4bd115ee"}, {"db_id": "mimic_iii", "question": "how many hours have it been since the last time that patient 10855 stayed in ward 50 during their current hospital encounter?", "template": "how many hours have passed since the last time patient 10855 stayed in ward 50 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 and admissions.dischtime is null ) ) and transfers.wardid = 50 order by transfers.intime desc limit 1", "value": {"patient_id": 10855, "ward_id": 50.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6fe46bd209415e66f030d15b"}, {"db_id": "mimic_iii", "question": "how many hours has passed since patient 10624 stayed for the first time in ward 14 during the current hospital visit?", "template": "how many hours have passed since the first time patient 10624 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 10624, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2998a26e374c013ba7fd8be"}, {"db_id": "mimic_iii", "question": "how many days have passed since first time that patient 25733 stayed in ward 52 during their current hospital visit?", "template": "how many days have passed since the first time patient 25733 stayed in ward 52 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) ) and transfers.wardid = 52 order by transfers.intime asc limit 1", "value": {"ward_id": 52.0, "patient_id": 25733}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "933c51008e95df4b6352d292"}, {"db_id": "mimic_iii", "question": "how many days does it have been since the first time patient 55360 stayed in ward 7 in their current hospital encounter?", "template": "how many days have passed since the first time patient 55360 stayed in ward 7 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) ) and transfers.wardid = 7 order by transfers.intime asc limit 1", "value": {"patient_id": 55360, "ward_id": 7.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57f72e51b59a923583e43646"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 26057 stayed on the current hospital visit in the ward 14 for the first time?", "template": "how many hours have passed since the first time patient 26057 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26057 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 26057, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2352d0e1b175eb7c7e3af03"}, {"db_id": "mimic_iii", "question": "what is the number of hours since patient 15447 last visited ward 23 on this hospital encounter?", "template": "how many hours have passed since the last time patient 15447 stayed in ward 23 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime desc limit 1", "value": {"patient_id": 15447, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "363b2f16f2315bbf224dd9c1"}, {"db_id": "mimic_iii", "question": "how many hours does it have been since the first time patient 55281 stayed in ward 33 on the current hospital visit?", "template": "how many hours have passed since the first time patient 55281 stayed in ward 33 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55281 and admissions.dischtime is null ) ) and transfers.wardid = 33 order by transfers.intime asc limit 1", "value": {"ward_id": 33.0, "patient_id": 55281}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa3708af3ed3c0fbf9395269"}, {"db_id": "mimic_iii", "question": "how many hours is it since patient 17667 last stayed in the ward 23 during this hospital visit?", "template": "how many hours have passed since the last time patient 17667 stayed in ward 23 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime desc limit 1", "value": {"patient_id": 17667, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e85edbf3bf6f483aa28d795"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 72032 stayed in the ward 7 for the last time on their current hospital encounter?", "template": "how many days have passed since the last time patient 72032 stayed in ward 7 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72032 and admissions.dischtime is null ) ) and transfers.wardid = 7 order by transfers.intime desc limit 1", "value": {"ward_id": 7.0, "patient_id": 72032}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "00a3c47db93f5bd5867b65e3"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time patient 92788 stayed on this hospital visit in the ward 14?", "template": "how many hours have passed since the last time patient 92788 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"patient_id": 92788, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62152ea8cf52cd5bfa358745"}, {"db_id": "mimic_iii", "question": "how many hours does it have been since the first time patient 96833 stayed in ward 23 on this hospital encounter?", "template": "how many hours have passed since the first time patient 96833 stayed in ward 23 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime asc limit 1", "value": {"patient_id": 96833, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "acfe05e1e76c50f29e6eb442"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time patient 65582 visited ward 50 in this hospital visit?", "template": "how many hours have passed since the first time patient 65582 stayed in ward 50 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) ) and transfers.wardid = 50 order by transfers.intime asc limit 1", "value": {"patient_id": 65582, "ward_id": 50.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14d636f83261b31d347cbb39"}, {"db_id": "mimic_iii", "question": "how many days have pass since the last time patient 55360 stayed in ward 7 in the current hospital visit?", "template": "how many days have passed since the last time patient 55360 stayed in ward 7 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) ) and transfers.wardid = 7 order by transfers.intime desc limit 1", "value": {"patient_id": 55360, "ward_id": 7.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f7c39d10842bbf8df77dfe69"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time patient 83182 stayed in the ward 14 in their current hospital encounter?", "template": "how many days have passed since the first time patient 83182 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 83182, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "696e8f11799b530dc20e62a3"}, {"db_id": "mimic_iii", "question": "how many hours have passed since last time during their current hospital visit patient 68280 stayed in the ward 57?", "template": "how many hours have passed since the last time patient 68280 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 68280 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime desc limit 1", "value": {"patient_id": 68280, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82013edd1de97260237b3ac0"}, {"db_id": "mimic_iii", "question": "how many days have passed since first time during this hospital encounter patient 13054 stayed in the ward 57?", "template": "how many days have passed since the first time patient 13054 stayed in ward 57 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime asc limit 1", "value": {"ward_id": 57.0, "patient_id": 13054}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "350664689bbed3453917749a"}, {"db_id": "mimic_iii", "question": "how many hours has passed since patient 8888 stayed in ward 14 for the first time on the current hospital visit?", "template": "how many hours have passed since the first time patient 8888 stayed in ward 14 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime asc limit 1", "value": {"patient_id": 8888, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "424352427eefa1f8b4c1bb02"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since the last time that patient 5828 stayed in ward 57 during their current hospital visit?", "template": "how many hours have passed since the last time patient 5828 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime desc limit 1", "value": {"patient_id": 5828, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "039b75cfacadb6f1aab11742"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 18866 stayed in their current hospital encounter in the ward 23 for the first time?", "template": "how many days have passed since the first time patient 18866 stayed in ward 23 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 and admissions.dischtime is null ) ) and transfers.wardid = 23 order by transfers.intime asc limit 1", "value": {"patient_id": 18866, "ward_id": 23.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe73e279db478f41306fad59"}, {"db_id": "mimic_iii", "question": "how many hours have pass since the last time patient 1561 stayed in ward 57 in this hospital encounter?", "template": "how many hours have passed since the last time patient 1561 stayed in ward 57 on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 and admissions.dischtime is null ) ) and transfers.wardid = 57 order by transfers.intime desc limit 1", "value": {"patient_id": 1561, "ward_id": 57.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70280b322fdc510189e569b4"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 71558 stayed in the ward 14 for the last time during their current hospital encounter?", "template": "how many days have passed since the last time patient 71558 stayed in ward 14 on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71558 and admissions.dischtime is null ) ) and transfers.wardid = 14 order by transfers.intime desc limit 1", "value": {"patient_id": 71558, "ward_id": 14.0}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} stayed in ward {ward_id} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbf59749de903c373df9904c"}, {"db_id": "mimic_iii", "question": "how many days since first time patient 55360 was diagnosed with hepatic encephalopathy during this hospital encounter?", "template": "how many days have passed since the first time patient 55360 was diagnosed with hepatic encephalopathy on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hepatic encephalopathy' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "hepatic encephalopathy", "patient_id": 55360}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e09c715e74a4058bc02f642a"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since the last time during the current hospital encounter that patient 31482 was diagnosed with adv eff benzodiaz tranq?", "template": "how many hours have passed since the last time patient 31482 was diagnosed with adv eff benzodiaz tranq on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'adv eff benzodiaz tranq' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 31482, "diagnosis_name": "adv eff benzodiaz tranq"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a004e0d17e64e8d31cd3cd6b"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 57050 was diagnosed with a hx-ven thrombosis/embols during their current hospital visit?", "template": "how many days have passed since the last time patient 57050 was diagnosed with hx-ven thrombosis/embols on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hx-ven thrombosis/embols' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "hx-ven thrombosis/embols", "patient_id": 57050}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4827ae1e5dbdf6a9dd5a249"}, {"db_id": "mimic_iii", "question": "how many hours have passed since last time patient 23436 was diagnosed with senile dementia uncomp during this hospital visit?", "template": "how many hours have passed since the last time patient 23436 was diagnosed with senile dementia uncomp on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'senile dementia uncomp' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "senile dementia uncomp", "patient_id": 23436}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "716d9e8be9208d8bc0216ada"}, {"db_id": "mimic_iii", "question": "how many days have it been since the first time during the current hospital encounter that patient 22648 was diagnosed with meth res pneu d/t staph?", "template": "how many days have passed since the first time patient 22648 was diagnosed with meth res pneu d/t staph on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'meth res pneu d/t staph' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "meth res pneu d/t staph", "patient_id": 22648}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12e714c2bcf77dadb9f288ff"}, {"db_id": "mimic_iii", "question": "how many days since the last chr blood loss anemia diagnosis of patient 93078 in their current hospital visit?", "template": "how many days have passed since the last time patient 93078 was diagnosed with chr blood loss anemia on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chr blood loss anemia' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93078 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "chr blood loss anemia", "patient_id": 93078}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "950e8bcd185cdf74f5f0dd7c"}, {"db_id": "mimic_iii", "question": "how many hours have it been since patient 97395 had the first idio periph neurpthy nos diagnosis during this hospital visit?", "template": "how many hours have passed since the first time patient 97395 was diagnosed with idio periph neurpthy nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'idio periph neurpthy nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 97395, "diagnosis_name": "idio periph neurpthy nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18c3533945ff4f3a50493e1e"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the last diagnosis of subarachnoid hemorrhage on patient 80555 in this hospital encounter?", "template": "how many days have passed since the last time patient 80555 was diagnosed with subarachnoid hemorrhage on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'subarachnoid hemorrhage' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "subarachnoid hemorrhage", "patient_id": 80555}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0cd9aa0770419307d15b2707"}, {"db_id": "mimic_iii", "question": "how many days have it been since patient 42473 was diagnosed with a crnry athrscl natve vssl in the current hospital encounter for the first time?", "template": "how many days have passed since the first time patient 42473 was diagnosed with crnry athrscl natve vssl on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'crnry athrscl natve vssl' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 42473, "diagnosis_name": "crnry athrscl natve vssl"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "390256a315747cf3efb5738f"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time on the current hospital encounter that patient 15447 has been diagnosed with hemorrhage nos?", "template": "how many hours have passed since the last time patient 15447 was diagnosed with hemorrhage nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hemorrhage nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "hemorrhage nos", "patient_id": 15447}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56dc6737cbffadde1d3e4d9f"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the last diagnosis of hyp kid nos w cr kid v in patient 11826 in this hospital encounter?", "template": "how many hours have passed since the last time patient 11826 was diagnosed with hyp kid nos w cr kid v on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hyp kid nos w cr kid v' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11826 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "hyp kid nos w cr kid v", "patient_id": 11826}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ff6e35e7d1eaf136f221c0c"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 12927 had chronic obst asthma nos diagnosed for the last time in this hospital encounter?", "template": "how many hours have passed since the last time patient 12927 was diagnosed with chronic obst asthma nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chronic obst asthma nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "chronic obst asthma nos", "patient_id": 12927}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "79bf255ba5c7425d344de22d"}, {"db_id": "mimic_iii", "question": "how many days has it elapsed since patient 97395 was last diagnosed with ac/chr syst/dia hrt fail during this hospital encounter?", "template": "how many days have passed since the last time patient 97395 was diagnosed with ac/chr syst/dia hrt fail on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ac/chr syst/dia hrt fail' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "ac/chr syst/dia hrt fail", "patient_id": 97395}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ebe34e76c1621cb2667ef773"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time in their current hospital encounter patient 40707 was diagnosed with mal neo stomach cardia?", "template": "how many days have passed since the first time patient 40707 was diagnosed with mal neo stomach cardia on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mal neo stomach cardia' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "mal neo stomach cardia", "patient_id": 40707}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c495707b06f1b18111e69578"}, {"db_id": "mimic_iii", "question": "how many hours have there been since when patient 92788 was first diagnosed with old myocardial infarct on the current hospital encounter?", "template": "how many hours have passed since the first time patient 92788 was diagnosed with old myocardial infarct on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'old myocardial infarct' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 92788, "diagnosis_name": "old myocardial infarct"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42857cb9af907b3adb22aca5"}, {"db_id": "mimic_iii", "question": "on the current hospital encounter how many hours have passed since the first hypertension nos diagnosis of patient 14154?", "template": "how many hours have passed since the first time patient 14154 was diagnosed with hypertension nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hypertension nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 14154, "diagnosis_name": "hypertension nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a7d70169c5d9a66abed1073b"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time on their current hospital encounter that patient 8116 was diagnosed with dmii ophth nt st uncntrl?", "template": "how many hours have passed since the last time patient 8116 was diagnosed with dmii ophth nt st uncntrl on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dmii ophth nt st uncntrl' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 8116, "diagnosis_name": "dmii ophth nt st uncntrl"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdf9dfe6496907c69e57f5ab"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since patient 5828 was last diagnosed during this hospital encounter with hypotension nos?", "template": "how many days have passed since the last time patient 5828 was diagnosed with hypotension nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hypotension nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 5828, "diagnosis_name": "hypotension nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "921727bfa2c8e6834f3ecf02"}, {"db_id": "mimic_iii", "question": "how many hours ago was the first time patient 1902 was diagnosed with atrial fibrillation in the current hospital visit?", "template": "how many hours have passed since the first time patient 1902 was diagnosed with atrial fibrillation on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'atrial fibrillation' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 1902, "diagnosis_name": "atrial fibrillation"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71acfa3b6a756dfd02ba0310"}, {"db_id": "mimic_iii", "question": "what number of days has it been since the last time patient 19412 was diagnosed with neutropenia nos during the current hospital encounter?", "template": "how many days have passed since the last time patient 19412 was diagnosed with neutropenia nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'neutropenia nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "neutropenia nos", "patient_id": 19412}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b52d342d8ecfb7fb488e553"}, {"db_id": "mimic_iii", "question": "how many hours has it been since last hpt c w/o hepat coma nos diagnosis of patient 9964 on this hospital visit?", "template": "how many hours have passed since the last time patient 9964 was diagnosed with hpt c w/o hepat coma nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hpt c w/o hepat coma nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 9964, "diagnosis_name": "hpt c w/o hepat coma nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8ee3142b805f0f640b754c8"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 92788's first late effect cv dis nec diagnosis in the current hospital encounter.", "template": "how many hours have passed since the first time patient 92788 was diagnosed with late effect cv dis nec on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'late effect cv dis nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "late effect cv dis nec", "patient_id": 92788}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e13c8b4d5c1e217fb4008eb"}, {"db_id": "mimic_iii", "question": "how many hours since patient 55360 was first diagnosed with hypertension nos in their current hospital visit.", "template": "how many hours have passed since the first time patient 55360 was diagnosed with hypertension nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hypertension nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 55360, "diagnosis_name": "hypertension nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7943a8156c11db2ccaf42455"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 19412 was given his last neutropenia nos diagnosis in the current hospital visit?", "template": "how many days have passed since the last time patient 19412 was diagnosed with neutropenia nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'neutropenia nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "neutropenia nos", "patient_id": 19412}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2fd022d41f46a419e980e912"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 52898 was first diagnosed with delirium d/t other cond in the in their current hospital visit?", "template": "how many hours have passed since the first time patient 52898 was diagnosed with delirium d/t other cond on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'delirium d/t other cond' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "delirium d/t other cond", "patient_id": 52898}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5545d8d51576874008cbdf5"}, {"db_id": "mimic_iii", "question": "how many days was it since patient 65582's last urin tract infection nos diagnosis during the current hospital encounter.", "template": "how many days have passed since the last time patient 65582 was diagnosed with urin tract infection nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'urin tract infection nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 65582, "diagnosis_name": "urin tract infection nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c1b3c837ada23398d173d00"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 97395 was last diagnosed with ac/chr syst/dia hrt fail during this hospital visit.", "template": "how many days have passed since the last time patient 97395 was diagnosed with ac/chr syst/dia hrt fail on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ac/chr syst/dia hrt fail' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "ac/chr syst/dia hrt fail", "patient_id": 97395}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80da0748ac0f0f2c98b693e0"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the first time that patient 92846 was diagnosed with crnry athrscl natve vssl on this hospital encounter?", "template": "how many hours have passed since the first time patient 92846 was diagnosed with crnry athrscl natve vssl on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'crnry athrscl natve vssl' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 92846, "diagnosis_name": "crnry athrscl natve vssl"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c224deed7e20476a6d9c9bf6"}, {"db_id": "mimic_iii", "question": "how many days since the last time patient 31088 was diagnosed with mch cmp autm mplnt dfbrl during their current hospital encounter.", "template": "how many days have passed since the last time patient 31088 was diagnosed with mch cmp autm mplnt dfbrl on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mch cmp autm mplnt dfbrl' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "mch cmp autm mplnt dfbrl", "patient_id": 31088}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "83ffe9134b8068d85fe64743"}, {"db_id": "mimic_iii", "question": "how many hours has it elapsed since patient 97395's last diagnosis of trnspl status-bne marrow on this hospital visit?", "template": "how many hours have passed since the last time patient 97395 was diagnosed with trnspl status-bne marrow on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'trnspl status-bne marrow' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "trnspl status-bne marrow", "patient_id": 97395}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "393f8163a8bef7d9c6d48b6a"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 57050 was diagnosed with pleural effusion nos in the during this hospital encounter?", "template": "how many days have passed since the last time patient 57050 was diagnosed with pleural effusion nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pleural effusion nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "pleural effusion nos", "patient_id": 57050}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d3a569c3c30d469df70394c"}, {"db_id": "mimic_iii", "question": "how many days since the first time patient 27172 was diagnosed during the current hospital visit with duodenal ulcer nos?", "template": "how many days have passed since the first time patient 27172 was diagnosed with duodenal ulcer nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'duodenal ulcer nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 27172, "diagnosis_name": "duodenal ulcer nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c7d2f24102eaff04c97c2877"}, {"db_id": "mimic_iii", "question": "how many days have it been since the last time on this hospital visit patient 87232 was diagnosed with late metab acidosis nb?", "template": "how many days have passed since the last time patient 87232 was diagnosed with late metab acidosis nb on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'late metab acidosis nb' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "late metab acidosis nb", "patient_id": 87232}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5ec9fcea499b024ea1abd41"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 92846 first adrenal hypofunction nec diagnosis in their current hospital encounter?", "template": "how many days have passed since the first time patient 92846 was diagnosed with adrenal hypofunction nec on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'adrenal hypofunction nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 92846, "diagnosis_name": "adrenal hypofunction nec"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43fec471c1bf0f728824ee18"}, {"db_id": "mimic_iii", "question": "how many hours it has been since patient 739 received the first chf nos diagnosis in this hospital visit?", "template": "how many hours have passed since the first time patient 739 was diagnosed with chf nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chf nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "chf nos", "patient_id": 739}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43aeacf8a006710606be9f4c"}, {"db_id": "mimic_iii", "question": "how many days did it elapse since patient 52898 was first diagnosed with cardiac dysrhythmias nec in their current hospital encounter?", "template": "how many days have passed since the first time patient 52898 was diagnosed with cardiac dysrhythmias nec on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cardiac dysrhythmias nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 52898, "diagnosis_name": "cardiac dysrhythmias nec"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c6334416092911cc0bff793"}, {"db_id": "mimic_iii", "question": "during their current hospital encounter how many days have passed since patient 97395's last diagnosis of lumbosacral neuritis nos?", "template": "how many days have passed since the last time patient 97395 was diagnosed with lumbosacral neuritis nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'lumbosacral neuritis nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "lumbosacral neuritis nos", "patient_id": 97395}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "efb3a13099dbe5e59c55a028"}, {"db_id": "mimic_iii", "question": "how many days have there been since patient 72909 was last diagnosed with neonatal hypoglycemia on their current hospital visit?", "template": "how many days have passed since the last time patient 72909 was diagnosed with neonatal hypoglycemia on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'neonatal hypoglycemia' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 72909, "diagnosis_name": "neonatal hypoglycemia"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfcc8873aad06d657dc18eae"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 3125 has had his first b-complex defic nec diagnosis on this hospital visit?", "template": "how many hours have passed since the first time patient 3125 was diagnosed with b-complex defic nec on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'b-complex defic nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 3125, "diagnosis_name": "b-complex defic nec"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4381255ff956756b1afab40d"}, {"db_id": "mimic_iii", "question": "how many days has it passed since the first time that patient 92788 was diagnosed with alcohol withdrawal in the during this hospital encounter?", "template": "how many days have passed since the first time patient 92788 was diagnosed with alcohol withdrawal on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'alcohol withdrawal' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "alcohol withdrawal", "patient_id": 92788}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a3a8108ccec8313ea44f612"}, {"db_id": "mimic_iii", "question": "just how many days have gone since the last time patient 2957 was diagnosed with pure hypercholesterolem in the current hospital visit?", "template": "how many days have passed since the last time patient 2957 was diagnosed with pure hypercholesterolem on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pure hypercholesterolem' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2957 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 2957, "diagnosis_name": "pure hypercholesterolem"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bb21b3bf69441dc2d39a9bf"}, {"db_id": "mimic_iii", "question": "on the current hospital encounter how many days has gone since patient 55281 was first diagnosed with iliac artery aneurysm?", "template": "how many days have passed since the first time patient 55281 was diagnosed with iliac artery aneurysm on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'iliac artery aneurysm' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55281 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "iliac artery aneurysm", "patient_id": 55281}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53418642641674b435cb2e26"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since patient 70267 was last diagnosed with nonrupt cerebral aneurym on their current hospital encounter?", "template": "how many days have passed since the last time patient 70267 was diagnosed with nonrupt cerebral aneurym on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'nonrupt cerebral aneurym' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "nonrupt cerebral aneurym", "patient_id": 70267}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "757cd693aa51291253785d52"}, {"db_id": "mimic_iii", "question": "how many hours has been since the first diagnostic of crnry athrscl natve vssl on patient 92846 during this hospital visit?", "template": "how many hours have passed since the first time patient 92846 was diagnosed with crnry athrscl natve vssl on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'crnry athrscl natve vssl' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 92846, "diagnosis_name": "crnry athrscl natve vssl"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96fe42dcba60317566b8bf5b"}, {"db_id": "mimic_iii", "question": "how many hours since the first cardiac tamponade diagnosis of patient 10624 in the current hospital visit?", "template": "how many hours have passed since the first time patient 10624 was diagnosed with cardiac tamponade on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cardiac tamponade' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 10624, "diagnosis_name": "cardiac tamponade"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c0468d19b4dd2e6976360c8d"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 31482's first urinostomy status nec diagnosis on their current hospital visit.", "template": "how many hours have passed since the first time patient 31482 was diagnosed with urinostomy status nec on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'urinostomy status nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "urinostomy status nec", "patient_id": 31482}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d42ae8f673238a14bc3aa71"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 97395 received his last diagnosis of drug dermatitis nos in their current hospital visit?", "template": "how many days have passed since the last time patient 97395 was diagnosed with drug dermatitis nos on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'drug dermatitis nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "drug dermatitis nos", "patient_id": 97395}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8fe1a74427b99f8079e67dfe"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last hpt c w/o hepat coma nos diagnosis for patient 9964 on the current hospital visit?", "template": "how many hours have passed since the last time patient 9964 was diagnosed with hpt c w/o hepat coma nos on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',diagnoses_icd.charttime) ) from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hpt c w/o hepat coma nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 9964, "diagnosis_name": "hpt c w/o hepat coma nos"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was diagnosed with {diagnosis_name} on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56aebda49c76b40f1c9008ad"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the first time that patient 96833 was prescribed acetazolamide sodium during their current hospital visit?", "template": "how many hours have passed since the first time patient 96833 was prescribed acetazolamide sodium on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) and prescriptions.drug = 'acetazolamide sodium' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "acetazolamide sodium", "patient_id": 96833}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c6c7a42aa99b364bb1ec2b6"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the last time on their current hospital visit that patient 42473 was prescribed buprenorphine?", "template": "how many hours have passed since the last time patient 42473 was prescribed buprenorphine on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) and prescriptions.drug = 'buprenorphine' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "buprenorphine", "patient_id": 42473}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a381cc8f39ee4a6fd5b33d2"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 11826 was prescribed tacrolimus in their current hospital visit for the first time?", "template": "how many hours have passed since the first time patient 11826 was prescribed tacrolimus on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11826 and admissions.dischtime is null ) and prescriptions.drug = 'tacrolimus' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 11826, "drug_name": "tacrolimus"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8bf4632cd84e8d073e1b61aa"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 82132 got their first senna prescription in their current hospital encounter?", "template": "how many days have passed since the first time patient 82132 was prescribed senna on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) and prescriptions.drug = 'senna' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 82132, "drug_name": "senna"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb0753ddbd564dc74b86c27f"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 1114 received a prescription for dobutamine during their current hospital visit?", "template": "how many hours have passed since the last time patient 1114 was prescribed dobutamine on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) and prescriptions.drug = 'dobutamine' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 1114, "drug_name": "dobutamine"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2735c25225748a5bebf36a88"}, {"db_id": "mimic_iii", "question": "how many days have pass since the last time patient 97733 was prescribed thiamine hcl on their current hospital visit?", "template": "how many days have passed since the last time patient 97733 was prescribed thiamine hcl on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 and admissions.dischtime is null ) and prescriptions.drug = 'thiamine hcl' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "thiamine hcl", "patient_id": 97733}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ec18eb423e4f30dfdca9743"}, {"db_id": "mimic_iii", "question": "how many days have it been since nystatin ointment was prescribed to patient 93078 for the first time in their current hospital visit?", "template": "how many days have passed since the first time patient 93078 was prescribed nystatin ointment on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93078 and admissions.dischtime is null ) and prescriptions.drug = 'nystatin ointment' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 93078, "drug_name": "nystatin ointment"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1eaa6a1e1d48d7987cac18c"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the last sodium polystyrene sulfonate prescription of patient 99647 in this hospital visit?", "template": "how many hours have passed since the last time patient 99647 was prescribed sodium polystyrene sulfonate on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 and admissions.dischtime is null ) and prescriptions.drug = 'sodium polystyrene sulfonate' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 99647, "drug_name": "sodium polystyrene sulfonate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f8fdfb7c59c02c8a5968fa1"}, {"db_id": "mimic_iii", "question": "during this hospital visit how many days have passed since the first time patient 6170 was prescribed carbamazepine?", "template": "how many days have passed since the first time patient 6170 was prescribed carbamazepine on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) and prescriptions.drug = 'carbamazepine' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "carbamazepine", "patient_id": 6170}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10e1d2339d92e0c2c189148e"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since the first time that patient 10855 dextrose 50% was prescribed during the current hospital visit?", "template": "how many hours have passed since the first time patient 10855 was prescribed dextrose 50% on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 and admissions.dischtime is null ) and prescriptions.drug = 'dextrose 50%' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 10855, "drug_name": "dextrose 50%"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f654d71eb7c153cae801775a"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 23436's last prescribed loperamide hcl during this hospital visit?", "template": "how many hours have passed since the last time patient 23436 was prescribed loperamide hcl on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null ) and prescriptions.drug = 'loperamide hcl' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "loperamide hcl", "patient_id": 23436}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "286c1d1512a1207b18b845d0"}, {"db_id": "mimic_iii", "question": "how many hours ago was the last time patient 12927 prescribed ns in this hospital visit?", "template": "how many hours have passed since the last time patient 12927 was prescribed ns on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 and admissions.dischtime is null ) and prescriptions.drug = 'ns' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 12927, "drug_name": "ns"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef183634d2b8c3eb63112be6"}, {"db_id": "mimic_iii", "question": "how many hours have it been since patient 97733's last prescription of polyethylene glycol in the current hospital visit?", "template": "how many hours have passed since the last time patient 97733 was prescribed polyethylene glycol on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 and admissions.dischtime is null ) and prescriptions.drug = 'polyethylene glycol' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 97733, "drug_name": "polyethylene glycol"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70ed758012688fa533caf002"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the first prescribing of cyanocobalamin in patient 92846 on this hospital visit?", "template": "how many hours have passed since the first time patient 92846 was prescribed cyanocobalamin on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 and admissions.dischtime is null ) and prescriptions.drug = 'cyanocobalamin' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "cyanocobalamin", "patient_id": 92846}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "184ac09f1ac4ae039b3bbb83"}, {"db_id": "mimic_iii", "question": "how many days have it been since the first time patient 65582 was prescribed albumin 5% on their current hospital encounter?", "template": "how many days have passed since the first time patient 65582 was prescribed albumin 5% on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is null ) and prescriptions.drug = 'albumin 5%' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "albumin 5%", "patient_id": 65582}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "83d258404c1977847dceb829"}, {"db_id": "mimic_iii", "question": "how many days have there been since patient 52898 first received a prescription for famotidine during the current hospital visit?", "template": "how many days have passed since the first time patient 52898 was prescribed famotidine on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) and prescriptions.drug = 'famotidine' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 52898, "drug_name": "famotidine"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ba0153537e7854a6688a5ff"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time dexamethasone was prescribed patient 1902 in their current hospital encounter?", "template": "how many days have passed since the first time patient 1902 was prescribed dexamethasone on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 and admissions.dischtime is null ) and prescriptions.drug = 'dexamethasone' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 1902, "drug_name": "dexamethasone"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1956b61230a3b1aa49ad951a"}, {"db_id": "mimic_iii", "question": "how many days have it been since patient 8888 first received a clopidogrel bisulfate prescription in this hospital encounter?", "template": "how many days have passed since the first time patient 8888 was prescribed clopidogrel bisulfate on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and prescriptions.drug = 'clopidogrel bisulfate' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "clopidogrel bisulfate", "patient_id": 8888}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6b4704a29ea8f7473b22a58"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 12775 first recieved a prescription for diltiazem extended-release on this hospital visit?", "template": "how many hours have passed since the first time patient 12775 was prescribed diltiazem extended-release on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) and prescriptions.drug = 'diltiazem extended-release' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "diltiazem extended-release", "patient_id": 12775}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f193956807117b3339df37c"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the last time that patient 10624 has been prescribed miconazole powder 2% on their current hospital visit?", "template": "how many hours have passed since the last time patient 10624 was prescribed miconazole powder 2% on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) and prescriptions.drug = 'miconazole powder 2%' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 10624, "drug_name": "miconazole powder 2%"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8728838f1a7a7c80460cc1bb"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 10624 has been prescribed lidocaine-prilocaine first on the current hospital encounter?", "template": "how many hours have passed since the first time patient 10624 was prescribed lidocaine-prilocaine on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) and prescriptions.drug = 'lidocaine-prilocaine' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "lidocaine-prilocaine", "patient_id": 10624}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03c4ec35cf7c4dfc7fc920d5"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 73713's last metoprolol succinate xl drug prescription in their current hospital visit?", "template": "how many days have passed since the last time patient 73713 was prescribed metoprolol succinate xl on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 and admissions.dischtime is null ) and prescriptions.drug = 'metoprolol succinate xl' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "metoprolol succinate xl", "patient_id": 73713}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d36c16c88b61460f4a6c0fc3"}, {"db_id": "mimic_iii", "question": "how many hours had passed since the last time patient 99883 was prescribed clotrimazole on the current hospital encounter?", "template": "how many hours have passed since the last time patient 99883 was prescribed clotrimazole on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 and admissions.dischtime is null ) and prescriptions.drug = 'clotrimazole' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "clotrimazole", "patient_id": 99883}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5eae585f60672ca30f99b73"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the last nitroprusside sodium prescription patient 10855 received in their current hospital visit?", "template": "how many days have passed since the last time patient 10855 was prescribed nitroprusside sodium on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 and admissions.dischtime is null ) and prescriptions.drug = 'nitroprusside sodium' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "nitroprusside sodium", "patient_id": 10855}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a6d26e4e9b3425b3fa454cc"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time during this hospital encounter that erythromycin was prescribed to patient 49176?", "template": "how many hours have passed since the last time patient 49176 was prescribed erythromycin on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) and prescriptions.drug = 'erythromycin' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 49176, "drug_name": "erythromycin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69e72fc4157e8be559c3fd30"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time sodium bicarbonate was prescribed to patient 10811 during their current hospital encounter?", "template": "how many hours have passed since the last time patient 10811 was prescribed sodium bicarbonate on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10811 and admissions.dischtime is null ) and prescriptions.drug = 'sodium bicarbonate' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 10811, "drug_name": "sodium bicarbonate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28c468eea64fab548b111743"}, {"db_id": "mimic_iii", "question": "on this hospital visit how many days has it been since patient 82132's last trazodone prescription?", "template": "how many days have passed since the last time patient 82132 was prescribed trazodone on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) and prescriptions.drug = 'trazodone' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 82132, "drug_name": "trazodone"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d087d51ba2a1816109eb1408"}, {"db_id": "mimic_iii", "question": "how many hours have it been since the last time that patient 82132 was prescribed with albuterol neb soln during their current hospital visit?", "template": "how many hours have passed since the last time patient 82132 was prescribed albuterol neb soln on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) and prescriptions.drug = 'albuterol neb soln' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 82132, "drug_name": "albuterol neb soln"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e60580dbd769580403708ac1"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 25814 received his first prescription of vancomycin on their current hospital visit?", "template": "how many days have passed since the first time patient 25814 was prescribed vancomycin on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 and admissions.dischtime is null ) and prescriptions.drug = 'vancomycin' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 25814, "drug_name": "vancomycin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc41d1b5051dd456619717a2"}, {"db_id": "mimic_iii", "question": "how many days have passed since the last 0.83% sodium chloride prescribed during the current hospital encounter for patient 55281?", "template": "how many days have passed since the last time patient 55281 was prescribed 0.83% sodium chloride on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55281 and admissions.dischtime is null ) and prescriptions.drug = '0.83% sodium chloride' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "0.83% sodium chloride", "patient_id": 55281}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20a50ffb5e1c5457dd08d93f"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 42473 last has been prescribed fluticasone propionate 110mcg in the current hospital encounter?", "template": "how many hours have passed since the last time patient 42473 was prescribed fluticasone propionate 110mcg on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) and prescriptions.drug = 'fluticasone propionate 110mcg' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 42473, "drug_name": "fluticasone propionate 110mcg"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80bed66860bb7e2c8a927d44"}, {"db_id": "mimic_iii", "question": "how many hours have passed since polysaccharide iron complex was prescribed to patient 96833 last during their current hospital encounter?", "template": "how many hours have passed since the last time patient 96833 was prescribed polysaccharide iron complex on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) and prescriptions.drug = 'polysaccharide iron complex' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 96833, "drug_name": "polysaccharide iron complex"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0139a60afcbdf9cf52d1c968"}, {"db_id": "mimic_iii", "question": "what is the number of days since patient 99883 received the last potassium chloride prescription in the current hospital encounter?", "template": "how many days have passed since the last time patient 99883 was prescribed potassium chloride on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 and admissions.dischtime is null ) and prescriptions.drug = 'potassium chloride' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 99883, "drug_name": "potassium chloride"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3c75bafaec5232809cac44d6"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 49176 first potassium chl 20 meq / 1000 ml d5ns was prescribed in the current hospital encounter?", "template": "how many days have passed since the first time patient 49176 was prescribed potassium chl 20 meq / 1000 ml d5ns on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) and prescriptions.drug = 'potassium chl 20 meq / 1000 ml d5ns' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "potassium chl 20 meq / 1000 ml d5ns", "patient_id": 49176}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfc4473d58231846dddf474f"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time in which patient 8888 was prescribed with furosemide on this hospital encounter?", "template": "how many hours have passed since the first time patient 8888 was prescribed furosemide on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 and admissions.dischtime is null ) and prescriptions.drug = 'furosemide' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 8888, "drug_name": "furosemide"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b007c8a22de825605166554e"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 10624 was given their last prescription of nitroglycerin in their current hospital encounter?", "template": "how many hours have passed since the last time patient 10624 was prescribed nitroglycerin on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) and prescriptions.drug = 'nitroglycerin' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "nitroglycerin", "patient_id": 10624}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03bc485b0526a303e24c3639"}, {"db_id": "mimic_iii", "question": "how many hours have passed since first hydroxyzine was prescribed to patient 14671 on the current hospital visit?", "template": "how many hours have passed since the first time patient 14671 was prescribed hydroxyzine on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 and admissions.dischtime is null ) and prescriptions.drug = 'hydroxyzine' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "hydroxyzine", "patient_id": 14671}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9e7ed5b977d60bed66fcae7"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 31482 first was prescribed oseltamivir on the current hospital encounter?", "template": "how many days have passed since the first time patient 31482 was prescribed oseltamivir on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 and admissions.dischtime is null ) and prescriptions.drug = 'oseltamivir' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "oseltamivir", "patient_id": 31482}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58370034e26326cded07f2bc"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 7112 received his first 5% dextrose prescription in the in this hospital visit?", "template": "how many days have passed since the first time patient 7112 was prescribed 5% dextrose on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) and prescriptions.drug = '5% dextrose' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 7112, "drug_name": "5% dextrose"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0de2c14db790ef0f506bea4"}, {"db_id": "mimic_iii", "question": "what number of hours has it been since the last time patient 25733 was prescribed propofol on this hospital visit?", "template": "how many hours have passed since the last time patient 25733 was prescribed propofol on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) and prescriptions.drug = 'propofol' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 25733, "drug_name": "propofol"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0877fb1f02c2d322ea53dbb3"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 76332 potassium phosphate was prescribed on the current hospital visit?", "template": "how many hours have passed since the last time patient 76332 was prescribed potassium phosphate on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 and admissions.dischtime is null ) and prescriptions.drug = 'potassium phosphate' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 76332, "drug_name": "potassium phosphate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f6975e3a8b3e9eba0be999e3"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 40707 has received the first prescription of d10w during their current hospital visit?", "template": "how many days have passed since the first time patient 40707 was prescribed d10w on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) and prescriptions.drug = 'd10w' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "d10w", "patient_id": 40707}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c809a7efc48647332718e64e"}, {"db_id": "mimic_iii", "question": "how many days had it been since patient 76372 received her first acetaminophen prescription in the current hospital visit?", "template": "how many days have passed since the first time patient 76372 was prescribed acetaminophen on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76372 and admissions.dischtime is null ) and prescriptions.drug = 'acetaminophen' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 76372, "drug_name": "acetaminophen"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5f7d91a7bfeb7ee9797bd5e"}, {"db_id": "mimic_iii", "question": "what number of hours has it been since patient 27172 received his first prescription of furosemide during their current hospital visit?", "template": "how many hours have passed since the first time patient 27172 was prescribed furosemide on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) and prescriptions.drug = 'furosemide' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27172, "drug_name": "furosemide"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03d6f244ff716932eb85950a"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 23436 first received an phentolamine mesylate prescription in the current hospital encounter?", "template": "how many days have passed since the first time patient 23436 was prescribed phentolamine mesylate on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null ) and prescriptions.drug = 'phentolamine mesylate' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "phentolamine mesylate", "patient_id": 23436}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43c3d546a18511833a90890c"}, {"db_id": "mimic_iii", "question": "how many days has it been since the first time potassium chloride was prescribed on this hospital visit to patient 27146?", "template": "how many days have passed since the first time patient 27146 was prescribed potassium chloride on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27146 and admissions.dischtime is null ) and prescriptions.drug = 'potassium chloride' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27146, "drug_name": "potassium chloride"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20dda647129255952aabb8a1"}, {"db_id": "mimic_iii", "question": "how many hours have gone since the first time patient 10624 was prescribed lidocaine-prilocaine on this hospital encounter?", "template": "how many hours have passed since the first time patient 10624 was prescribed lidocaine-prilocaine on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) and prescriptions.drug = 'lidocaine-prilocaine' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "lidocaine-prilocaine", "patient_id": 10624}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33e64e97d67243547ac9ada8"}, {"db_id": "mimic_iii", "question": "how many days has it been since the first aminocaproic acid prescription during the current hospital encounter for patient 11826?", "template": "how many days have passed since the first time patient 11826 was prescribed aminocaproic acid on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11826 and admissions.dischtime is null ) and prescriptions.drug = 'aminocaproic acid' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "aminocaproic acid", "patient_id": 11826}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e19153e12ee072f6b2c41084"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since patient 2518's first prescription of bupropion during their current hospital encounter?", "template": "how many hours have passed since the first time patient 2518 was prescribed bupropion on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) and prescriptions.drug = 'bupropion' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "bupropion", "patient_id": 2518}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6eba2ddc86841d92d7721efb"}, {"db_id": "mimic_iii", "question": "how many hours has it been since last time patient 99883 was prescribed clotrimazole during this hospital visit?", "template": "how many hours have passed since the last time patient 99883 was prescribed clotrimazole on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 and admissions.dischtime is null ) and prescriptions.drug = 'clotrimazole' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "clotrimazole", "patient_id": 99883}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a2f2c852cf71781ed659901"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 83182 alendronate sodium was first prescribed in the current hospital encounter?", "template": "how many days have passed since the first time patient 83182 was prescribed alendronate sodium on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) and prescriptions.drug = 'alendronate sodium' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "alendronate sodium", "patient_id": 83182}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "496c164445d5aab6108cfa60"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the first time patient 92788 was prescribed gabapentin during their current hospital encounter.", "template": "how many hours have passed since the first time patient 92788 was prescribed gabapentin on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) and prescriptions.drug = 'gabapentin' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "gabapentin", "patient_id": 92788}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70b62b1f80ca4e1c3bd566ad"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 14467 was prescribed potassium chloride during the current hospital visit the first time?", "template": "how many hours have passed since the first time patient 14467 was prescribed potassium chloride on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 and admissions.dischtime is null ) and prescriptions.drug = 'potassium chloride' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 14467, "drug_name": "potassium chloride"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b46c9ad1ed05baa1c3a17447"}, {"db_id": "mimic_iii", "question": "what is the number of days since patient 1114's last fluconazole prescription during the current hospital visit?", "template": "how many days have passed since the last time patient 1114 was prescribed fluconazole on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) and prescriptions.drug = 'fluconazole' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 1114, "drug_name": "fluconazole"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1071293a1b14e3d992e9236e"}, {"db_id": "mimic_iii", "question": "how many days is it since patient 27146 was first prescribed potassium chloride on their current hospital encounter?", "template": "how many days have passed since the first time patient 27146 was prescribed potassium chloride on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27146 and admissions.dischtime is null ) and prescriptions.drug = 'potassium chloride' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27146, "drug_name": "potassium chloride"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51280b7a2091aa385eac80ef"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 40059 had his first propoxyphene nap.-apap (n-100) prescription during the current hospital visit?", "template": "how many days have passed since the first time patient 40059 was prescribed propoxyphene nap.-apap (n-100) on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 and admissions.dischtime is null ) and prescriptions.drug = 'propoxyphene nap.-apap (n-100)' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 40059, "drug_name": "propoxyphene nap.-apap (n-100)"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "058fe491ab435a258b174d0c"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 14467 last had a heparin prescription in their current hospital encounter?", "template": "how many hours have passed since the last time patient 14467 was prescribed heparin on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 and admissions.dischtime is null ) and prescriptions.drug = 'heparin' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 14467, "drug_name": "heparin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cadc6f10bac48e01d1fa5163"}, {"db_id": "mimic_iii", "question": "what is the number of days since patient 17667 received the last magnesium sulfate prescription on this hospital encounter?", "template": "how many days have passed since the last time patient 17667 was prescribed magnesium sulfate on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 and admissions.dischtime is null ) and prescriptions.drug = 'magnesium sulfate' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 17667, "drug_name": "magnesium sulfate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d240e0ad9575099bf85d09fd"}, {"db_id": "mimic_iii", "question": "how many hours have pass since the last time patient 49176 was prescribed erythromycin on their current hospital encounter?", "template": "how many hours have passed since the last time patient 49176 was prescribed erythromycin on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) and prescriptions.drug = 'erythromycin' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 49176, "drug_name": "erythromycin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1c15021d8aab031a2c0a85d7"}, {"db_id": "mimic_iii", "question": "what is the number of hours since patient 76332 received the last vancomycin hcl prescription during the current hospital encounter?", "template": "how many hours have passed since the last time patient 76332 was prescribed vancomycin hcl on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 and admissions.dischtime is null ) and prescriptions.drug = 'vancomycin hcl' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 76332, "drug_name": "vancomycin hcl"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5bd0c8b2c40d5f3f5c8b37d2"}, {"db_id": "mimic_iii", "question": "how many days have passed since the last time patient 52898 pantoprazole sodium was prescribed during their current hospital visit?", "template": "how many days have passed since the last time patient 52898 was prescribed pantoprazole sodium on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',prescriptions.startdate) ) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) and prescriptions.drug = 'pantoprazole sodium' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "pantoprazole sodium", "patient_id": 52898}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a8be1994595ae1b7a7b4fa2"}, {"db_id": "mimic_iii", "question": "how many hours is it since patient 53176 last received the glucose lab test in their current hospital encounter?", "template": "how many hours have passed since the last time patient 53176 received a glucose lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "glucose", "patient_id": 53176}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d1ee4687b8d16382403264b"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 95892 received a pt laboratory test for the first time in this hospital encounter?", "template": "how many hours have passed since the first time patient 95892 received a pt lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "pt", "patient_id": 95892}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6409ae28326a231d4f89211b"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the last time in their current hospital visit patient 42829 has been given a white blood cells lab test?", "template": "how many days have passed since the last time patient 42829 received a white blood cells lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 42829, "lab_name": "white blood cells"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "866dd3467f0129b3888dd189"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time during this hospital encounter that patient 19412 had received a red blood cells laboratory test?", "template": "how many days have passed since the last time patient 19412 received a red blood cells lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 19412, "lab_name": "red blood cells"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3e19424d2b59ee087c14ebe"}, {"db_id": "mimic_iii", "question": "how many days elapsed since the last time patient 87232 received a pt lab test during this hospital encounter?", "template": "how many days have passed since the last time patient 87232 received a pt lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "pt", "patient_id": 87232}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32cd327a0a8375c46e051f24"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time patient 97395 received a lab test of potassium in this hospital visit?", "template": "how many days have passed since the first time patient 97395 received a potassium lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 97395, "lab_name": "potassium"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f21c4357d4cca54a6c5a2fcb"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 81461's first creatinine laboratory test in their current hospital encounter?", "template": "how many hours have passed since the first time patient 81461 received a creatinine lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81461 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "creatinine", "patient_id": 81461}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3843c0c5465f22fc588ea4db"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the first time patient 95892 got a base excess lab test in their current hospital encounter?", "template": "how many hours have passed since the first time patient 95892 received a base excess lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 95892, "lab_name": "base excess"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0053b92ed18cadefcec29bf7"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time patient 15794 received a laboratory test of the ph in this hospital encounter?", "template": "how many days have passed since the first time patient 15794 received a ph lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "ph", "patient_id": 15794}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c7b5e8c58cbe9fcb5d4309da"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time that patient 97330 has received a red blood cells laboratory test in the current hospital encounter?", "template": "how many days have passed since the first time patient 97330 received a red blood cells lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 97330, "lab_name": "red blood cells"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75bb3aca769aeab78f11a5ee"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time that patient 4401 has received a laboratory test po2 in this hospital encounter?", "template": "how many hours have passed since the last time patient 4401 received a po2 lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 4401, "lab_name": "po2"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0148feda13257c4b50f9d2c3"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 20898 last received a lab test on their current hospital visit for hematocrit?", "template": "how many days have passed since the last time patient 20898 received a hematocrit lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "hematocrit", "patient_id": 20898}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce6c83152f7e11eec74d4385"}, {"db_id": "mimic_iii", "question": "what is the number of days that have elapsed since the first time patient 49176 received a white blood cells lab test during their current hospital encounter?", "template": "how many days have passed since the first time patient 49176 received a white blood cells lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 49176, "lab_name": "white blood cells"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "923a38eae57dc310fda2012f"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 17667 has received a base excess test for the first time on this hospital encounter?", "template": "how many hours have passed since the first time patient 17667 received a base excess lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 17667, "lab_name": "base excess"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71f0e40673f66b5f0cfa6b01"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 42829 last took a creatinine lab test in this hospital visit?", "template": "how many days have passed since the last time patient 42829 received a creatinine lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 42829, "lab_name": "creatinine"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09afc55543d653c070ad4155"}, {"db_id": "mimic_iii", "question": "how many days elapsed since patient 25733 received his bicarbonate lab test for the last time during the current hospital encounter?", "template": "how many days have passed since the last time patient 25733 received a bicarbonate lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 25733, "lab_name": "bicarbonate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "793a46ea59f92e27f3b37766"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 97733 last received a laboratory test of albumin in this hospital visit?", "template": "how many days have passed since the last time patient 97733 received a albumin lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'albumin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 97733, "lab_name": "albumin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4c16b638eb359909bc04d9a"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the last time on this hospital visit patient 9566 received a lab test for sodium, whole blood?", "template": "how many hours have passed since the last time patient 9566 received a sodium, whole blood lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium, whole blood' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 9566, "lab_name": "sodium, whole blood"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5c199dfd0ad9ac8be9102b5"}, {"db_id": "mimic_iii", "question": "what is the total number of days that have passed since patient 97395's first anion gap lab test in this hospital visit?", "template": "how many days have passed since the first time patient 97395 received a anion gap lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "anion gap", "patient_id": 97395}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75fdf186a11b451ebf583573"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 42829 received the last rdw lab test during this hospital visit?", "template": "how many days have passed since the last time patient 42829 received a rdw lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 42829, "lab_name": "rdw"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6fe07eb02fcc3490a92564c4"}, {"db_id": "mimic_iii", "question": "how many hours it's been since patient 52898's first mcv lab test during their current hospital encounter?", "template": "how many hours have passed since the first time patient 52898 received a mcv lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 52898, "lab_name": "mcv"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d81ca8e1392a0d6883992c75"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the last time during the current hospital visit patient 55360 got a po2 lab test?", "template": "how many hours have passed since the last time patient 55360 received a po2 lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 55360, "lab_name": "po2"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b5c4d36c8567787703317b32"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 96833 received a laboratory test of hemoglobin for the last time during their current hospital visit?", "template": "how many days have passed since the last time patient 96833 received a hemoglobin lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 96833, "lab_name": "hemoglobin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f5ebb038a4e8082a2940ec5"}, {"db_id": "mimic_iii", "question": "what number of days have elapsed since the first time patient 92788 received a ptt lab test on the current hospital encounter?", "template": "how many days have passed since the first time patient 92788 received a ptt lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "ptt", "patient_id": 92788}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ea4ee6807138e8d3feee3d6"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 14671 had a creatinine laboratory test for the last time in the current hospital encounter?", "template": "how many days have passed since the last time patient 14671 received a creatinine lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 14671, "lab_name": "creatinine"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c7dfcd8eb7165395a26fae7d"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 83038 has had his first calculated total co2 lab test during this hospital visit?", "template": "how many days have passed since the first time patient 83038 received a calculated total co2 lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83038 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "calculated total co2", "patient_id": 83038}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e92154696a793a26416da0a4"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since the last time patient 55360 received a lab test for po2 on the current hospital visit?", "template": "how many hours have passed since the last time patient 55360 received a po2 lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 55360, "lab_name": "po2"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a5b6b43b7fbb5585f6fd887"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 81461 has taken a ph lab test on this hospital encounter?", "template": "how many hours have passed since the last time patient 81461 received a ph lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81461 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "ph", "patient_id": 81461}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9574189f668cd80145bc8b8c"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 1114 has first received a free calcium lab test on this hospital visit?", "template": "how many days have passed since the first time patient 1114 received a free calcium lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'free calcium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 1114, "lab_name": "free calcium"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d7f322a33e6d99acb993d6e"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time patient 14154 got a lactate dehydrogenase (ld) lab test in this hospital visit.", "template": "how many hours have passed since the first time patient 14154 received a lactate dehydrogenase (ld) lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate dehydrogenase (ld)' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 14154, "lab_name": "lactate dehydrogenase (ld)"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b8b33114d75884c3cceb811"}, {"db_id": "mimic_iii", "question": "how many days is it since patient 2957's first hemoglobin lab test during this hospital visit?", "template": "how many days have passed since the first time patient 2957 received a hemoglobin lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2957 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 2957, "lab_name": "hemoglobin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c813d9e5c2fc3df482be264d"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the last time patient 15945 got a asparate aminotransferase (ast) lab test on this hospital encounter?", "template": "how many hours have passed since the last time patient 15945 received a asparate aminotransferase (ast) lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'asparate aminotransferase (ast)' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 15945, "lab_name": "asparate aminotransferase (ast)"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8bb89aa581e87a6683381447"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 83182 received his last platelet count lab test in their current hospital encounter?", "template": "how many hours have passed since the last time patient 83182 received a platelet count lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "platelet count", "patient_id": 83182}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4eda73dce068a3c0de421305"}, {"db_id": "mimic_iii", "question": "how many days have it been since the first time that patient 97330 had received a white blood cells lab test during their current hospital visit?", "template": "how many days have passed since the first time patient 97330 received a white blood cells lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 97330, "lab_name": "white blood cells"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "918999ff3809c810e89a630e"}, {"db_id": "mimic_iii", "question": "how many days it has been since patient 96833 last received a potassium lab test during this hospital encounter?", "template": "how many days have passed since the last time patient 96833 received a potassium lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 96833, "lab_name": "potassium"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75955a76061f535a5d551092"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 6170 had the last pt lab test during this hospital visit?", "template": "how many hours have passed since the last time patient 6170 received a pt lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 6170, "lab_name": "pt"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "77bb89909ce2d018a5c65efb"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time that patient 3929 received a anion gap laboratory test on this hospital encounter?", "template": "how many days have passed since the first time patient 3929 received a anion gap lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 3929, "lab_name": "anion gap"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f163838bc02d10771458c0e7"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 49176 received a lab test of eosinophils for the first time during their current hospital encounter?", "template": "how many hours have passed since the first time patient 49176 received a eosinophils lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'eosinophils' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "eosinophils", "patient_id": 49176}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7392a98699fa008d8a7c20f3"}, {"db_id": "mimic_iii", "question": "how many hours have it been since patient 87232 had received a sodium laboratory test during their current hospital visit for the first time?", "template": "how many hours have passed since the first time patient 87232 received a sodium lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "sodium", "patient_id": 87232}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "499e01698e8e1dd8bb37d28c"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 739 last received a lab test for hematocrit in this hospital encounter?", "template": "how many days have passed since the last time patient 739 received a hematocrit lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 739, "lab_name": "hematocrit"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8122fe9223b9ea86f5e49c58"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 53176 was last tested for potassium during this hospital visit?", "template": "how many hours have passed since the last time patient 53176 received a potassium lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 53176, "lab_name": "potassium"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8043b8201987feaa3d071b6"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 25733 had received an anion gap lab test for the first time in this hospital visit?", "template": "how many hours have passed since the first time patient 25733 received a anion gap lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 25733, "lab_name": "anion gap"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9529300a3d8390c6531bd5c4"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since the last time patient 14154 in this hospital encounter received a lab test for anion gap?", "template": "how many hours have passed since the last time patient 14154 received a anion gap lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 14154, "lab_name": "anion gap"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "efb0c2170aa2dcdd31e21615"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the first time patient 99883 during their current hospital visit received a mch lab test?", "template": "how many hours have passed since the first time patient 99883 received a mch lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 99883, "lab_name": "mch"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b3aa5b5691279296342f65f6"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 97330 had received a calcium, total lab test for the last time in this hospital visit?", "template": "how many days have passed since the last time patient 97330 received a calcium, total lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 97330, "lab_name": "calcium, total"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "88e516ce34dfc4358245414f"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 15209 first got a lab test for urea nitrogen on their current hospital encounter?", "template": "how many hours have passed since the first time patient 15209 received a urea nitrogen lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15209 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 15209, "lab_name": "urea nitrogen"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a9ad24c2304479f9f160135"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since the first time during their current hospital visit patient 28443 had received a creatine kinase (ck) lab test?", "template": "how many days have passed since the first time patient 28443 received a creatine kinase (ck) lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "creatine kinase (ck)", "patient_id": 28443}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58161ac8f9d47b1c95ab8826"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since the last time patient 71689 received a laboratory sodium test in this hospital visit?", "template": "how many hours have passed since the last time patient 71689 received a sodium lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 71689, "lab_name": "sodium"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df5e7f74bd6300c6fbb5bd9a"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 53176 had a laboratory test for glucose for the last time on the current hospital visit?", "template": "how many hours have passed since the last time patient 53176 received a glucose lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "glucose", "patient_id": 53176}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f3e465516c9b05141d0c5f6c"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since patient 18866 last received a laboratory test of alkaline phosphatase on their current hospital encounter?", "template": "how many hours have passed since the last time patient 18866 received a alkaline phosphatase lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'alkaline phosphatase' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "alkaline phosphatase", "patient_id": 18866}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d081c79f1f4bdf62ad2c74df"}, {"db_id": "mimic_iii", "question": "how many hours it's been since patient 739 last got a potassium lab test during the current hospital encounter?", "template": "how many hours have passed since the last time patient 739 received a potassium lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 739, "lab_name": "potassium"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aea37220c354edb5a1734542"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time patient 12927 has received a sodium-lab test on the current hospital encounter?", "template": "how many days have passed since the first time patient 12927 received a sodium lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "sodium", "patient_id": 12927}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17f1490e3d2e3bbd1c0311e1"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 99883 received the mch laboratory test for the first time on the current hospital visit?", "template": "how many days have passed since the first time patient 99883 received a mch lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 99883, "lab_name": "mch"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dc9977d56b8b8e85f9a59573"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time patient 20898 was given a lactate lab test on the current hospital encounter?", "template": "how many days have passed since the first time patient 20898 received a lactate lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 20898, "lab_name": "lactate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43f06100fd805e8e3d80e30b"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 2518 first received a laboratory fibrinogen, functional test on their current hospital encounter?", "template": "how many hours have passed since the first time patient 2518 received a fibrinogen, functional lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'fibrinogen, functional' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 2518, "lab_name": "fibrinogen, functional"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0d09047f0fb5a2a30a7d29a"}, {"db_id": "mimic_iii", "question": "what number of hours have passed since patient 55281 last received a potassium lab test during their current hospital encounter?", "template": "how many hours have passed since the last time patient 55281 received a potassium lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55281 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 55281, "lab_name": "potassium"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3bccf71e950e81d2263d8856"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 92788 was given a ptt laboratory test for the first time in this hospital visit?", "template": "how many days have passed since the first time patient 92788 received a ptt lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "ptt", "patient_id": 92788}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1136797a76cdecf7113ba450"}, {"db_id": "mimic_iii", "question": "how many days has it been from the last time patient 31854 received a glucose lab test on this hospital encounter?", "template": "how many days have passed since the last time patient 31854 received a glucose lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 31854, "lab_name": "glucose"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "15e7f353da5099a8ba294615"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since patient 31088's first lab test of white blood cells during their current hospital visit?", "template": "how many days have passed since the first time patient 31088 received a white blood cells lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 31088, "lab_name": "white blood cells"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec0fdebe3ed1d10666932077"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 8116's first test for phosphate on this hospital encounter?", "template": "how many hours have passed since the first time patient 8116 received a phosphate lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "phosphate", "patient_id": 8116}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d627b2934984adf0b9556a8"}, {"db_id": "mimic_iii", "question": "how many days has it been since the last time patient 76332 was given a sodium test on this hospital visit?", "template": "how many days have passed since the last time patient 76332 received a sodium lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "sodium", "patient_id": 76332}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ae629b5018ad8a2f062c20a7"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 31088 had a white blood cells laboratory test for the first time on the current hospital encounter?", "template": "how many days have passed since the first time patient 31088 received a white blood cells lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 31088, "lab_name": "white blood cells"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "998f0504c572e3972e00762e"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 15794's first neutrophils laboratory test during this hospital visit?", "template": "how many days have passed since the first time patient 15794 received a neutrophils lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 15794, "lab_name": "neutrophils"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "741c4cd37b53cfc49c232764"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 25733 was last tested for bicarbonate during the current hospital visit?", "template": "how many days have passed since the last time patient 25733 received a bicarbonate lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 25733, "lab_name": "bicarbonate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4c061333f7f15a11e369d7e"}, {"db_id": "mimic_iii", "question": "what is the total number of days that have passed since patient 13054's last mchc lab test on their current hospital encounter?", "template": "how many days have passed since the last time patient 13054 received a mchc lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 13054, "lab_name": "mchc"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "240114ab423b27102767e02f"}, {"db_id": "mimic_iii", "question": "how many hours it's been since patient 31854's last neutrophils lab test in their current hospital encounter?", "template": "how many hours have passed since the last time patient 31854 received a neutrophils lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 31854, "lab_name": "neutrophils"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2f62f85ab918d4e03582d1c"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time that patient 83182 has received a rbc laboratory test on the current hospital encounter?", "template": "how many days have passed since the first time patient 83182 received a rbc lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rbc' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 83182, "lab_name": "rbc"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50137c4bdec26b03fd80f06c"}, {"db_id": "mimic_iii", "question": "how many days has passed since patient 76332 had a pt laboratory test for the first time on their current hospital encounter?", "template": "how many days have passed since the first time patient 76332 received a pt lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "pt", "patient_id": 76332}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54b4e20e4c88b29946d32d84"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 93078 last received a laboratory phosphate test on this hospital visit?", "template": "how many hours have passed since the last time patient 93078 received a phosphate lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93078 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 93078, "lab_name": "phosphate"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2dea5362048c94ad15066282"}, {"db_id": "mimic_iii", "question": "what is the total number of days that have passed since patient 9964's last creatine kinase (ck) lab test during the current hospital visit?", "template": "how many days have passed since the last time patient 9964 received a creatine kinase (ck) lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "creatine kinase (ck)", "patient_id": 9964}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3211583cb7a29b6d04dee29a"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time on their current hospital visit patient 2518 has been given a lymphocytes lab test?", "template": "how many days have passed since the first time patient 2518 received a lymphocytes lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lymphocytes' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 2518, "lab_name": "lymphocytes"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1009e09cf33256c073d441e5"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 17667 received the creatinine laboratory test for the last time on the current hospital encounter?", "template": "how many days have passed since the last time patient 17667 received a creatinine lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "creatinine", "patient_id": 17667}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d73ac2dc49986a365d4a30ed"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since the first time patient 81461 received a lab test for mcv in this hospital encounter?", "template": "how many days have passed since the first time patient 81461 received a mcv lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81461 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "mcv", "patient_id": 81461}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "357d4cd5b51f47c61ca2f576"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since the last time in their current hospital encounter patient 24132 had received a po2 lab test?", "template": "how many days have passed since the last time patient 24132 received a po2 lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24132 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 24132, "lab_name": "po2"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e507ab70f6e914c8b6350f79"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 6170 during their current hospital visit received a mchc lab test?", "template": "how many hours have passed since the last time patient 6170 received a mchc lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 6170, "lab_name": "mchc"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e7520ac8b8fb45df20b14916"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 15794 last got a lab test for pco2 during their current hospital visit?", "template": "how many days have passed since the last time patient 15794 received a pco2 lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pco2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 15794, "lab_name": "pco2"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bcf025c4e274de2f211d8e9f"}, {"db_id": "mimic_iii", "question": "how many hours has it passed since the first time patient 9964 received a laboratory chloride test during their current hospital visit?", "template": "how many hours have passed since the first time patient 9964 received a chloride lab test on the current hospital visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "chloride", "patient_id": 9964}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6cbd9087b92ef6f7f527e54c"}, {"db_id": "mimic_iii", "question": "how many days it's been since patient 27172 last got a platelet count lab test during this hospital visit?", "template": "how many days have passed since the last time patient 27172 received a platelet count lab test on the current hospital visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',labevents.charttime) ) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 27172, "lab_name": "platelet count"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} received a {lab_name} lab test on the current hospital visit?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b62cccbd43f22868f183b1f"}, {"db_id": "mimic_iii", "question": "i'm curious as to how many hours have passed since patient 1902's last intake of d5ns on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 1902 had a d5ns intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5ns' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 1902, "intake_name": "d5ns"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ea98fd80291b577dc83d719"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time that patient 14467 has had an d5w intake on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 14467 had a d5w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d5w", "patient_id": 14467}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ceb281cf35c8f07d0d735fc"}, {"db_id": "mimic_iii", "question": "how many days is it since the first time patient 5828 had a .45% normal saline intake on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 5828 had a .45% normal saline intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.45% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 5828, "intake_name": ".45% normal saline"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ee16df63003ebebe7780592"}, {"db_id": "mimic_iii", "question": "how many hours have passed since patient 12726 had a d5w intake for the first time on the current icu visit?", "template": "how many hours have passed since the first time patient 12726 had a d5w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12726, "intake_name": "d5w"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f35f09bfa220e1ee70c0ef39"}, {"db_id": "mimic_iii", "question": "how many days has passed since the last time patient 18866 on the current intensive care unit visit took a lactated ringers intake?", "template": "how many days have passed since the last time patient 18866 had a lactated ringers intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "lactated ringers", "patient_id": 18866}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "171ee9a61939eb985e2e208a"}, {"db_id": "mimic_iii", "question": "what is the amount of days it has elapsed since the first time patient 14467 had a d5w intake on the current icu visit?", "template": "how many days have passed since the first time patient 14467 had a d5w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 14467, "intake_name": "d5w"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "418cdb0bf836baf6c70b0a69"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time that patient 18866 had intake of d5/.45ns on the current intensive care unit visit?", "template": "how many hours have passed since the first time patient 18866 had a d5/.45ns intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5/.45ns' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 18866, "intake_name": "d5/.45ns"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c58649ef43adcd31c966281"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 12775 received po intake for the first time in the on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 12775 had a po intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'po intake' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12775, "intake_name": "po intake"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5afc4248e63861a518dfcc8b"}, {"db_id": "mimic_iii", "question": "how many days has it been since patient 1561 last received an intake of lactated ringers on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 1561 had a lactated ringers intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 1561, "intake_name": "lactated ringers"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db2d39999f8bcfb424bb2c55"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 14467 was given a d10w intake on the current icu visit?", "template": "how many hours have passed since the last time patient 14467 had a d10w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd10w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d10w", "patient_id": 14467}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e541ba887c3df8c5a6acf22"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first intake of tpn d13.0 in patient 4401 on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 4401 had a tpn d13.0 intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d13.0' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "tpn d13.0", "patient_id": 4401}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14c35731547095fb4d2b4c2f"}, {"db_id": "mimic_iii", "question": "what is the number of days that have passed since the last time patient 28443 received a d5w intake on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 28443 had a d5w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d5w", "patient_id": 28443}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14aed2ff9e49c6d292f848d5"}, {"db_id": "mimic_iii", "question": "how many days have it been since the last time patient 15447 has had the d5w intake on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 15447 had a d5w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 15447, "intake_name": "d5w"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d9a148983bb7bb0bf8b84a3"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since the first time patient 1902 had a tpn intake on the current icu visit?", "template": "how many hours have passed since the first time patient 1902 had a tpn intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 1902, "intake_name": "tpn"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34a6cf6be6ec7b6abc860b61"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last intake of d5w for patient 12775 on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 12775 had a d5w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d5w", "patient_id": 12775}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4044aff84194aae83daf4cfa"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since the last time that patient 12775 had an intake of tpn on the current icu visit?", "template": "how many hours have passed since the last time patient 12775 had a tpn intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 12775, "intake_name": "tpn"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4b0ac99a7a062ed984d16f3"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 10855 first received an intake of free water bolus on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 10855 had a free water bolus intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'free water bolus' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "free water bolus", "patient_id": 10855}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5854cd27239b3ecdd381a31"}, {"db_id": "mimic_iii", "question": "what is the number of days elapsed since the first time patient 1902 had a tpn intake on the current icu visit?", "template": "how many days have passed since the first time patient 1902 had a tpn intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "tpn", "patient_id": 1902}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bad68635530d5e22dad30e7c"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time that patient 12726 had a .9% normal saline intake on the current icu visit?", "template": "how many days have passed since the first time patient 12726 had a .9% normal saline intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12726, "intake_name": ".9% normal saline"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29f32aa77d6836d026356679"}, {"db_id": "mimic_iii", "question": "how many hours has elapsed since the first time patient 15794 received a .45ns + .5:1 heparin intake on the current icu visit?", "template": "how many hours have passed since the first time patient 15794 had a .45ns + .5:1 heparin intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.45ns + .5:1 heparin' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 15794, "intake_name": ".45ns + .5:1 heparin"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28ab8a649bfd40ce3f31bb20"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time patient 10855 had an intake of .9% normal saline on the current icu visit?", "template": "how many days have passed since the first time patient 10855 had a .9% normal saline intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 10855, "intake_name": ".9% normal saline"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "405fed0c547ce2f064616312"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last time that patient 31854 on the current icu visit received a criticare hn intake?", "template": "how many hours have passed since the last time patient 31854 had a criticare hn intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'criticare hn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 31854, "intake_name": "criticare hn"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1836a66bd1f017f9036380b0"}, {"db_id": "mimic_iii", "question": "i mean how many days has it been since the first time patient 10855 had a gastric meds intake on the current icu visit?", "template": "how many days have passed since the first time patient 10855 had a gastric meds intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric meds' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 10855, "intake_name": "gastric meds"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b36b4800e026f8a920e2d9b8"}, {"db_id": "mimic_iii", "question": "how many days has passed since the last time patient 15447 has had lactated ringers intake on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 15447 had a lactated ringers intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 15447, "intake_name": "lactated ringers"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2366d393e860cce612ad604"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since the first time that patient 4401 had a tpn d13.0 intake on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 4401 had a tpn d13.0 intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d13.0' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "tpn d13.0", "patient_id": 4401}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84c124b3d676a5772c0ee9de"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time that patient 3125 had a promote w/fiber intake on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 3125 had a promote w/fiber intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 3125, "intake_name": "promote w/fiber"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d77596b78aecb2cf42de4a1"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 14467 last received an intake of d5w on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 14467 had a d5w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d5w", "patient_id": 14467}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5dc6f76010051670cb618663"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 9566 received gastric meds for the last time in the on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 9566 had a gastric meds intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric meds' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 9566, "intake_name": "gastric meds"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "66459baf976a8ce9709231b1"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 15794 first received an intake of d5w on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 15794 had a d5w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d5w", "patient_id": 15794}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e8743e26bb43a3dd30ae50b"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time that patient 6170 on the current icu visit received a .9% normal saline intake?", "template": "how many hours have passed since the first time patient 6170 had a .9% normal saline intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 6170}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "08d22c8ee0acdffb54a51348"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the first time that patient 18866 had a d5/.45ns intake on the current icu visit?", "template": "how many hours have passed since the first time patient 18866 had a d5/.45ns intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5/.45ns' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 18866, "intake_name": "d5/.45ns"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2f94bab568444c88ffb75f1"}, {"db_id": "mimic_iii", "question": "how many days is it since the first time patient 3125 had a .9% normal saline intake on the current icu visit?", "template": "how many days have passed since the first time patient 3125 had a .9% normal saline intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 3125}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef50af9eb688f1153138f5c4"}, {"db_id": "mimic_iii", "question": "i'm curious as to how many hours have passed since patient 12726's first intake of lipids 20% on the current icu visit?", "template": "how many hours have passed since the first time patient 12726 had a lipids 20% intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lipids 20%' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12726, "intake_name": "lipids 20%"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a0c7f862c9b5d5505956342"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 6170 first received an intake of po intake on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 6170 had a po intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'po intake' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "po intake", "patient_id": 6170}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b93c25d6d1c028c59a354ad"}, {"db_id": "mimic_iii", "question": "i mean how many hours has it been since the first time patient 15794 had a gastric meds intake on the current icu visit?", "template": "how many hours have passed since the first time patient 15794 had a gastric meds intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric meds' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 15794, "intake_name": "gastric meds"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f02831f016f0bee6141a87f2"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time patient 739 was given a promote w/fiber intake on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 739 had a promote w/fiber intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "promote w/fiber", "patient_id": 739}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e4c1eec16aa4b9a71938991"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time patient 10855 was given a d10w intake on the current intensive care unit visit?", "template": "how many days have passed since the first time patient 10855 had a d10w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd10w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d10w", "patient_id": 10855}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0ee061056ecff6f4a1cdd1f"}, {"db_id": "mimic_iii", "question": "what is the amount of days it has elapsed since the last time patient 25733 had a d5w intake on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 25733 had a d5w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 25733, "intake_name": "d5w"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe038148151a4593bc413efb"}, {"db_id": "mimic_iii", "question": "how many days has it been since the first time that patient 3125 on the current icu visit received a d5w intake?", "template": "how many days have passed since the first time patient 3125 had a d5w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d5w", "patient_id": 3125}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a508db3b94bf400cfa57864"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the last intake of tf residual for patient 18866 on the current icu visit?", "template": "how many hours have passed since the last time patient 18866 had a tf residual intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tf residual' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "tf residual", "patient_id": 18866}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "869d84fd58423b01c35720d5"}, {"db_id": "mimic_iii", "question": "how many days has elapsed since the last time that patient 12775 had an intake of .9% normal saline on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 12775 had a .9% normal saline intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 12775, "intake_name": ".9% normal saline"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50d0d84d0c4f877b630f415d"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the first time patient 28447 was given a d5w intake on the current intensive care unit visit?", "template": "how many hours have passed since the first time patient 28447 had a d5w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d5w", "patient_id": 28447}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "41148612a09bc0054483cc73"}, {"db_id": "mimic_iii", "question": "how many hours has it been since patient 12775 last received an intake of d5w on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 12775 had a d5w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d5w", "patient_id": 12775}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0f2612efe0a941918e9aa48d"}, {"db_id": "mimic_iii", "question": "what is the amount of days it has elapsed since the first time patient 28443 had a lipids 20% intake on the current icu visit?", "template": "how many days have passed since the first time patient 28443 had a lipids 20% intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lipids 20%' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 28443, "intake_name": "lipids 20%"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d4de9a790b419d60479df56"}, {"db_id": "mimic_iii", "question": "how many hours has passed since the first time patient 8116 on the current icu visit took a .9% normal saline intake?", "template": "how many hours have passed since the first time patient 8116 had a .9% normal saline intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 8116}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "89aaaa441084333fd8dfae7e"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 12726 first received an intake of lipids 20% on the current icu visit?", "template": "how many hours have passed since the first time patient 12726 had a lipids 20% intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lipids 20%' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12726, "intake_name": "lipids 20%"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6fbda3bb75272575531ed52f"}, {"db_id": "mimic_iii", "question": "how many hours is it since the last time patient 31854 had a criticare hn intake on the current icu visit?", "template": "how many hours have passed since the last time patient 31854 had a criticare hn intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'criticare hn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 31854, "intake_name": "criticare hn"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe40464eefc2b9a48e392bbb"}, {"db_id": "mimic_iii", "question": "how many hours have passed since the last time that patient 1902 has had an d5ns intake on the current intensive care unit visit?", "template": "how many hours have passed since the last time patient 1902 had a d5ns intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5ns' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 1902, "intake_name": "d5ns"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d6ba2c1bc0bbc9ac900c87f8"}, {"db_id": "mimic_iii", "question": "how many days has passed since the last time patient 739 on the current intensive care unit visit took a .9% normal saline intake?", "template": "how many days have passed since the last time patient 739 had a .9% normal saline intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 739, "intake_name": ".9% normal saline"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "88fff46be200c2b34b013c11"}, {"db_id": "mimic_iii", "question": "how many days have it been since the last time patient 19428 has had the d10w intake on the current icu visit?", "template": "how many days have passed since the last time patient 19428 had a d10w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd10w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 19428, "intake_name": "d10w"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe49f625433cc2b815477024"}, {"db_id": "mimic_iii", "question": "how many days have elapsed since patient 15447 last received an intake of d5w on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 15447 had a d5w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 15447, "intake_name": "d5w"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b0ebc9a6b87a494820680fc"}, {"db_id": "mimic_iii", "question": "how many days have passed since the first time that patient 10855 has had an d10w intake on the current icu visit?", "template": "how many days have passed since the first time patient 10855 had a d10w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd10w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d10w", "patient_id": 10855}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8305dd090a9033abcaf265c"}, {"db_id": "mimic_iii", "question": "how many hours has it been since the first time that patient 4401 on the current intensive care unit visit received a d5w intake?", "template": "how many hours have passed since the first time patient 4401 had a d5w intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 4401, "intake_name": "d5w"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aed5b6f62cbba11cb44851e9"}, {"db_id": "mimic_iii", "question": "how many days have passed since patient 19428 had a d 12.5 w intake for the last time on the current intensive care unit visit?", "template": "how many days have passed since the last time patient 19428 had a d 12.5 w intake on the current icu visit?", "query": "select 1 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd 12.5 w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d 12.5 w", "patient_id": 19428}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", "days"], "tag": "how many [unit_count:days] have passed since the [time_filter_exact1:exact-last] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37378312928515330d4a5a49"}, {"db_id": "mimic_iii", "question": "how many hours have elapsed since patient 20898 first received an intake of criticare hn on the current intensive care unit visit?", "template": "how many hours have passed since the first time patient 20898 had a criticare hn intake on the current icu visit?", "query": "select 24 * ( strftime('%j',current_time) - strftime('%j',inputevents_cv.charttime) ) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'criticare hn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 20898, "intake_name": "criticare hn"}, "q_tag": "how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", "hours"], "tag": "how many [unit_count:hours] have passed since the [time_filter_exact1:exact-first] time patient {patient_id} had a {intake_name} intake on the current icu visit?", "department": "['physician', 'infection_control', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1ae0c7e48715d8f86ecc9bd8"}, {"db_id": "mimic_iii", "question": "how did since 2101 patient 9297 last enter the hospital?", "template": "what was the last hospital admission type of patient 9297 since 2101?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 9297 and strftime('%y',admissions.admittime) >= '2101' order by admissions.admittime desc limit 1", "value": {"patient_id": 9297}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e656d2e2b86e8bda3264b0a"}, {"db_id": "mimic_iii", "question": "how did patient 74624 get admitted to the hospital since 4 years ago first?", "template": "what was the first hospital admission type of patient 74624 since 4 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 74624 and datetime(admissions.admittime) >= datetime(current_time,'-4 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 74624}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c779f0e29e56976e9fc06c1"}, {"db_id": "mimic_iii", "question": "how did patient 89037 last enter the hospital.", "template": "what was the last hospital admission type of patient 89037?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 89037 order by admissions.admittime desc limit 1", "value": {"patient_id": 89037}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b416a9de6c7be35339c0710"}, {"db_id": "mimic_iii", "question": "how did patient 98015 enter the hospital for the first time since 2105?", "template": "what was the first hospital admission type of patient 98015 since 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 98015 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime asc limit 1", "value": {"patient_id": 98015}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ac746fbf9cd911944d303e5"}, {"db_id": "mimic_iii", "question": "how is patient 20898 first admitted to the hospital in 2105?", "template": "what was the first hospital admission type of patient 20898 in 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 20898 and strftime('%y',admissions.admittime) = '2105' order by admissions.admittime asc limit 1", "value": {"patient_id": 20898}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da6cf98d6abcc0eac70db257"}, {"db_id": "mimic_iii", "question": "how did patient 3118 first visit until 1 year ago to the hospital?", "template": "what was the first hospital admission type of patient 3118 until 1 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 3118 and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 3118}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a3d061a239c2670612dc666"}, {"db_id": "mimic_iii", "question": "how did patient 17505 until 2102 first visit the hospital?", "template": "what was the first hospital admission type of patient 17505 until 2102?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 17505 and strftime('%y',admissions.admittime) <= '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 17505}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "937f5c9023f5d7d9367f942c"}, {"db_id": "mimic_iii", "question": "how did patient 2002 get admitted to the hospital for the first time?", "template": "what was the first hospital admission type of patient 2002?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 2002 order by admissions.admittime asc limit 1", "value": {"patient_id": 2002}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9101f7dda2ab3bc3dd839dc4"}, {"db_id": "mimic_iii", "question": "what was the first type of hospital admission type of patient 3939?", "template": "what was the first hospital admission type of patient 3939?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 3939 order by admissions.admittime asc limit 1", "value": {"patient_id": 3939}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca1fc313d2f4c1aa7c0fda4b"}, {"db_id": "mimic_iii", "question": "how did patient 61003 last get admitted in the hospital until 2103?", "template": "what was the last hospital admission type of patient 61003 until 2103?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 61003 and strftime('%y',admissions.admittime) <= '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 61003}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93613a12d94f1e2e3c7075ac"}, {"db_id": "mimic_iii", "question": "how patient 16879 was first admitted to hospital until 2 years ago?", "template": "what was the first hospital admission type of patient 16879 until 2 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 16879 and datetime(admissions.admittime) <= datetime(current_time,'-2 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 16879}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e9a043aa699c2cdcdaa772d"}, {"db_id": "mimic_iii", "question": "since 1 year ago what is the first hospital admission type of patient 27465?", "template": "what was the first hospital admission type of patient 27465 since 1 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 27465 and datetime(admissions.admittime) >= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 27465}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8ac14301e3fe4c9588428bd1"}, {"db_id": "mimic_iii", "question": "how did patient 13329 enter hospital for the last time until 3 years ago?", "template": "what was the last hospital admission type of patient 13329 until 3 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 13329 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 13329}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3860079fb4f0d360319147e"}, {"db_id": "mimic_iii", "question": "how did patient 27242 first come to the hospital.", "template": "what was the first hospital admission type of patient 27242?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 27242 order by admissions.admittime asc limit 1", "value": {"patient_id": 27242}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81c2eed6e36ab93a8fa62778"}, {"db_id": "mimic_iii", "question": "how did patient 81461 first be admitted to the hospital during this year?", "template": "what was the first hospital admission type of patient 81461 this year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 81461 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 81461}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cbde59661ea02775522a0ba1"}, {"db_id": "mimic_iii", "question": "how was patient 75762 admitted to hospital the first time until 3 years ago?", "template": "what was the first hospital admission type of patient 75762 until 3 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 75762 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 75762}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b4340edd2840916b42928d51"}, {"db_id": "mimic_iii", "question": "how did patient 20862 first come into the hospital since 3 years ago?", "template": "what was the first hospital admission type of patient 20862 since 3 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 20862 and datetime(admissions.admittime) >= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 20862}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "05303a55327c5db79ad73c80"}, {"db_id": "mimic_iii", "question": "what was the last type of hospital admission of patient 462 since 2 years ago.", "template": "what was the last hospital admission type of patient 462 since 2 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 462 and datetime(admissions.admittime) >= datetime(current_time,'-2 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 462}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "793f5e96c8f56e3fba286ca5"}, {"db_id": "mimic_iii", "question": "how did patient 14458 get first admission to the hospital during this year?", "template": "what was the first hospital admission type of patient 14458 this year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 14458 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 14458}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e9c9064589f5c778d316850"}, {"db_id": "mimic_iii", "question": "how did patient 25723 last get admitted until 3 years ago to the hospital?", "template": "what was the last hospital admission type of patient 25723 until 3 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 25723 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 25723}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d30cc9778b3d4bc94233a798"}, {"db_id": "mimic_iii", "question": "what was the last hospital admissions type of patient 4288 during this year?", "template": "what was the last hospital admission type of patient 4288 this year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 4288 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 4288}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed8b8ae0f483efb83b196513"}, {"db_id": "mimic_iii", "question": "how did patient 26995 first get in a hospital?", "template": "what was the first hospital admission type of patient 26995?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 26995 order by admissions.admittime asc limit 1", "value": {"patient_id": 26995}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a7be47a30b9bcc6f1635544"}, {"db_id": "mimic_iii", "question": "what was the last type of the hospital admission of patient 60136 since 2105?", "template": "what was the last hospital admission type of patient 60136 since 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 60136 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 60136}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e8d90c9a504e6c2fc7527b5"}, {"db_id": "mimic_iii", "question": "what was the last hospital hospital admission type of patient 2004 last year?", "template": "what was the last hospital admission type of patient 2004 last year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 2004 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 2004}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ee43e69b5af02e8c6cdac21"}, {"db_id": "mimic_iii", "question": "how did patient 67687 last entered hospital until 2104?", "template": "what was the last hospital admission type of patient 67687 until 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 67687 and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 67687}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0135c78515389277e68ef04d"}, {"db_id": "mimic_iii", "question": "how did patient 6990 enter the hospital for the last time?", "template": "what was the last hospital admission type of patient 6990?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 6990 order by admissions.admittime desc limit 1", "value": {"patient_id": 6990}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b8bacc13e6e41b6bed134e0"}, {"db_id": "mimic_iii", "question": "what was the last hospital admission type during the last year for patient 2238.", "template": "what was the last hospital admission type of patient 2238 last year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 2238 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 2238}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4bf8a2140dd4941a51e6490d"}, {"db_id": "mimic_iii", "question": "how did patient 22756 last enter the hospital in 2104?", "template": "what was the last hospital admission type of patient 22756 in 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 22756 and strftime('%y',admissions.admittime) = '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 22756}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b3b6f33aee4700a9b10675c4"}, {"db_id": "mimic_iii", "question": "what was the last type of hospital admission of patient 70709 in 2103?", "template": "what was the last hospital admission type of patient 70709 in 2103?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 70709 and strftime('%y',admissions.admittime) = '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 70709}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cad60eee934db77ad184a235"}, {"db_id": "mimic_iii", "question": "how patient 19412 was admitted to hospital since 5 years ago for the last time?", "template": "what was the last hospital admission type of patient 19412 since 5 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 19412 and datetime(admissions.admittime) >= datetime(current_time,'-5 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 19412}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5173d207f0316c7c4f0d75e"}, {"db_id": "mimic_iii", "question": "how patient 16368 was admitted to the hospital last?", "template": "what was the last hospital admission type of patient 16368?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 16368 order by admissions.admittime desc limit 1", "value": {"patient_id": 16368}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "95ec7c30f5b1debb96d49d22"}, {"db_id": "mimic_iii", "question": "how was patient 88191 admitted to the hospital in 2102 for the last time?", "template": "what was the last hospital admission type of patient 88191 in 2102?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 88191 and strftime('%y',admissions.admittime) = '2102' order by admissions.admittime desc limit 1", "value": {"patient_id": 88191}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8eb28de3c39011d89194ac97"}, {"db_id": "mimic_iii", "question": "how did patient 51577 come in for last time to the hospital?", "template": "what was the last hospital admission type of patient 51577?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 51577 order by admissions.admittime desc limit 1", "value": {"patient_id": 51577}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d328bab3d9cfa5640bb6ab94"}, {"db_id": "mimic_iii", "question": "how did patient 8204 go into the hospital the first time.", "template": "what was the first hospital admission type of patient 8204?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 8204 order by admissions.admittime asc limit 1", "value": {"patient_id": 8204}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "302ba0feccc01601bab3a4cd"}, {"db_id": "mimic_iii", "question": "how has patient 6440 last visited the hospital until 3 years ago?", "template": "what was the last hospital admission type of patient 6440 until 3 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 6440 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 6440}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "387ae33c39679b10b21acd13"}, {"db_id": "mimic_iii", "question": "how did first patient 76494 get admitted to the hospital in 2102?", "template": "what was the first hospital admission type of patient 76494 in 2102?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 76494 and strftime('%y',admissions.admittime) = '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 76494}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a25a063e9cc26ca1037cf7d"}, {"db_id": "mimic_iii", "question": "how patient 86744 first entered the hospital until 3 years ago?", "template": "what was the first hospital admission type of patient 86744 until 3 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 86744 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 86744}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2686fcc99151aa5b3f7cdd88"}, {"db_id": "mimic_iii", "question": "how did patient 41132 until 3 years ago first admitted to hospital?", "template": "what was the first hospital admission type of patient 41132 until 3 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 41132 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 41132}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "892d57a69027a00301f35df5"}, {"db_id": "mimic_iii", "question": "how did patient 78076 last be admitted until 2104 to the hospital?", "template": "what was the last hospital admission type of patient 78076 until 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 78076 and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 78076}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f870cf4d33a4a313793cdd10"}, {"db_id": "mimic_iii", "question": "how did patient 76886 last be admitted to the hospital until 4 years ago?", "template": "what was the last hospital admission type of patient 76886 until 4 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 76886 and datetime(admissions.admittime) <= datetime(current_time,'-4 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 76886}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c0a9358fdf9e13e12ecfe967"}, {"db_id": "mimic_iii", "question": "how did patient 51977 last get in a hospital since 2103?", "template": "what was the last hospital admission type of patient 51977 since 2103?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 51977 and strftime('%y',admissions.admittime) >= '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 51977}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d207f0e6619229a5dc661c6"}, {"db_id": "mimic_iii", "question": "how has patient 27177 last visited the hospital since 2 years ago?", "template": "what was the last hospital admission type of patient 27177 since 2 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 27177 and datetime(admissions.admittime) >= datetime(current_time,'-2 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 27177}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b52e6725121d7305a7663b6f"}, {"db_id": "mimic_iii", "question": "how did patient 26849 first enter the hospital a year before.", "template": "what was the first hospital admission type of patient 26849 last year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 26849 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 26849}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d04c7e4221217a381a6058d0"}, {"db_id": "mimic_iii", "question": "how did patient 76327 enter the hospital since 6 years ago for the first time?", "template": "what was the first hospital admission type of patient 76327 since 6 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 76327 and datetime(admissions.admittime) >= datetime(current_time,'-6 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 76327}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2addeb9a3c63c43427239b7"}, {"db_id": "mimic_iii", "question": "how did patient 18757 go into the hospital the first time until 1 year ago.", "template": "what was the first hospital admission type of patient 18757 until 1 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 18757 and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 18757}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "579c1cc500e335869045ebad"}, {"db_id": "mimic_iii", "question": "how did patient 54700 get admitted to the hospital first?", "template": "what was the first hospital admission type of patient 54700?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 54700 order by admissions.admittime asc limit 1", "value": {"patient_id": 54700}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4870004da149db381457deef"}, {"db_id": "mimic_iii", "question": "how did patient 5849 go into the hospital the first time.", "template": "what was the first hospital admission type of patient 5849?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 5849 order by admissions.admittime asc limit 1", "value": {"patient_id": 5849}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36a3b83cee1a66a69ed19225"}, {"db_id": "mimic_iii", "question": "how did patient 75581 enter the hospital for the first time?", "template": "what was the first hospital admission type of patient 75581?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 75581 order by admissions.admittime asc limit 1", "value": {"patient_id": 75581}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6873790871f60e257b0b978"}, {"db_id": "mimic_iii", "question": "how patient 51177 was last admitted to hospital in this year?", "template": "what was the last hospital admission type of patient 51177 this year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 51177 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 51177}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c3473900955fa7b98611637"}, {"db_id": "mimic_iii", "question": "how did patient 6940 first visit since 2104 to the hospital?", "template": "what was the first hospital admission type of patient 6940 since 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 6940 and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 6940}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "852423cff36718b9793eca2c"}, {"db_id": "mimic_iii", "question": "how did patient 13837 first be admitted in this year to the hospital?", "template": "what was the first hospital admission type of patient 13837 this year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 13837 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 13837}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b5adb658a4bed03bb2e43f1"}, {"db_id": "mimic_iii", "question": "how did patient 3918 last come to the hospital since 2104.", "template": "what was the last hospital admission type of patient 3918 since 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 3918 and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 3918}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99f34a647a86fa6cee79a484"}, {"db_id": "mimic_iii", "question": "how was patient 26772 admitted to hospital the last time since 2105?", "template": "what was the last hospital admission type of patient 26772 since 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 26772 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 26772}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0412eac378c6d3555c46789f"}, {"db_id": "mimic_iii", "question": "how did patient 99135 last be admitted in 2104 to the hospital?", "template": "what was the last hospital admission type of patient 99135 in 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 99135 and strftime('%y',admissions.admittime) = '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 99135}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce721665643256e88666d079"}, {"db_id": "mimic_iii", "question": "how patient 8991 was admitted to hospital in the previous year for the last time?", "template": "what was the last hospital admission type of patient 8991 last year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 8991 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 8991}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed3207cefa3807c73eab1153"}, {"db_id": "mimic_iii", "question": "what was the first hospital admissions type of patient 13528 until 2104?", "template": "what was the first hospital admission type of patient 13528 until 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 13528 and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 13528}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df4faa5c4ba444c5118b4ad7"}, {"db_id": "mimic_iii", "question": "what was the first type of hospital admission of patient 25696 the last year.", "template": "what was the first hospital admission type of patient 25696 last year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 25696 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 25696}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "19aed58ace4e08d43bf01386"}, {"db_id": "mimic_iii", "question": "how did patient 66958 last get in a hospital in 2103?", "template": "what was the last hospital admission type of patient 66958 in 2103?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 66958 and strftime('%y',admissions.admittime) = '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 66958}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d013e2f9fb137a9093011674"}, {"db_id": "mimic_iii", "question": "how did patient 40435 first get admitted in the hospital since 6 years ago?", "template": "what was the first hospital admission type of patient 40435 since 6 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 40435 and datetime(admissions.admittime) >= datetime(current_time,'-6 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 40435}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3bcef5989c6b4f6a6829391c"}, {"db_id": "mimic_iii", "question": "how is patient 655 first admitted to the hospital until 1 year ago?", "template": "what was the first hospital admission type of patient 655 until 1 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 655 and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 655}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ef814b8f00e0faacf76b737"}, {"db_id": "mimic_iii", "question": "how did patient 8569 get last admission to the hospital during this year?", "template": "what was the last hospital admission type of patient 8569 this year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 8569 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 8569}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df9a6610b7abdd9c86ead42b"}, {"db_id": "mimic_iii", "question": "how did patient 17667 since 2105 last admitted to hospital?", "template": "what was the last hospital admission type of patient 17667 since 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 17667 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 17667}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "068b5454ddf09ff5082eb20f"}, {"db_id": "mimic_iii", "question": "how did patient 2753 since 5 years ago last admitted to hospital?", "template": "what was the last hospital admission type of patient 2753 since 5 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 2753 and datetime(admissions.admittime) >= datetime(current_time,'-5 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 2753}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a22a8106a0de571fdc35544"}, {"db_id": "mimic_iii", "question": "how did patient 51577 first enter the hospital until 2104?", "template": "what was the first hospital admission type of patient 51577 until 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 51577 and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 51577}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "896a6bd7b9b8ac953e8bbdab"}, {"db_id": "mimic_iii", "question": "how did patient 12775 enter hospital for the first time in 2105?", "template": "what was the first hospital admission type of patient 12775 in 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 12775 and strftime('%y',admissions.admittime) = '2105' order by admissions.admittime asc limit 1", "value": {"patient_id": 12775}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "77c82018b1806e7813807789"}, {"db_id": "mimic_iii", "question": "how did patient 20251 first get in a hospital in 2104?", "template": "what was the first hospital admission type of patient 20251 in 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 20251 and strftime('%y',admissions.admittime) = '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 20251}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9ad08c16983ec5255eeae07"}, {"db_id": "mimic_iii", "question": "how did patient 71091 last visit since 2105 to the hospital?", "template": "what was the last hospital admission type of patient 71091 since 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 71091 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 71091}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ae769fc6d4201072ae986e7"}, {"db_id": "mimic_iii", "question": "how did patient 86792 last get admitted in the hospital until 2 years ago?", "template": "what was the last hospital admission type of patient 86792 until 2 year ago?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 86792 and datetime(admissions.admittime) <= datetime(current_time,'-2 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 86792}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52003a96a6dc0f6edc15ffd6"}, {"db_id": "mimic_iii", "question": "how did patient 9983 first visit until 2103 to the hospital?", "template": "what was the first hospital admission type of patient 9983 until 2103?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 9983 and strftime('%y',admissions.admittime) <= '2103' order by admissions.admittime asc limit 1", "value": {"patient_id": 9983}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80519ee303e9c5d7288167e8"}, {"db_id": "mimic_iii", "question": "how did in 2105 patient 86209 last enter the hospital?", "template": "what was the last hospital admission type of patient 86209 in 2105?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 86209 and strftime('%y',admissions.admittime) = '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 86209}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "166858e725c4969e5ec97fd4"}, {"db_id": "mimic_iii", "question": "what was the first type of the hospital admission of patient 17694 since 2102?", "template": "what was the first hospital admission type of patient 17694 since 2102?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 17694 and strftime('%y',admissions.admittime) >= '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 17694}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25e0db79b34e600ba14e1180"}, {"db_id": "mimic_iii", "question": "how did patient 11426 get admitted to the hospital for the first time until 2101?", "template": "what was the first hospital admission type of patient 11426 until 2101?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 11426 and strftime('%y',admissions.admittime) <= '2101' order by admissions.admittime asc limit 1", "value": {"patient_id": 11426}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a67a08f6d735c75bdd8f2b6a"}, {"db_id": "mimic_iii", "question": "how did patient 12572 get last admission to the hospital in 2104?", "template": "what was the last hospital admission type of patient 12572 in 2104?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 12572 and strftime('%y',admissions.admittime) = '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 12572}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bcb622e1de3e983a12764565"}, {"db_id": "mimic_iii", "question": "how did patient 24517 last get admitted in the hospital?", "template": "what was the last hospital admission type of patient 24517?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 24517 order by admissions.admittime desc limit 1", "value": {"patient_id": 24517}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51cd823d35759c070d858843"}, {"db_id": "mimic_iii", "question": "what was the first type of the hospital admission of patient 79450 since 2101?", "template": "what was the first hospital admission type of patient 79450 since 2101?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 79450 and strftime('%y',admissions.admittime) >= '2101' order by admissions.admittime asc limit 1", "value": {"patient_id": 79450}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25cb1ea625c7542ae133903a"}, {"db_id": "mimic_iii", "question": "how did patient 14397 last be admitted to the hospital?", "template": "what was the last hospital admission type of patient 14397?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 14397 order by admissions.admittime desc limit 1", "value": {"patient_id": 14397}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2d745237a267ca52ca2668f"}, {"db_id": "mimic_iii", "question": "how did patient 40059 this year first admitted to hospital?", "template": "what was the first hospital admission type of patient 40059 this year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 40059 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 40059}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "872724e0f689463d2414b256"}, {"db_id": "mimic_iii", "question": "how did patient 96344 last entered hospital since 2103?", "template": "what was the last hospital admission type of patient 96344 since 2103?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 96344 and strftime('%y',admissions.admittime) >= '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 96344}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a5a4650661a6765d2d3a78a"}, {"db_id": "mimic_iii", "question": "how did patient 64519 in the last year first visit the hospital?", "template": "what was the first hospital admission type of patient 64519 last year?", "query": "select admissions.admission_type from admissions where admissions.subject_id = 64519 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 64519}, "q_tag": "what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "062ed51df63f09db885a374d"}, {"db_id": "mimic_iii", "question": "during the last year what was the last ward id of patient 99135?", "template": "what was the last ward of patient 99135 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99135 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 99135}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e12c79ffaf0479b0de0d97ff"}, {"db_id": "mimic_iii", "question": "what was the last ward identification for patient 49036 since 4 years ago?", "template": "what was the last ward of patient 49036 since 4 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49036 ) and transfers.wardid is not null and datetime(transfers.intime) >= datetime(current_time,'-4 year') order by transfers.intime desc limit 1", "value": {"patient_id": 49036}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59b7b0e1f81f3bb3fbeb7686"}, {"db_id": "mimic_iii", "question": "what is the last ward identifier of patient 29540 until 2104?", "template": "what was the last ward of patient 29540 until 2104?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29540 ) and transfers.wardid is not null and strftime('%y',transfers.intime) <= '2104' order by transfers.intime desc limit 1", "value": {"patient_id": 29540}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84b69c1669c64441566197d2"}, {"db_id": "mimic_iii", "question": "what was the last ward id that patient 16472 went during this year?", "template": "what was the last ward of patient 16472 this year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16472 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime desc limit 1", "value": {"patient_id": 16472}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "444b09ec7b6cbf1d5be2155f"}, {"db_id": "mimic_iii", "question": "whats the last ward id of patient 53863 until 2101?", "template": "what was the last ward of patient 53863 until 2101?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53863 ) and transfers.wardid is not null and strftime('%y',transfers.intime) <= '2101' order by transfers.intime desc limit 1", "value": {"patient_id": 53863}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28bb02ff9619767d02125157"}, {"db_id": "mimic_iii", "question": "what was patient 40059's first id of the ward in their current hospital encounter?", "template": "what was the first ward of patient 40059 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 40059}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "689bf201066dc558714699e9"}, {"db_id": "mimic_iii", "question": "the first ward id of patient 73913 in a year before is?", "template": "what was the first ward of patient 73913 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73913 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime asc limit 1", "value": {"patient_id": 73913}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22613ee6ce7b5245b0810214"}, {"db_id": "mimic_iii", "question": "what was the last id of patient 20441's ward?", "template": "what was the last ward of patient 20441?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 20441}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65013e47467ba78820eda27e"}, {"db_id": "mimic_iii", "question": "what was the last ward identification of patient 56348 in 2103?", "template": "what was the last ward of patient 56348 in 2103?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56348 ) and transfers.wardid is not null and strftime('%y',transfers.intime) = '2103' order by transfers.intime desc limit 1", "value": {"patient_id": 56348}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2d459e399d266dceb641547"}, {"db_id": "mimic_iii", "question": "show me the first ward identification of patient 1205 the previous year?", "template": "what was the first ward of patient 1205 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1205 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime asc limit 1", "value": {"patient_id": 1205}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d67907376d537aa008ecaca5"}, {"db_id": "mimic_iii", "question": "the last year what is the first id of patient 162's ward?", "template": "what was the first ward of patient 162 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 162 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime asc limit 1", "value": {"patient_id": 162}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "95354d466c5aca8a77ebf398"}, {"db_id": "mimic_iii", "question": "what is patient 13473's last ward id until 4 years ago?", "template": "what was the last ward of patient 13473 until 4 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13473 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-4 year') order by transfers.intime desc limit 1", "value": {"patient_id": 13473}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d395be1391908e0f4bdd8f5b"}, {"db_id": "mimic_iii", "question": "whats patient 92642 first ward id until 3 years ago?", "template": "what was the first ward of patient 92642 until 3 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92642 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-3 year') order by transfers.intime asc limit 1", "value": {"patient_id": 92642}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "72df9a44dc9d52783b6ded8b"}, {"db_id": "mimic_iii", "question": "what is the first ward for patient 162 since 2 years ago?", "template": "what was the first ward of patient 162 since 2 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 162 ) and transfers.wardid is not null and datetime(transfers.intime) >= datetime(current_time,'-2 year') order by transfers.intime asc limit 1", "value": {"patient_id": 162}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc2ca1d70970200fd80d0ca6"}, {"db_id": "mimic_iii", "question": "what is patient 77980's last id of the ward until 4 years ago?", "template": "what was the last ward of patient 77980 until 4 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77980 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-4 year') order by transfers.intime desc limit 1", "value": {"patient_id": 77980}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2791939f695613ee40a390f"}, {"db_id": "mimic_iii", "question": "what was patient 25733's first ward identification in their current hospital encounter?", "template": "what was the first ward of patient 25733 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 25733}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4f94e435ca0a265a4639f3e"}, {"db_id": "mimic_iii", "question": "on their current hospital encounter what was the first id of the ward of patient 3125?", "template": "what was the first ward of patient 3125 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 3125}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3aa4f05f16345091dc61cfd7"}, {"db_id": "mimic_iii", "question": "what is the last ward id patient 11914 got in their first hospital visit.", "template": "what was the last ward of patient 11914 on the first hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11914 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 11914}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d787ae6f97581a8c0cbe3155"}, {"db_id": "mimic_iii", "question": "what is the first ward identifier of patient 51663 until 3 years ago?", "template": "what was the first ward of patient 51663 until 3 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51663 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-3 year') order by transfers.intime asc limit 1", "value": {"patient_id": 51663}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ba9adab3f8cdbd6e9a49b72b"}, {"db_id": "mimic_iii", "question": "what was the first id of patient 13054's ward during this hospital visit?", "template": "what was the first ward of patient 13054 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 13054}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31d8dfd38bc90fd633beaa94"}, {"db_id": "mimic_iii", "question": "whats patient 13841 last ward id in 2104?", "template": "what was the last ward of patient 13841 in 2104?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13841 ) and transfers.wardid is not null and strftime('%y',transfers.intime) = '2104' order by transfers.intime desc limit 1", "value": {"patient_id": 13841}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d977e81f8a95344b92c7008d"}, {"db_id": "mimic_iii", "question": "what was the first ward identification for patient 86209 on their first hospital encounter?", "template": "what was the first ward of patient 86209 on the first hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86209 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 86209}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b515a22ae11af68cbb575b02"}, {"db_id": "mimic_iii", "question": "what was patient 13536's last ward identification on their first hospital encounter?", "template": "what was the last ward of patient 13536 on the first hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13536 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 13536}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1d9993939c5b723eafac207"}, {"db_id": "mimic_iii", "question": "what is patient 12742's last ward id during the previous year?", "template": "what was the last ward of patient 12742 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12742 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 12742}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f42b65c007424937fd60ea0a"}, {"db_id": "mimic_iii", "question": "what was patient 1457's last id of the ward during the previous year?", "template": "what was the last ward of patient 1457 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1457 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 1457}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f488736ddd1502239fb7245"}, {"db_id": "mimic_iii", "question": "what was the first ward identification of patient 12367 in their last hospital encounter?", "template": "what was the first ward of patient 12367 on the last hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12367 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 12367}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce9b80c56fc38465c4c849aa"}, {"db_id": "mimic_iii", "question": "whats patient 9297 first ward id this year?", "template": "what was the first ward of patient 9297 this year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9297 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime asc limit 1", "value": {"patient_id": 9297}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48e3c4c23883364002975d9d"}, {"db_id": "mimic_iii", "question": "what was the first id of patient 56201's ward this year?", "template": "what was the first ward of patient 56201 this year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56201 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime asc limit 1", "value": {"patient_id": 56201}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a149dcbc0d4a69428116ac20"}, {"db_id": "mimic_iii", "question": "whats patient 14467 last ward id since 4 years ago?", "template": "what was the last ward of patient 14467 since 4 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and transfers.wardid is not null and datetime(transfers.intime) >= datetime(current_time,'-4 year') order by transfers.intime desc limit 1", "value": {"patient_id": 14467}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4c818c3171c6dc39e7cc8c7"}, {"db_id": "mimic_iii", "question": "in this hospital visit what was the last id of the ward of patient 40707?", "template": "what was the last ward of patient 40707 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 40707}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7dfb2268daf5108c480058b4"}, {"db_id": "mimic_iii", "question": "the last ward id of patient 56009 until 1 year ago is?", "template": "what was the last ward of patient 56009 until 1 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56009 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 56009}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0f4cb41ed6f4bf67f4bb84fe"}, {"db_id": "mimic_iii", "question": "what is the first ward identifier of patient 5828 on the current hospital encounter?", "template": "what was the first ward of patient 5828 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 5828}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "79a65863669a9a9775abaae4"}, {"db_id": "mimic_iii", "question": "what is patient 20898's last ward id in this hospital visit?", "template": "what was the last ward of patient 20898 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 20898}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc8a1d0d3a0b4597b745ab9a"}, {"db_id": "mimic_iii", "question": "on this hospital encounter what is the last id of patient 76372's ward?", "template": "what was the last ward of patient 76372 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76372 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 76372}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "212af2870aaa43069bfaf44d"}, {"db_id": "mimic_iii", "question": "what is patient 10624's first ward id on their first hospital encounter?", "template": "what was the first ward of patient 10624 on the first hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 10624}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29b5a84fb74fd1970db3079e"}, {"db_id": "mimic_iii", "question": "what was the last ward id that patient 27739 went since 3 years ago?", "template": "what was the last ward of patient 27739 since 3 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27739 ) and transfers.wardid is not null and datetime(transfers.intime) >= datetime(current_time,'-3 year') order by transfers.intime desc limit 1", "value": {"patient_id": 27739}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9787f35974fc53baf58db830"}, {"db_id": "mimic_iii", "question": "what was patient 12568's first ward identification since 2100?", "template": "what was the first ward of patient 12568 since 2100?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12568 ) and transfers.wardid is not null and strftime('%y',transfers.intime) >= '2100' order by transfers.intime asc limit 1", "value": {"patient_id": 12568}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a394f8c9574d8a467066ca01"}, {"db_id": "mimic_iii", "question": "what was the last ward identification of patient 15257 since 6 years ago?", "template": "what was the last ward of patient 15257 since 6 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15257 ) and transfers.wardid is not null and datetime(transfers.intime) >= datetime(current_time,'-6 year') order by transfers.intime desc limit 1", "value": {"patient_id": 15257}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df38b6f22413d05accf5deeb"}, {"db_id": "mimic_iii", "question": "whats the last ward id of patient 59916 in their first hospital visit?", "template": "what was the last ward of patient 59916 on the first hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59916 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 59916}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f02cbaa2b3bc259d5b276f82"}, {"db_id": "mimic_iii", "question": "until 1 year ago what was the first ward id of patient 1372?", "template": "what was the first ward of patient 1372 until 1 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-1 year') order by transfers.intime asc limit 1", "value": {"patient_id": 1372}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78a5ae585d2b81f45724c99d"}, {"db_id": "mimic_iii", "question": "whats the last ward id of patient 81783 during the first hospital encounter?", "template": "what was the last ward of patient 81783 on the first hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81783 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 81783}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e8f5b2df79b8cb386ead684"}, {"db_id": "mimic_iii", "question": "since 2104 what is the first id of patient 48709's ward?", "template": "what was the first ward of patient 48709 since 2104?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 48709 ) and transfers.wardid is not null and strftime('%y',transfers.intime) >= '2104' order by transfers.intime asc limit 1", "value": {"patient_id": 48709}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9943559a654736c0c7683ff2"}, {"db_id": "mimic_iii", "question": "during the current hospital visit what was the first ward id of patient 94229?", "template": "what was the first ward of patient 94229 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 94229}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e757d36676d7bf6e8ce9469"}, {"db_id": "mimic_iii", "question": "the last ward id of patient 76275 since 4 years ago is?", "template": "what was the last ward of patient 76275 since 4 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76275 ) and transfers.wardid is not null and datetime(transfers.intime) >= datetime(current_time,'-4 year') order by transfers.intime desc limit 1", "value": {"patient_id": 76275}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0f3438ee8473296421765add"}, {"db_id": "mimic_iii", "question": "during this hospital encounter what was the first ward id of patient 40059?", "template": "what was the first ward of patient 40059 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 40059}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef7d98d8c920b903419a7d0e"}, {"db_id": "mimic_iii", "question": "what was patient 5310's first id of the ward?", "template": "what was the first ward of patient 5310?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5310 ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 5310}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8878ae6170121a8a159e6bd"}, {"db_id": "mimic_iii", "question": "what is the last ward id patient 1903 got until 2104.", "template": "what was the last ward of patient 1903 until 2104?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1903 ) and transfers.wardid is not null and strftime('%y',transfers.intime) <= '2104' order by transfers.intime desc limit 1", "value": {"patient_id": 1903}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e196d27fd64fea8cd5451cb"}, {"db_id": "mimic_iii", "question": "what was the last ward id that patient 98554 went in the previous year?", "template": "what was the last ward of patient 98554 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98554 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 98554}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8811c84a0897dffda30b67d8"}, {"db_id": "mimic_iii", "question": "what is the first ward identifier of patient 70267 since 2104?", "template": "what was the first ward of patient 70267 since 2104?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 ) and transfers.wardid is not null and strftime('%y',transfers.intime) >= '2104' order by transfers.intime asc limit 1", "value": {"patient_id": 70267}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47659cb347f132d0c6609c25"}, {"db_id": "mimic_iii", "question": "what was the first id of patient 1457's ward the last year?", "template": "what was the first ward of patient 1457 last year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1457 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime asc limit 1", "value": {"patient_id": 1457}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb4ea99a79f3e1b3ca442310"}, {"db_id": "mimic_iii", "question": "show me the last ward identification of patient 77213 until 1 year ago?", "template": "what was the last ward of patient 77213 until 1 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77213 ) and transfers.wardid is not null and datetime(transfers.intime) <= datetime(current_time,'-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 77213}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "843bd6c84415f118fd434631"}, {"db_id": "mimic_iii", "question": "since 5 years ago what was the last id of the ward of patient 2498?", "template": "what was the last ward of patient 2498 since 5 year ago?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2498 ) and transfers.wardid is not null and datetime(transfers.intime) >= datetime(current_time,'-5 year') order by transfers.intime desc limit 1", "value": {"patient_id": 2498}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f60173da17fe562c6980333a"}, {"db_id": "mimic_iii", "question": "what was the first ward identification of patient 53176 in this year?", "template": "what was the first ward of patient 53176 this year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime asc limit 1", "value": {"patient_id": 53176}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ba8801dc2cc645acf8d58cd"}, {"db_id": "mimic_iii", "question": "what is the first ward for patient 15945 on this hospital visit?", "template": "what was the first ward of patient 15945 on the current hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 and admissions.dischtime is null ) and transfers.wardid is not null order by transfers.intime asc limit 1", "value": {"patient_id": 15945}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] ward of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e324f4e771f9aa808a11e001"}, {"db_id": "mimic_iii", "question": "what was patient 86929's last ward identification when they came to the hospital last time?", "template": "what was the last ward of patient 86929 on the last hospital visit?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86929 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and transfers.wardid is not null order by transfers.intime desc limit 1", "value": {"patient_id": 86929}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "418f0f1272983d73e41a45b5"}, {"db_id": "mimic_iii", "question": "whats patient 71558 last ward id this year?", "template": "what was the last ward of patient 71558 this year?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71558 ) and transfers.wardid is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime desc limit 1", "value": {"patient_id": 71558}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "408d4171d2a7fc16d85c4a38"}, {"db_id": "mimic_iii", "question": "what is the last ward for patient 74159 since 2105?", "template": "what was the last ward of patient 74159 since 2105?", "query": "select transfers.wardid from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74159 ) and transfers.wardid is not null and strftime('%y',transfers.intime) >= '2105' order by transfers.intime desc limit 1", "value": {"patient_id": 74159}, "q_tag": "what was the [time_filter_exact1] ward of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] ward of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbbb8d698d4201b667de4d09"}, {"db_id": "mimic_iii", "question": "what is the first careunit patient 7375 got.", "template": "what was the first careunit of patient 7375?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 ) and transfers.careunit is not null order by transfers.intime asc limit 1", "value": {"patient_id": 7375}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36c14506bc6cae8f04ff2771"}, {"db_id": "mimic_iii", "question": "whats the last care unit of patient 97733 in this year?", "template": "what was the last careunit of patient 97733 this year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime desc limit 1", "value": {"patient_id": 97733}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8ad52838895d555579286ec"}, {"db_id": "mimic_iii", "question": "since 2105 what is the last careunit of patient 99018?", "template": "what was the last careunit of patient 99018 since 2105?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99018 ) and transfers.careunit is not null and strftime('%y',transfers.intime) >= '2105' order by transfers.intime desc limit 1", "value": {"patient_id": 99018}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd649abb5172918cb0583f4d"}, {"db_id": "mimic_iii", "question": "tell me the last careunit patient 8908 got until 2104?", "template": "what was the last careunit of patient 8908 until 2104?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8908 ) and transfers.careunit is not null and strftime('%y',transfers.intime) <= '2104' order by transfers.intime desc limit 1", "value": {"patient_id": 8908}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "031d9dba9f0d66c9b2d0b5aa"}, {"db_id": "mimic_iii", "question": "since 4 years ago what was the last care unit of patient 16472?", "template": "what was the last careunit of patient 16472 since 4 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16472 ) and transfers.careunit is not null and datetime(transfers.intime) >= datetime(current_time,'-4 year') order by transfers.intime desc limit 1", "value": {"patient_id": 16472}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af3e5e90beb822fc5f208b3e"}, {"db_id": "mimic_iii", "question": "what is the first careunit of patient 70473?", "template": "what was the first careunit of patient 70473?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70473 ) and transfers.careunit is not null order by transfers.intime asc limit 1", "value": {"patient_id": 70473}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3231b0f5ffeb8de4b310cb9e"}, {"db_id": "mimic_iii", "question": "during this hospital visit what was the first careunit of patient 82132?", "template": "what was the first careunit of patient 82132 on the current hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) and transfers.careunit is not null order by transfers.intime asc limit 1", "value": {"patient_id": 82132}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f65eab355d1ad0fffe681bba"}, {"db_id": "mimic_iii", "question": "what was patient 59275's first careunit of the ward until 2102?", "template": "what was the first careunit of patient 59275 until 2102?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59275 ) and transfers.careunit is not null and strftime('%y',transfers.intime) <= '2102' order by transfers.intime asc limit 1", "value": {"patient_id": 59275}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbae8763cf4a91395bc00d50"}, {"db_id": "mimic_iii", "question": "show me the last careunit of patient 18159 in 2105?", "template": "what was the last careunit of patient 18159 in 2105?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18159 ) and transfers.careunit is not null and strftime('%y',transfers.intime) = '2105' order by transfers.intime desc limit 1", "value": {"patient_id": 18159}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e648e5a6aea51c73da50c4e"}, {"db_id": "mimic_iii", "question": "what was the first care unit of patient 55247?", "template": "what was the first careunit of patient 55247?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55247 ) and transfers.careunit is not null order by transfers.intime asc limit 1", "value": {"patient_id": 55247}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65640a3ad41e286ba40d0d24"}, {"db_id": "mimic_iii", "question": "what was the last care unit that patient 8888 went in 2105?", "template": "what was the last careunit of patient 8888 in 2105?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 ) and transfers.careunit is not null and strftime('%y',transfers.intime) = '2105' order by transfers.intime desc limit 1", "value": {"patient_id": 8888}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d0b1c735ef643648821069f1"}, {"db_id": "mimic_iii", "question": "what was the last careunit for patient 16572 in 2100?", "template": "what was the last careunit of patient 16572 in 2100?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 ) and transfers.careunit is not null and strftime('%y',transfers.intime) = '2100' order by transfers.intime desc limit 1", "value": {"patient_id": 16572}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e7b1354e34ef153d244e353e"}, {"db_id": "mimic_iii", "question": "what is the first care unit for patient 4718 until 4 years ago?", "template": "what was the first careunit of patient 4718 until 4 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4718 ) and transfers.careunit is not null and datetime(transfers.intime) <= datetime(current_time,'-4 year') order by transfers.intime asc limit 1", "value": {"patient_id": 4718}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7aff31c93fa1f559cf790fad"}, {"db_id": "mimic_iii", "question": "what was the first care unit of patient 22204's ward until 2 years ago?", "template": "what was the first careunit of patient 22204 until 2 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22204 ) and transfers.careunit is not null and datetime(transfers.intime) <= datetime(current_time,'-2 year') order by transfers.intime asc limit 1", "value": {"patient_id": 22204}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4023aed29b82eef86b8d6f91"}, {"db_id": "mimic_iii", "question": "what is patient 42396's last careunit until 2101?", "template": "what was the last careunit of patient 42396 until 2101?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42396 ) and transfers.careunit is not null and strftime('%y',transfers.intime) <= '2101' order by transfers.intime desc limit 1", "value": {"patient_id": 42396}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d6017d8767502f344e35e379"}, {"db_id": "mimic_iii", "question": "what is the last care unit of patient 74159 in this year?", "template": "what was the last careunit of patient 74159 this year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74159 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime desc limit 1", "value": {"patient_id": 74159}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "651c1d07be0c8494dd22b345"}, {"db_id": "mimic_iii", "question": "whats patient 88404 last careunit?", "template": "what was the last careunit of patient 88404?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88404 ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 88404}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "911a76ea7e0881b34dbdbf04"}, {"db_id": "mimic_iii", "question": "what was patient 99661's first careunit until 2102?", "template": "what was the first careunit of patient 99661 until 2102?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99661 ) and transfers.careunit is not null and strftime('%y',transfers.intime) <= '2102' order by transfers.intime asc limit 1", "value": {"patient_id": 99661}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78e2de85237961f4ba3dd6ec"}, {"db_id": "mimic_iii", "question": "on their first hospital encounter what was the first id of the careunit of patient 19096?", "template": "what was the first careunit of patient 19096 on the first hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19096 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.careunit is not null order by transfers.intime asc limit 1", "value": {"patient_id": 19096}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4ac1b4b7972016f1ed64def"}, {"db_id": "mimic_iii", "question": "what was the first careunit for patient 1862 until 2102?", "template": "what was the first careunit of patient 1862 until 2102?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1862 ) and transfers.careunit is not null and strftime('%y',transfers.intime) <= '2102' order by transfers.intime asc limit 1", "value": {"patient_id": 1862}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c07fc207dde9917c1a3d7210"}, {"db_id": "mimic_iii", "question": "what is the last careunit of patient 47224 in their first hospital visit?", "template": "what was the last careunit of patient 47224 on the first hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47224 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 47224}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1497a36955ccd605024e4a13"}, {"db_id": "mimic_iii", "question": "whats patient 99661 first careunit until 4 years ago?", "template": "what was the first careunit of patient 99661 until 4 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99661 ) and transfers.careunit is not null and datetime(transfers.intime) <= datetime(current_time,'-4 year') order by transfers.intime asc limit 1", "value": {"patient_id": 99661}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39c475f1cc41042fa21746b5"}, {"db_id": "mimic_iii", "question": "what is patient 45612's first careunit since 5 years ago?", "template": "what was the first careunit of patient 45612 since 5 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 45612 ) and transfers.careunit is not null and datetime(transfers.intime) >= datetime(current_time,'-5 year') order by transfers.intime asc limit 1", "value": {"patient_id": 45612}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "634baef1e236b89a9aa10dd2"}, {"db_id": "mimic_iii", "question": "what was patient 28966's first careunit until 2102?", "template": "what was the first careunit of patient 28966 until 2102?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 ) and transfers.careunit is not null and strftime('%y',transfers.intime) <= '2102' order by transfers.intime asc limit 1", "value": {"patient_id": 28966}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "02c95d8b82f85d0122cbaafb"}, {"db_id": "mimic_iii", "question": " what is the last careunit of patient 12568?", "template": "what was the last careunit of patient 12568?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12568 ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 12568}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "13b2d1e6f4c92229d0228402"}, {"db_id": "mimic_iii", "question": "what is the last careunit of patient 6940 during the last year?", "template": "what was the last careunit of patient 6940 last year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6940 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 6940}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3380fd80dc02d64dd17f5231"}, {"db_id": "mimic_iii", "question": "what is the first care unit of patient 31141 since 1 year ago?", "template": "what was the first careunit of patient 31141 since 1 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31141 ) and transfers.careunit is not null and datetime(transfers.intime) >= datetime(current_time,'-1 year') order by transfers.intime asc limit 1", "value": {"patient_id": 31141}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "068c3fa44398c5fa188b6cff"}, {"db_id": "mimic_iii", "question": " what was the last careunit of patient 73693?", "template": "what was the last careunit of patient 73693?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73693 ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 73693}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c0578856f551ca05e3738072"}, {"db_id": "mimic_iii", "question": "whats the first care unit of patient 13838 until 3 years ago?", "template": "what was the first careunit of patient 13838 until 3 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13838 ) and transfers.careunit is not null and datetime(transfers.intime) <= datetime(current_time,'-3 year') order by transfers.intime asc limit 1", "value": {"patient_id": 13838}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed803d1d7cb8d8b3c044739e"}, {"db_id": "mimic_iii", "question": "what is patient 15257's last careunit when they visited the hospital first time?", "template": "what was the last careunit of patient 15257 on the first hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15257 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 15257}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "be02827fa488f00e19d9300c"}, {"db_id": "mimic_iii", "question": "in this hospital encounter what was the last careunit of patient 19412?", "template": "what was the last careunit of patient 19412 on the current hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 and admissions.dischtime is null ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 19412}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "087d2811072676c3d921d885"}, {"db_id": "mimic_iii", "question": "what was the last care unit of patient 19175's ward in the first hospital encounter?", "template": "what was the last careunit of patient 19175 on the first hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 19175}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db3c301903485da320f3d496"}, {"db_id": "mimic_iii", "question": "this year what is the first careunit of patient 26175?", "template": "what was the first careunit of patient 26175 this year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26175 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime asc limit 1", "value": {"patient_id": 26175}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "000214972e0d8c4a63142a50"}, {"db_id": "mimic_iii", "question": "in 2105 what was the first care unit of patient 4900?", "template": "what was the first careunit of patient 4900 in 2105?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4900 ) and transfers.careunit is not null and strftime('%y',transfers.intime) = '2105' order by transfers.intime asc limit 1", "value": {"patient_id": 4900}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0b9c474703b27306f214e71"}, {"db_id": "mimic_iii", "question": "on this hospital encounter what is the first careunit of patient 20898?", "template": "what was the first careunit of patient 20898 on the current hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) and transfers.careunit is not null order by transfers.intime asc limit 1", "value": {"patient_id": 20898}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50a59c608d869de3ce356d00"}, {"db_id": "mimic_iii", "question": "what is the first careunit of patient 78641 until 3 years ago?", "template": "what was the first careunit of patient 78641 until 3 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78641 ) and transfers.careunit is not null and datetime(transfers.intime) <= datetime(current_time,'-3 year') order by transfers.intime asc limit 1", "value": {"patient_id": 78641}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "faf3d3603d27ff436330125b"}, {"db_id": "mimic_iii", "question": "during this year what was the first id of the careunit of patient 433?", "template": "what was the first careunit of patient 433 this year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime asc limit 1", "value": {"patient_id": 433}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c51f91adb79e5e623cc0445"}, {"db_id": "mimic_iii", "question": "what is the first care unit of patient 73713 during this year?", "template": "what was the first careunit of patient 73713 this year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime asc limit 1", "value": {"patient_id": 73713}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f80ff52db5563ce59f5ad0c8"}, {"db_id": "mimic_iii", "question": "whats the first care unit of patient 40707 since 2105?", "template": "what was the first careunit of patient 40707 since 2105?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 ) and transfers.careunit is not null and strftime('%y',transfers.intime) >= '2105' order by transfers.intime asc limit 1", "value": {"patient_id": 40707}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e34c4db1339b8feac927618a"}, {"db_id": "mimic_iii", "question": "tell me the first careunit patient 11579 got since 2103?", "template": "what was the first careunit of patient 11579 since 2103?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11579 ) and transfers.careunit is not null and strftime('%y',transfers.intime) >= '2103' order by transfers.intime asc limit 1", "value": {"patient_id": 11579}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f2248e7b5eaf441677a55ab"}, {"db_id": "mimic_iii", "question": "what was patient 19412's last careunit of the ward on the current hospital visit?", "template": "what was the last careunit of patient 19412 on the current hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 and admissions.dischtime is null ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 19412}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c022e6cdc6df8706acf9b067"}, {"db_id": "mimic_iii", "question": "tell me the last careunit patient 28020 got during their first hospital visit?", "template": "what was the last careunit of patient 28020 on the first hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28020 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 28020}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0fe3ff334984281efaf7798"}, {"db_id": "mimic_iii", "question": "whats the last care unit of patient 54894 on this hospital visit?", "template": "what was the last careunit of patient 54894 on the current hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54894 and admissions.dischtime is null ) and transfers.careunit is not null order by transfers.intime desc limit 1", "value": {"patient_id": 54894}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a04245e822cba2b4d38f16f3"}, {"db_id": "mimic_iii", "question": "what is patient 46330's last careunit until 2 years ago?", "template": "what was the last careunit of patient 46330 until 2 year ago?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 46330 ) and transfers.careunit is not null and datetime(transfers.intime) <= datetime(current_time,'-2 year') order by transfers.intime desc limit 1", "value": {"patient_id": 46330}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "568d7ba7d4a44e5fb7b33bd9"}, {"db_id": "mimic_iii", "question": "whats patient 9519 last careunit in the previous year?", "template": "what was the last careunit of patient 9519 last year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9519 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-1 year') order by transfers.intime desc limit 1", "value": {"patient_id": 9519}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e8124e002612a0ca0a054a3"}, {"db_id": "mimic_iii", "question": "whats the first care unit of patient 1114 in this hospital visit?", "template": "what was the first careunit of patient 1114 on the current hospital visit?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null ) and transfers.careunit is not null order by transfers.intime asc limit 1", "value": {"patient_id": 1114}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b45b3e859b8fb21e8328d82b"}, {"db_id": "mimic_iii", "question": "what was the last care unit of patient 27362 since 2104?", "template": "what was the last careunit of patient 27362 since 2104?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) and transfers.careunit is not null and strftime('%y',transfers.intime) >= '2104' order by transfers.intime desc limit 1", "value": {"patient_id": 27362}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] careunit of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28f678ef7196b99e736f0e19"}, {"db_id": "mimic_iii", "question": "this year what is the first careunit of patient 97314?", "template": "what was the first careunit of patient 97314 this year?", "query": "select transfers.careunit from transfers where transfers.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97314 ) and transfers.careunit is not null and datetime(transfers.intime,'start of year') = datetime(current_time,'start of year','-0 year') order by transfers.intime asc limit 1", "value": {"patient_id": 97314}, "q_tag": "what was the [time_filter_exact1] careunit of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] careunit of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a4db7d36f74b7b18197a5aa"}, {"db_id": "mimic_iii", "question": "what was patient 5142 first height in the previous month?", "template": "what was the first measured height of patient 5142 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 5142}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce2e32be0104ab79bb9d96c8"}, {"db_id": "mimic_iii", "question": "what the first height of patient 28959 when they came to the hospital first time.", "template": "what was the first measured height of patient 28959 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28959 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 28959}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d64a1b4fddfd6e88941ec1a"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 14671 in 12/this year.", "template": "what was the last measured height of patient 14671 in 12/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '12' order by chartevents.charttime desc limit 1", "value": {"patient_id": 14671}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec1ce7d0d8921eac37a5e900"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 1912 on the last hospital visit?", "template": "what was the last measured height of patient 1912 on the last hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1912 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 1912}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "66d93301dde99fff78679120"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 23070 since 11/2101?", "template": "what was the last measured height of patient 23070 since 11/2101?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2101-11' order by chartevents.charttime desc limit 1", "value": {"patient_id": 23070}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e082fc79d6c8be3a1fa222ec"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 7698 in the last month?", "template": "what was the last measured height of patient 7698 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 7698}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8f660afa9af0be787d2f5781"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 19428 since 07/2105.", "template": "what was the first measured height of patient 19428 since 07/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2105-07' order by chartevents.charttime asc limit 1", "value": {"patient_id": 19428}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bbf95359937d265dc8502f79"}, {"db_id": "mimic_iii", "question": "what the first height of patient 21454.", "template": "what was the first measured height of patient 21454?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21454 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 21454}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d91e7a18a6086a73b98b8144"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 23070 since 100 months ago.", "template": "what was the first measured height of patient 23070 since 100 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-100 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 23070}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e87c219bda293225df2c59c6"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 11362 during the last month.", "template": "what was the last measured height of patient 11362 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 11362}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1bc8fb1d8902c8e9375d18cb"}, {"db_id": "mimic_iii", "question": "what was patient 19412 first height in this month?", "template": "what was the first measured height of patient 19412 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 19412}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9bffe88b7278d08f1c4548f"}, {"db_id": "mimic_iii", "question": "what the last height of patient 4368 on the first hospital encounter.", "template": "what was the last measured height of patient 4368 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 4368}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b1c505e85532ba3920c4fe6"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 15821 on the last hospital visit.", "template": "what was the first measured height of patient 15821 on the last hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15821 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 15821}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5bb46e4f01a1a4872bd78af2"}, {"db_id": "mimic_iii", "question": "what was patient 22973 last height in the last hospital visit?", "template": "what was the last measured height of patient 22973 on the last hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22973 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 22973}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bef457e08d7d3b67327c43a7"}, {"db_id": "mimic_iii", "question": "what was patient 23436 last height during the current hospital visit?", "template": "what was the last measured height of patient 23436 on the current hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 23436}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe355b6ccaabecf3742000d2"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 25668 until 63 months ago.", "template": "what was the first measured height of patient 25668 until 63 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-63 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 25668}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "00cd51367254b067f40e26cc"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 19428 since 06/2100.", "template": "what was the last measured height of patient 19428 since 06/2100?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2100-06' order by chartevents.charttime desc limit 1", "value": {"patient_id": 19428}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cfa429a37f469ca35f8d388"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 3369 until 30 months ago?", "template": "what was the first measured height of patient 3369 until 30 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-30 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 3369}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea68cf1c68f664b842bf3869"}, {"db_id": "mimic_iii", "question": "what the first height of patient 26817 since 101 months ago.", "template": "what was the first measured height of patient 26817 since 101 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-101 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 26817}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "debe6bd4311e38081d7b2b24"}, {"db_id": "mimic_iii", "question": "what the first height of patient 18841 in 07/last year.", "template": "what was the first measured height of patient 18841 in 07/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18841 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',chartevents.charttime) = '07' order by chartevents.charttime asc limit 1", "value": {"patient_id": 18841}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ba8caa736b24265f1dffa5f5"}, {"db_id": "mimic_iii", "question": "what was patient 11362 last height since 10/2105?", "template": "what was the last measured height of patient 11362 since 10/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2105-10' order by chartevents.charttime desc limit 1", "value": {"patient_id": 11362}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c8f2c92e74f945753faf7a4"}, {"db_id": "mimic_iii", "question": "what the first height of patient 28443 during this month.", "template": "what was the first measured height of patient 28443 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 28443}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1814272b12c90e6dc7046e0b"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 19412 on their current hospital visit.", "template": "what was the last measured height of patient 19412 on the current hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 19412}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d76e79d829cbf808f603d53"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 728 until 32 months ago.", "template": "what was the last measured height of patient 728 until 32 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 728 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-32 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 728}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "83ac9a205ae225eb423bb07f"}, {"db_id": "mimic_iii", "question": "what the last height of patient 31325 in 06/last year.", "template": "what was the last measured height of patient 31325 in 06/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',chartevents.charttime) = '06' order by chartevents.charttime desc limit 1", "value": {"patient_id": 31325}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "092e35ac2e0b99a75280813f"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 26469 in 06/2105?", "template": "what was the last measured height of patient 26469 in 06/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26469 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2105-06' order by chartevents.charttime desc limit 1", "value": {"patient_id": 26469}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af3bd6a3df37f5f9298155eb"}, {"db_id": "mimic_iii", "question": "what the first height of patient 19144 since 05/2104.", "template": "what was the first measured height of patient 19144 since 05/2104?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19144 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2104-05' order by chartevents.charttime asc limit 1", "value": {"patient_id": 19144}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5efe7d79ca6a0580edb2788"}, {"db_id": "mimic_iii", "question": "what was patient 20066 first height since 114 months ago?", "template": "what was the first measured height of patient 20066 since 114 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-114 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 20066}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb493ce2f3f4c3086016aff5"}, {"db_id": "mimic_iii", "question": "what was patient 11362 first height in 11/this year?", "template": "what was the first measured height of patient 11362 in 11/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '11' order by chartevents.charttime asc limit 1", "value": {"patient_id": 11362}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e912b95cdd18c4821565699c"}, {"db_id": "mimic_iii", "question": "what the first height of patient 28447 this month.", "template": "what was the first measured height of patient 28447 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 28447}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b57074e824a4816427889908"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 17398 until 16 months ago.", "template": "what was the last measured height of patient 17398 until 16 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-16 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 17398}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff67ba0b052b37c1b9da4e80"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 630 in 06/last year.", "template": "what was the first measured height of patient 630 in 06/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 630 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',chartevents.charttime) = '06' order by chartevents.charttime asc limit 1", "value": {"patient_id": 630}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34044ebc78ba30fe7a568484"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 27703 in the last month.", "template": "what was the last measured height of patient 27703 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 27703}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4fff0761dbeb9d2ddf23534c"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 28959 until 41 months ago?", "template": "what was the last measured height of patient 28959 until 41 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28959 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-41 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 28959}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "733f8818454703fe80fd3642"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 8814 until 65 months ago.", "template": "what was the first measured height of patient 8814 until 65 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8814 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-65 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 8814}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "102aafab7bfaae8e83e69475"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 14671 in 12/2105?", "template": "what was the first measured height of patient 14671 in 12/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2105-12' order by chartevents.charttime asc limit 1", "value": {"patient_id": 14671}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18ea193b208cb9acc3261adc"}, {"db_id": "mimic_iii", "question": "what the first height of patient 20898 in this month.", "template": "what was the first measured height of patient 20898 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 20898}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4469c20053a27e2a66ff52d"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 3242 on their first hospital encounter.", "template": "what was the first measured height of patient 3242 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3242 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 3242}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e601e91dc87136ece78c6eea"}, {"db_id": "mimic_iii", "question": "what the first height of patient 20898 during this month.", "template": "what was the first measured height of patient 20898 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 20898}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46d556392757c91999fc740f"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 8562 in a month before.", "template": "what was the last measured height of patient 8562 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8562 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 8562}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "949d71b095b933d9791c47dd"}, {"db_id": "mimic_iii", "question": "what was patient 1918 last height in 04/2103?", "template": "what was the last measured height of patient 1918 in 04/2103?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1918 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2103-04' order by chartevents.charttime desc limit 1", "value": {"patient_id": 1918}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "98e8b26770d0d5ec2c2317d9"}, {"db_id": "mimic_iii", "question": "what was patient 25312 first height until 07/2105?", "template": "what was the first measured height of patient 25312 until 07/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2105-07' order by chartevents.charttime asc limit 1", "value": {"patient_id": 25312}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cfddbf81a6d9878312a358b6"}, {"db_id": "mimic_iii", "question": "what was patient 5828 first height in their current hospital encounter?", "template": "what was the first measured height of patient 5828 on the current hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 5828}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0048dc0556897e6b57580a7b"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 8562 in a month before?", "template": "what was the first measured height of patient 8562 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8562 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 8562}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d51ae26bffaffc7554570c45"}, {"db_id": "mimic_iii", "question": "what the last height of patient 8562 when they visited the hospital first time.", "template": "what was the last measured height of patient 8562 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8562 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 8562}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b62e94c9002426665f67a519"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 13622 in 08/last year.", "template": "what was the last measured height of patient 13622 in 08/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13622 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',chartevents.charttime) = '08' order by chartevents.charttime desc limit 1", "value": {"patient_id": 13622}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc0e330cee0414bf1864d780"}, {"db_id": "mimic_iii", "question": "what the last height of patient 18877 until 53 months ago.", "template": "what was the last measured height of patient 18877 until 53 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18877 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-53 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 18877}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b192f8c97573b32991a4ec0a"}, {"db_id": "mimic_iii", "question": "what was patient 28966 last height until 3 months ago?", "template": "what was the last measured height of patient 28966 until 3 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-3 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 28966}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e909c6f7857e24e16acff3e"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 8562 during the previous month?", "template": "what was the first measured height of patient 8562 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8562 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 8562}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb1fa2e076e9fd31268bce82"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 30044 in 01/2100.", "template": "what was the last measured height of patient 30044 in 01/2100?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2100-01' order by chartevents.charttime desc limit 1", "value": {"patient_id": 30044}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b31581b99a7daf4e56058f14"}, {"db_id": "mimic_iii", "question": "what the last height of patient 28048 in 01/2101.", "template": "what was the last measured height of patient 28048 in 01/2101?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28048 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2101-01' order by chartevents.charttime desc limit 1", "value": {"patient_id": 28048}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce1688670626338fc0ddbf8d"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 31880 until 03/2104.", "template": "what was the first measured height of patient 31880 until 03/2104?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2104-03' order by chartevents.charttime asc limit 1", "value": {"patient_id": 31880}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4787868c39eaa72ea07cfdff"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 17667 this month?", "template": "what was the first measured height of patient 17667 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 17667}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb101c282c6d2c1bcaa11f27"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 9294 this month.", "template": "what was the first measured height of patient 9294 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9294 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 9294}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b6445fd29acb1a446fa4a2d"}, {"db_id": "mimic_iii", "question": "what the last height of patient 9038 during their first hospital encounter.", "template": "what was the last measured height of patient 9038 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9038 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 9038}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48ddb04b1f4e81adc7c7322d"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 9519 in their first hospital visit.", "template": "what was the last measured height of patient 9519 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9519 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 9519}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48c6565b63100b0f5fad2164"}, {"db_id": "mimic_iii", "question": "what was patient 7519 last height since 170 months ago?", "template": "what was the last measured height of patient 7519 since 170 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7519 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-170 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 7519}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f15858e23e2b3561fd329f15"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 8016 since 09/2105?", "template": "what was the first measured height of patient 8016 since 09/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2105-09' order by chartevents.charttime asc limit 1", "value": {"patient_id": 8016}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03bcd06c72424871e9b20d83"}, {"db_id": "mimic_iii", "question": "what was patient 2518 first height in this month?", "template": "what was the first measured height of patient 2518 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 2518}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9db87f2a7fc6ba4270f6c613"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 6196 until 05/2103?", "template": "what was the last measured height of patient 6196 until 05/2103?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6196 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2103-05' order by chartevents.charttime desc limit 1", "value": {"patient_id": 6196}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3bd932c80090f04009a108d4"}, {"db_id": "mimic_iii", "question": "what the first height of patient 27739 since 10/2101.", "template": "what was the first measured height of patient 27739 since 10/2101?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2101-10' order by chartevents.charttime asc limit 1", "value": {"patient_id": 27739}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b463f5233cd10638f7eda5e"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 25050 since 1 month ago.", "template": "what was the last measured height of patient 25050 since 1 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25050 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 25050}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "049b2fc4401affebd20a14f3"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 18866 since 15 months ago?", "template": "what was the last measured height of patient 18866 since 15 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-15 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 18866}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa4812095bbf79c5cc47fe3a"}, {"db_id": "mimic_iii", "question": "what was the last height of patient 26817 in 10/this year?", "template": "what was the last measured height of patient 26817 in 10/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '10' order by chartevents.charttime desc limit 1", "value": {"patient_id": 26817}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dc4489f2a95b3ea0d2f475b7"}, {"db_id": "mimic_iii", "question": "what was patient 30044 first height until 71 months ago?", "template": "what was the first measured height of patient 30044 until 71 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-71 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 30044}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d51a2abbf053dcec11cc35c"}, {"db_id": "mimic_iii", "question": "what the last height of patient 21074.", "template": "what was the last measured height of patient 21074?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21074 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 21074}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured height of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "507350ca77f7fac2f47469ae"}, {"db_id": "mimic_iii", "question": "what was the first height of patient 12797 until 06/2105?", "template": "what was the first measured height of patient 12797 until 06/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12797 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit ht' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2105-06' order by chartevents.charttime asc limit 1", "value": {"patient_id": 12797}, "q_tag": "what was the [time_filter_exact1] measured height of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured height of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cdcc94ac0791ab2d45129791"}, {"db_id": "mimic_iii", "question": "what is last weight of patient 28447 in this month.", "template": "what was the last measured weight of patient 28447 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 28447}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b974757aadaeccbf8f475b4"}, {"db_id": "mimic_iii", "question": "how much was patient 3516's body weight first measured?", "template": "what was the first measured weight of patient 3516?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3516 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 3516}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32ce8b487ce45bff42502050"}, {"db_id": "mimic_iii", "question": "how much did patient 13622 weigh first measured in 08/last year?", "template": "what was the first measured weight of patient 13622 in 08/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13622 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',chartevents.charttime) = '08' order by chartevents.charttime asc limit 1", "value": {"patient_id": 13622}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "403b1e9bef43cdce812b2f44"}, {"db_id": "mimic_iii", "question": "what was patient 7241's weight the last time in 05/2103?", "template": "what was the last measured weight of patient 7241 in 05/2103?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7241 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2103-05' order by chartevents.charttime desc limit 1", "value": {"patient_id": 7241}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "21d5e29052299cf84daa5d2a"}, {"db_id": "mimic_iii", "question": "so whats the last weight of patient 8098 in 01/last year?", "template": "what was the last measured weight of patient 8098 in 01/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',chartevents.charttime) = '01' order by chartevents.charttime desc limit 1", "value": {"patient_id": 8098}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d2f9af2d449dffddf956b6e"}, {"db_id": "mimic_iii", "question": "how much weight was patient 12726's last weight on the current hospital visit?", "template": "what was the last measured weight of patient 12726 on the current hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 12726}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b57865a03acfd38f3cecb40"}, {"db_id": "mimic_iii", "question": "what was the last weight for patient 23070 during the last month?", "template": "what was the last measured weight of patient 23070 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 23070}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0e71f6fd95f6b9ce2a17ad2"}, {"db_id": "mimic_iii", "question": "how much patient 13837 weighs since 02/2105 for the first time?", "template": "what was the first measured weight of patient 13837 since 02/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13837 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2105-02' order by chartevents.charttime asc limit 1", "value": {"patient_id": 13837}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf2535a11ac0f87b3f1e26a1"}, {"db_id": "mimic_iii", "question": "how much patient 24762 weighs until 52 months ago for the last time?", "template": "what was the last measured weight of patient 24762 until 52 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24762 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-52 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 24762}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55def9187fc04f8da13e9cde"}, {"db_id": "mimic_iii", "question": "how much patient 19175 weighs in 11/this year for the first time?", "template": "what was the first measured weight of patient 19175 in 11/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '11' order by chartevents.charttime asc limit 1", "value": {"patient_id": 19175}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d2abd18bb0ced82fb2270de"}, {"db_id": "mimic_iii", "question": "how much patient 9983 weighs until 5 months ago for the first time?", "template": "what was the first measured weight of patient 9983 until 5 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9983 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-5 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 9983}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5161b6f5fbfb48569db280a0"}, {"db_id": "mimic_iii", "question": "how much patient 7698 weighs in the last month for the first time?", "template": "what was the first measured weight of patient 7698 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 7698}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9d29f6cf32f0100c7e70b88"}, {"db_id": "mimic_iii", "question": "how much patient 28775 weighs during the last hospital encounter for the last time?", "template": "what was the last measured weight of patient 28775 on the last hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28775 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 28775}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7923bfd704ce6b2b86d64191"}, {"db_id": "mimic_iii", "question": "what was patient 19175's weight the last time during the previous month?", "template": "what was the last measured weight of patient 19175 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 19175}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22398a3d5354787e8d4c9f02"}, {"db_id": "mimic_iii", "question": "how much did patient 433 weigh first measured in 10/this year?", "template": "what was the first measured weight of patient 433 in 10/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '10' order by chartevents.charttime asc limit 1", "value": {"patient_id": 433}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d87a232f420f92b7fd610a4"}, {"db_id": "mimic_iii", "question": "how much was patient 3125's body weight last measured during their current hospital encounter?", "template": "what was the last measured weight of patient 3125 on the current hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 3125}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd6d67de29af5f0613ac9f6e"}, {"db_id": "mimic_iii", "question": "how much weight was patient 12952's first weight on the first hospital visit?", "template": "what was the first measured weight of patient 12952 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12952 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 12952}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8efb212794574c97a81aa0b"}, {"db_id": "mimic_iii", "question": "so whats the last weight of patient 15447 this month?", "template": "what was the last measured weight of patient 15447 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 15447}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "35fa8bb859df0908d50fc58b"}, {"db_id": "mimic_iii", "question": "how much did patient 808 weigh first measured in 12/2105?", "template": "what was the first measured weight of patient 808 in 12/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2105-12' order by chartevents.charttime asc limit 1", "value": {"patient_id": 808}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "346dad355b31f57ee53284e2"}, {"db_id": "mimic_iii", "question": "how much was patient 808's body weight first measured since 09/2104?", "template": "what was the first measured weight of patient 808 since 09/2104?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2104-09' order by chartevents.charttime asc limit 1", "value": {"patient_id": 808}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c036d5a3d4a11c540c9fff71"}, {"db_id": "mimic_iii", "question": "how much did patient 14397 weigh last measured?", "template": "what was the last measured weight of patient 14397?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 14397}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87410d336f5265f531556505"}, {"db_id": "mimic_iii", "question": "how much did patient 3677 weigh last measured until 26 months ago?", "template": "what was the last measured weight of patient 3677 until 26 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3677 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-26 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 3677}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18ad9c6213cad1a37dd22e40"}, {"db_id": "mimic_iii", "question": "what was patient 20165's weight the first time until 6 months ago?", "template": "what was the first measured weight of patient 20165 until 6 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20165 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-6 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 20165}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ead373abb6d16f83c8d76d6"}, {"db_id": "mimic_iii", "question": "what is last weight of patient 15986 in this month.", "template": "what was the last measured weight of patient 15986 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 15986}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f91e99a1ff3e5953847cbb60"}, {"db_id": "mimic_iii", "question": "how much patient 808 weighs this month for the last time?", "template": "what was the last measured weight of patient 808 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 808}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de7d6ab587e6ae0f7f45d112"}, {"db_id": "mimic_iii", "question": "so whats the last weight of patient 4718 until 30 months ago?", "template": "what was the last measured weight of patient 4718 until 30 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4718 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-30 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 4718}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1c2f757aed9e6d6f580447bf"}, {"db_id": "mimic_iii", "question": "what was the last weight for patient 27964 in 08/this year?", "template": "what was the last measured weight of patient 27964 in 08/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27964 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '08' order by chartevents.charttime desc limit 1", "value": {"patient_id": 27964}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "765cc4d1ae2607e1018a8d73"}, {"db_id": "mimic_iii", "question": "how much patient 25763 weighs on the last hospital visit for the first time?", "template": "what was the first measured weight of patient 25763 on the last hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25763 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 25763}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32a2c58aa17d47eabbff66fe"}, {"db_id": "mimic_iii", "question": "how much weight was patient 739's last weight in this month?", "template": "what was the last measured weight of patient 739 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 739}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce7630b03c8328184237e07f"}, {"db_id": "mimic_iii", "question": "how much weight was patient 25668's last weight?", "template": "what was the last measured weight of patient 25668?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 25668}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c2a5d3b12d150a78a80c757"}, {"db_id": "mimic_iii", "question": "so whats the first weight of patient 14749 in 03/2103?", "template": "what was the first measured weight of patient 14749 in 03/2103?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14749 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2103-03' order by chartevents.charttime asc limit 1", "value": {"patient_id": 14749}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "07636a049c9e481a62f28278"}, {"db_id": "mimic_iii", "question": "so whats the last weight of patient 7112 in 12/this year?", "template": "what was the last measured weight of patient 7112 in 12/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '12' order by chartevents.charttime desc limit 1", "value": {"patient_id": 7112}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "02acd0892c9c2183d5a7fc15"}, {"db_id": "mimic_iii", "question": "what is first weight of patient 12410 in 08/2101.", "template": "what was the first measured weight of patient 12410 in 08/2101?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12410 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2101-08' order by chartevents.charttime asc limit 1", "value": {"patient_id": 12410}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f0968749af4f17cf5aecc50"}, {"db_id": "mimic_iii", "question": "how much did patient 8098 weigh last measured?", "template": "what was the last measured weight of patient 8098?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 8098}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d7345e580a11f1cdb68c632b"}, {"db_id": "mimic_iii", "question": "what was patient 3369's weight the last time until 58 months ago?", "template": "what was the last measured weight of patient 3369 until 58 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-58 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 3369}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b88dbe0cd6b1a4831a471aa4"}, {"db_id": "mimic_iii", "question": "how much did patient 12927 weigh first measured in the current hospital visit?", "template": "what was the first measured weight of patient 12927 on the current hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 12927}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9736cd8c5df7956dc7a15ad0"}, {"db_id": "mimic_iii", "question": "so whats the first weight of patient 3369 until 48 months ago?", "template": "what was the first measured weight of patient 3369 until 48 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-48 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 3369}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6c387e02bb67bd39d3b481cc"}, {"db_id": "mimic_iii", "question": "how much did patient 24894 weigh first measured when they visited the hospital last time?", "template": "what was the first measured weight of patient 24894 on the last hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24894 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 24894}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3fedc1af08ccead41f1ec09"}, {"db_id": "mimic_iii", "question": "how much was patient 18677's body weight first measured until 06/2102?", "template": "what was the first measured weight of patient 18677 until 06/2102?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2102-06' order by chartevents.charttime asc limit 1", "value": {"patient_id": 18677}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dea57157d5a6a836c4e945c6"}, {"db_id": "mimic_iii", "question": "what was patient 5905's weight the last time since 74 months ago?", "template": "what was the last measured weight of patient 5905 since 74 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5905 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-74 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 5905}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1fba177c5549ea0e0deb29a2"}, {"db_id": "mimic_iii", "question": "so whats the last weight of patient 27463 on the first hospital encounter?", "template": "what was the last measured weight of patient 27463 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27463 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 27463}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b23bfdacbae1f794026668b"}, {"db_id": "mimic_iii", "question": "how much was patient 20898's body weight last measured in this month?", "template": "what was the last measured weight of patient 20898 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 20898}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18b41a4454b61edcc7d2565b"}, {"db_id": "mimic_iii", "question": "how much did patient 19144 weigh last measured in their first hospital visit?", "template": "what was the last measured weight of patient 19144 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19144 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 19144}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ad436537cc7c7a027aa6723"}, {"db_id": "mimic_iii", "question": "how much weight was patient 12274's first weight until 11/2105?", "template": "what was the first measured weight of patient 12274 until 11/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12274 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2105-11' order by chartevents.charttime asc limit 1", "value": {"patient_id": 12274}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10710768d4b726dbef2ecce4"}, {"db_id": "mimic_iii", "question": "how much did patient 15257 weigh first measured in 12/2104?", "template": "what was the first measured weight of patient 15257 in 12/2104?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15257 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2104-12' order by chartevents.charttime asc limit 1", "value": {"patient_id": 15257}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90294f64030c4f6cd3453722"}, {"db_id": "mimic_iii", "question": "how much weight was patient 25965's first weight until 11/2105?", "template": "what was the first measured weight of patient 25965 until 11/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25965 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2105-11' order by chartevents.charttime asc limit 1", "value": {"patient_id": 25965}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "faaf5d260106d9480b12d1a1"}, {"db_id": "mimic_iii", "question": "how much was patient 7241's body weight last measured in 05/2103?", "template": "what was the last measured weight of patient 7241 in 05/2103?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7241 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) = '2103-05' order by chartevents.charttime desc limit 1", "value": {"patient_id": 7241}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a69f2fe1b247f502e31ee0aa"}, {"db_id": "mimic_iii", "question": "how much did patient 22983 weigh last measured?", "template": "what was the last measured weight of patient 22983?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22983 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 22983}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ea113f8ed526697bad728f7"}, {"db_id": "mimic_iii", "question": "how much did patient 12775 weigh last measured in this hospital visit?", "template": "what was the last measured weight of patient 12775 on the current hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 12775}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "078bc8e91aea02d38aff940b"}, {"db_id": "mimic_iii", "question": "how much was patient 19412's body weight last measured in this month?", "template": "what was the last measured weight of patient 19412 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 19412}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a2c3d779cb4cef8fda6bf3f"}, {"db_id": "mimic_iii", "question": "how much weight was patient 4269's first weight?", "template": "what was the first measured weight of patient 4269?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4269 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 4269}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5d77759d912bdb1204ea54d"}, {"db_id": "mimic_iii", "question": "so whats the last weight of patient 8098 since 66 months ago?", "template": "what was the last measured weight of patient 8098 since 66 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-66 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 8098}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce8ea738de815bfce85bed1f"}, {"db_id": "mimic_iii", "question": "how much patient 18457 weighs on their last hospital encounter for the first time?", "template": "what was the first measured weight of patient 18457 on the last hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18457 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 18457}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "131482ee03e9f63d03ed1730"}, {"db_id": "mimic_iii", "question": "how much was patient 16715's body weight last measured in 08/this year?", "template": "what was the last measured weight of patient 16715 in 08/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16715 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',chartevents.charttime) = '08' order by chartevents.charttime desc limit 1", "value": {"patient_id": 16715}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5faee93a7a88f8ce31cd32cd"}, {"db_id": "mimic_iii", "question": "how much did patient 13837 weigh first measured since 166 months ago?", "template": "what was the first measured weight of patient 13837 since 166 month ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13837 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-166 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 13837}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f30075b7aedd3dce533989a2"}, {"db_id": "mimic_iii", "question": "what was patient 9294's weight the first time during this month?", "template": "what was the first measured weight of patient 9294 this month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9294 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by chartevents.charttime asc limit 1", "value": {"patient_id": 9294}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured weight of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "375187703a2aca59b408f069"}, {"db_id": "mimic_iii", "question": "how much did patient 8562 weigh last measured in the previous month?", "template": "what was the last measured weight of patient 8562 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8562 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 8562}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36f08e8c6a08be26f93c5684"}, {"db_id": "mimic_iii", "question": "how much was patient 1272's body weight last measured in 11/last year?", "template": "what was the last measured weight of patient 1272 in 11/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1272 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',chartevents.charttime) = '11' order by chartevents.charttime desc limit 1", "value": {"patient_id": 1272}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbb04d0ff3c86e81491a3380"}, {"db_id": "mimic_iii", "question": "how much did patient 594 weigh last measured since 05/2103?", "template": "what was the last measured weight of patient 594 since 05/2103?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) >= '2103-05' order by chartevents.charttime desc limit 1", "value": {"patient_id": 594}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81ab8b33401f2ec686045bae"}, {"db_id": "mimic_iii", "question": "how much weight was patient 20166's last weight when they came to the hospital first time?", "template": "what was the last measured weight of patient 20166 on the first hospital visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20166 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 20166}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "27014845d884674c7bc1bbb3"}, {"db_id": "mimic_iii", "question": "what is last weight of patient 25997 until 11/2105.", "template": "what was the last measured weight of patient 25997 until 11/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25997 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and strftime('%y-%m',chartevents.charttime) <= '2105-11' order by chartevents.charttime desc limit 1", "value": {"patient_id": 25997}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d85adaa0882d2d6a278ffc3c"}, {"db_id": "mimic_iii", "question": "how much patient 8016 weighs in the last month for the last time?", "template": "what was the last measured weight of patient 8016 last month?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by chartevents.charttime desc limit 1", "value": {"patient_id": 8016}, "q_tag": "what was the [time_filter_exact1] measured weight of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured weight of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a9f5df5aea79e4fef98a837"}, {"db_id": "mimic_iii", "question": "what diagnosis did patient 8204 receive for the first time?", "template": "what was the name of the diagnosis that patient 8204 first received?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8204 ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 8204}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6efa56522c9ebc38623ae3b"}, {"db_id": "mimic_iii", "question": "what is the name of the diagnosis patient 32606 last was received during this year?", "template": "what was the name of the diagnosis that patient 32606 last received this year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32606 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 32606}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d62d6c41046ba958ad12084"}, {"db_id": "mimic_iii", "question": "what was the diagnosis of patient 26799 for the first time during a year before?", "template": "what was the name of the diagnosis that patient 26799 first received last year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26799 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 26799}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c19788e02af4190f28f9d2c"}, {"db_id": "mimic_iii", "question": "what is the first diagnosed diagnosis of patient 76494 in 2102?", "template": "what was the name of the diagnosis that patient 76494 first received in 2102?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76494 ) and strftime('%y',diagnoses_icd.charttime) = '2102' order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 76494}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ded754b2c4a71b8ffc454455"}, {"db_id": "mimic_iii", "question": "what is the name of the diagnosis of patient 25814 first was received since 2105?", "template": "what was the name of the diagnosis that patient 25814 first received since 2105?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) and strftime('%y',diagnoses_icd.charttime) >= '2105' order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 25814}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b51bde0d5a2116edf2871fe"}, {"db_id": "mimic_iii", "question": "patient 30826 was diagnosed this year for the last time with what?", "template": "what was the name of the diagnosis that patient 30826 last received this year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 30826}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b15a3f34a4b843d931beb1fa"}, {"db_id": "mimic_iii", "question": "what was the first thing patient 55360 got diagnosed with in 2105?", "template": "what was the name of the diagnosis that patient 55360 first received in 2105?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) and strftime('%y',diagnoses_icd.charttime) = '2105' order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 55360}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6fcac0992128fb4cd1673453"}, {"db_id": "mimic_iii", "question": "what's the last diagnosis patient 83709 got in the last hospital visit?", "template": "what was the name of the diagnosis that patient 83709 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83709 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 83709}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c58b850e6503cc493d2054e"}, {"db_id": "mimic_iii", "question": "what is patient 28484's last diagnosis during the last hospital encounter?", "template": "what was the name of the diagnosis that patient 28484 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 28484}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0f099933b36c6faf82ee46f"}, {"db_id": "mimic_iii", "question": "what was patient 40435 diagnosed with first time in 2105.", "template": "what was the name of the diagnosis that patient 40435 first received in 2105?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 ) and strftime('%y',diagnoses_icd.charttime) = '2105' order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 40435}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b77c2246b82af2f8225c73f"}, {"db_id": "mimic_iii", "question": "what is the one thing patient 86792 was diagnosed with on the last hospital visit for the last time?", "template": "what was the name of the diagnosis that patient 86792 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86792 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 86792}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6546fd752f40e5285fa1c839"}, {"db_id": "mimic_iii", "question": "what is the name of the diagnostic that patient 21977 first was received until 2104?", "template": "what was the name of the diagnosis that patient 21977 first received until 2104?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21977 ) and strftime('%y',diagnoses_icd.charttime) <= '2104' order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 21977}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6c13919deb1f7c55cfb5eb09"}, {"db_id": "mimic_iii", "question": "since 1 year ago what was diagnosed with patient 26398 for the first time?", "template": "what was the name of the diagnosis that patient 26398 first received since 1 year ago?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26398 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-1 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 26398}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb739114f9f14f2c7592d041"}, {"db_id": "mimic_iii", "question": "what's the name of the diagnosis that patient 3273 was given for the last time last year?", "template": "what was the name of the diagnosis that patient 3273 last received last year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3273 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 3273}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5aba9c04653e9090f0c8b5d2"}, {"db_id": "mimic_iii", "question": "since 6 years ago, patient 20603 was diagnosed for the last time with what?", "template": "what was the name of the diagnosis that patient 20603 last received since 6 year ago?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20603 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-6 year') order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 20603}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28a906bcc9872f8e3ded13f7"}, {"db_id": "mimic_iii", "question": "what was patient 19161 diagnosed with when they came to the hospital last time for the first time?", "template": "what was the name of the diagnosis that patient 19161 first received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19161 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 19161}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6a01e0edaaddc8b7c30c77b"}, {"db_id": "mimic_iii", "question": "the last time in 2105 patient 27146 was diagnosed with what was?", "template": "what was the name of the diagnosis that patient 27146 last received in 2105?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27146 ) and strftime('%y',diagnoses_icd.charttime) = '2105' order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 27146}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6296754850db04ba5def840"}, {"db_id": "mimic_iii", "question": "what was the diagnosis of patient 27591 for the last time?", "template": "what was the name of the diagnosis that patient 27591 last received?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27591 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 27591}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "031669b226e20df4724cba8a"}, {"db_id": "mimic_iii", "question": "what is the first diagnosed diagnosis of patient 27172 in the current hospital visit?", "template": "what was the name of the diagnosis that patient 27172 first received on the current hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 27172}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20b7271b7e1c047913436ab7"}, {"db_id": "mimic_iii", "question": "patient 98177 was diagnosed for the last time with what?", "template": "what was the name of the diagnosis that patient 98177 last received?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98177 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 98177}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db90fff19bba78644387e122"}, {"db_id": "mimic_iii", "question": "what's the name of the diagnosis that patient 77177 was given for the first time until 2101?", "template": "what was the name of the diagnosis that patient 77177 first received until 2101?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77177 ) and strftime('%y',diagnoses_icd.charttime) <= '2101' order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 77177}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57ed3d96ddeb1f76a645912b"}, {"db_id": "mimic_iii", "question": "what diagnosis did patient 54825 receive during their last hospital visit for the last time?", "template": "what was the name of the diagnosis that patient 54825 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 54825}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1aad6acc8ef72ecaae3a4ede"}, {"db_id": "mimic_iii", "question": "what diagnosis did patient 57050 receive since 2105 for the last time?", "template": "what was the name of the diagnosis that patient 57050 last received since 2105?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 ) and strftime('%y',diagnoses_icd.charttime) >= '2105' order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 57050}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ef6dc54b0fb24728d72f024"}, {"db_id": "mimic_iii", "question": "what was patient 12938 diagnosed with during the last hospital visit for the first time?", "template": "what was the name of the diagnosis that patient 12938 first received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12938 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 12938}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e6fbe52db6bf472937c05eb"}, {"db_id": "mimic_iii", "question": "what was patient 97314 diagnosed with for the last time?", "template": "what was the name of the diagnosis that patient 97314 last received?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97314 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 97314}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b106541e15ff8b43c7049e3b"}, {"db_id": "mimic_iii", "question": "what was patient 95986 diagnosed with last time on the last hospital visit.", "template": "what was the name of the diagnosis that patient 95986 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95986 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 95986}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6cf518c0db57c4da644ee742"}, {"db_id": "mimic_iii", "question": "what was patient 5395 diagnosed with on their last hospital encounter for the last time?", "template": "what was the name of the diagnosis that patient 5395 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5395 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 5395}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "968a7fb905f3acaa3b046068"}, {"db_id": "mimic_iii", "question": "what is the one thing patient 3535 was diagnosed with during a year before for the first time?", "template": "what was the name of the diagnosis that patient 3535 first received last year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3535 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 3535}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d136892105479de98e13c0a1"}, {"db_id": "mimic_iii", "question": "what was patient 30826 diagnosed with first time on this hospital encounter.", "template": "what was the name of the diagnosis that patient 30826 first received on the current hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 30826}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22127fc82b46d5d5b04c779a"}, {"db_id": "mimic_iii", "question": "what diagnosis did patient 16879 receive until 2104 for the last time?", "template": "what was the name of the diagnosis that patient 16879 last received until 2104?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16879 ) and strftime('%y',diagnoses_icd.charttime) <= '2104' order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 16879}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f21a523145e499e7040c744a"}, {"db_id": "mimic_iii", "question": "what was the diagnosis of patient 98015 for the first time in this year?", "template": "what was the name of the diagnosis that patient 98015 first received this year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98015 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 98015}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb389556f5a496bb06b3e211"}, {"db_id": "mimic_iii", "question": "what is the name of the diagnosis of patient 59049 first was received during the previous year?", "template": "what was the name of the diagnosis that patient 59049 first received last year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59049 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 59049}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d0763c7d378e1c4652c8ef3"}, {"db_id": "mimic_iii", "question": "what is the name of the diagnostic that patient 49176 last was received since 1 year ago?", "template": "what was the name of the diagnosis that patient 49176 last received since 1 year ago?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-1 year') order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 49176}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c5c679eadc09ed7f214990d"}, {"db_id": "mimic_iii", "question": "what is patient 19412's first diagnosis since 5 years ago?", "template": "what was the name of the diagnosis that patient 19412 first received since 5 year ago?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-5 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 19412}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aac6fa0eed60533b5c866e54"}, {"db_id": "mimic_iii", "question": "since 2104, patient 13686 was diagnosed for the last time with what?", "template": "what was the name of the diagnosis that patient 13686 last received since 2104?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13686 ) and strftime('%y',diagnoses_icd.charttime) >= '2104' order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 13686}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43f4b3ad6d63194ba3fba238"}, {"db_id": "mimic_iii", "question": "what is the one thing patient 25312 was diagnosed with during the previous year for the first time?", "template": "what was the name of the diagnosis that patient 25312 first received last year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 25312}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4c4013aea4f792b0fca5274"}, {"db_id": "mimic_iii", "question": "what was patient 20066 diagnosed with until 2104 for the last time?", "template": "what was the name of the diagnosis that patient 20066 last received until 2104?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 ) and strftime('%y',diagnoses_icd.charttime) <= '2104' order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 20066}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b242b19167a949138a16f4c8"}, {"db_id": "mimic_iii", "question": "on their first hospital encounter what was diagnosed with patient 10425 for the first time?", "template": "what was the name of the diagnosis that patient 10425 first received on the first hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10425 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 10425}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-first]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c91977d42bdfe6ef7074e9d2"}, {"db_id": "mimic_iii", "question": "patient 23969 was diagnosed in this year for the first time with what?", "template": "what was the name of the diagnosis that patient 23969 first received this year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23969 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 23969}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1010d0dc6b3220ef71fc57d4"}, {"db_id": "mimic_iii", "question": "what is the name of the diagnosis of patient 7073 last was received in the previous year?", "template": "what was the name of the diagnosis that patient 7073 last received last year?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7073 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 7073}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c66928d37cb0fb5e13a8c88"}, {"db_id": "mimic_iii", "question": "what was the diagnosis of patient 20066 for the last time until 2104?", "template": "what was the name of the diagnosis that patient 20066 last received until 2104?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 ) and strftime('%y',diagnoses_icd.charttime) <= '2104' order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 20066}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c1efd747d9683c3c58e9a68"}, {"db_id": "mimic_iii", "question": "what is the one thing patient 7533 was diagnosed with in the last hospital visit for the last time?", "template": "what was the name of the diagnosis that patient 7533 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7533 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 7533}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12dec73c81fff80f5555e121"}, {"db_id": "mimic_iii", "question": "what was patient 28443 diagnosed with on this hospital visit for the first time?", "template": "what was the name of the diagnosis that patient 28443 first received on the current hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 28443}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52d66549d22f073118808c04"}, {"db_id": "mimic_iii", "question": "what was the diagnosis of patient 40833 for the last time during the last hospital encounter?", "template": "what was the name of the diagnosis that patient 40833 last received on the last hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40833 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 40833}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2182335464c8fd943c3a00f4"}, {"db_id": "mimic_iii", "question": "what's the last diagnosis patient 15821 got on their first hospital visit?", "template": "what was the name of the diagnosis that patient 15821 last received on the first hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15821 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 15821}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-first]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de635aa6feaf04f2e56d4363"}, {"db_id": "mimic_iii", "question": "what is the last diagnosed diagnosis of patient 96365 since 6 years ago?", "template": "what was the name of the diagnosis that patient 96365 last received since 6 year ago?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96365 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-6 year') order by diagnoses_icd.charttime desc limit 1 )", "value": {"patient_id": 96365}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5aa72ed3261ccd7a9e0131f"}, {"db_id": "mimic_iii", "question": "what diagnosis did patient 32153 receive on the current hospital encounter for the first time?", "template": "what was the name of the diagnosis that patient 32153 first received on the current hospital visit?", "query": "select d_icd_diagnoses.short_title from d_icd_diagnoses where d_icd_diagnoses.icd9_code in ( select diagnoses_icd.icd9_code from diagnoses_icd where diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32153 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1 )", "value": {"patient_id": 32153}, "q_tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the diagnosis that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc6ba45d98f3d1104a4e6db2"}, {"db_id": "mimic_iii", "question": "what is a procedure patient 74392 received for the first time until 2102?", "template": "what was the name of the procedure that patient 74392 first received until 2102?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74392 ) and strftime('%y',procedures_icd.charttime) <= '2102' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 74392}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ee120377946c1a08d9d9790"}, {"db_id": "mimic_iii", "question": "for the first time, what procedure did until 3 years ago patient 25461 receive?", "template": "what was the name of the procedure that patient 25461 first received until 3 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-3 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 25461}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2246428ae5bba3c0ec342be"}, {"db_id": "mimic_iii", "question": "what was the name of procedure, that patient 99082 was last received?", "template": "what was the name of the procedure that patient 99082 last received?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99082 ) order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 99082}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82ea80f7fb9bc0477bcb28f7"}, {"db_id": "mimic_iii", "question": "what was the name of the procedure, which patient 27392 was last received when they came to the hospital last time?", "template": "what was the name of the procedure that patient 27392 last received on the last hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27392 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 27392}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37b0109921f231eb95856117"}, {"db_id": "mimic_iii", "question": "what procedure was first taken to patient 13782 until 2102?", "template": "what was the name of the procedure that patient 13782 first received until 2102?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13782 ) and strftime('%y',procedures_icd.charttime) <= '2102' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 13782}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10da5b18048ae2c9d8f5ea39"}, {"db_id": "mimic_iii", "question": "what did patient 12367 receive for his or her last procedure since 1 year ago?", "template": "what was the name of the procedure that patient 12367 last received since 1 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12367 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-1 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 12367}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0450e51350432789bac4b114"}, {"db_id": "mimic_iii", "question": "what procedure did patient 41393 receive that first time since 2101?", "template": "what was the name of the procedure that patient 41393 first received since 2101?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41393 ) and strftime('%y',procedures_icd.charttime) >= '2101' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 41393}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5504ae9aed1baae051355199"}, {"db_id": "mimic_iii", "question": "what is the first procedure that patient 14397 received this year?", "template": "what was the name of the procedure that patient 14397 first received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 14397}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b433e68e6e1fe7f44967d3f6"}, {"db_id": "mimic_iii", "question": "what procedure did patient 83894 undergo for the first time until 2 years ago?", "template": "what was the name of the procedure that patient 83894 first received until 2 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83894 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-2 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 83894}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd0c7706858129b4281c73f0"}, {"db_id": "mimic_iii", "question": "tell me the name of the procedure that patient 19427 was first received when they came to the hospital last time?", "template": "what was the name of the procedure that patient 19427 first received on the last hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19427 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 19427}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fadd271a1273046dc5f26439"}, {"db_id": "mimic_iii", "question": "tell me the first procedure patient 23620 had during the last hospital visit?", "template": "what was the name of the procedure that patient 23620 first received on the last hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23620 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 23620}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e1c8d9589b83335842b5416"}, {"db_id": "mimic_iii", "question": "what procedure did patient 15257 until 2104 receive for the last time?", "template": "what was the name of the procedure that patient 15257 last received until 2104?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15257 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 15257}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "04a0e6fead4a69be292ab50e"}, {"db_id": "mimic_iii", "question": "tell me the procedure that patient 81562 first had until 4 years ago?", "template": "what was the name of the procedure that patient 81562 first received until 4 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81562 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-4 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 81562}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d269af55240bec805dda1aa"}, {"db_id": "mimic_iii", "question": "what procedure does patient 88659 receive in the last year for the first time?", "template": "what was the name of the procedure that patient 88659 first received last year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88659 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 88659}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71269326f50dcc391de73f18"}, {"db_id": "mimic_iii", "question": "what procedure did patient 98235 receive the first time in 2102.", "template": "what was the name of the procedure that patient 98235 first received in 2102?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98235 ) and strftime('%y',procedures_icd.charttime) = '2102' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 98235}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "27bb752d3a64037795d3bd70"}, {"db_id": "mimic_iii", "question": "what was the name of the procedure, which patient 41393 was last received until 2 years ago?", "template": "what was the name of the procedure that patient 41393 last received until 2 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41393 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-2 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 41393}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8c210d7ee2728f5f08e556f"}, {"db_id": "mimic_iii", "question": "what procedure did patient 9338 receive that last time since 6 years ago?", "template": "what was the name of the procedure that patient 9338 last received since 6 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9338 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-6 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 9338}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f8094ea2d4b78ee41ffbf28"}, {"db_id": "mimic_iii", "question": "what did patient 17286 receive for his or her first procedure?", "template": "what was the name of the procedure that patient 17286 first received?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17286 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 17286}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "241072b5e5d334b1d9618667"}, {"db_id": "mimic_iii", "question": "what procedure did patient 162 receive the last time.", "template": "what was the name of the procedure that patient 162 last received?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 162 ) order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 162}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f74e31d242b48e1508bd5fc5"}, {"db_id": "mimic_iii", "question": "what procedure did patient 57023 receive that last time this year?", "template": "what was the name of the procedure that patient 57023 last received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57023 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 57023}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec4aefd4b49abc88cb193842"}, {"db_id": "mimic_iii", "question": "what is the first procedure that patient 95088 received during the previous year?", "template": "what was the name of the procedure that patient 95088 first received last year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95088 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 95088}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac3ebae1922fc80c6da3fc59"}, {"db_id": "mimic_iii", "question": "what procedure did patient 99082 receive the first time in their first hospital visit.", "template": "what was the name of the procedure that patient 99082 first received on the first hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99082 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 99082}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "037573e1996f71008b08f480"}, {"db_id": "mimic_iii", "question": "what procedure was first taken to patient 7375?", "template": "what was the name of the procedure that patient 7375 first received?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 7375}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36263a138de536ac973f95a7"}, {"db_id": "mimic_iii", "question": "what was the name of the procedure, which patient 11823 was first received in the previous year?", "template": "what was the name of the procedure that patient 11823 first received last year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11823 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 11823}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee9d831b61eac4a6dee66c82"}, {"db_id": "mimic_iii", "question": "what procedure did patient 90019 receive that first time?", "template": "what was the name of the procedure that patient 90019 first received?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90019 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 90019}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a69c1733194ed9cefead4cac"}, {"db_id": "mimic_iii", "question": "what procedure did patient 5658 undergo for the first time this year?", "template": "what was the name of the procedure that patient 5658 first received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5658 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 5658}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "35bc79b1a47a2d8412136874"}, {"db_id": "mimic_iii", "question": "for the first time, what procedure did until 2103 patient 78221 receive?", "template": "what was the name of the procedure that patient 78221 first received until 2103?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78221 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 78221}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5769d3c2adaf5ea41c9bf510"}, {"db_id": "mimic_iii", "question": "what procedure was last taken to patient 25696 in 2105?", "template": "what was the name of the procedure that patient 25696 last received in 2105?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25696 ) and strftime('%y',procedures_icd.charttime) = '2105' order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 25696}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36eace54c549a8438db2a4e4"}, {"db_id": "mimic_iii", "question": "what was the name of the procedure, which patient 81562 was first received until 4 years ago?", "template": "what was the name of the procedure that patient 81562 first received until 4 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81562 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-4 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 81562}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6a1af4b0ecf14c27db33ac2"}, {"db_id": "mimic_iii", "question": "tell me the procedure that patient 81562 first had?", "template": "what was the name of the procedure that patient 81562 first received?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81562 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 81562}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a5e995cd169d514d068a0196"}, {"db_id": "mimic_iii", "question": "for the first time, what procedure did since 2 years ago patient 23858 receive?", "template": "what was the name of the procedure that patient 23858 first received since 2 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-2 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 23858}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6c0b74dd93dc57a912c6038"}, {"db_id": "mimic_iii", "question": "what was the name of the procedure, which patient 25365 was last received in 2105?", "template": "what was the name of the procedure that patient 25365 last received in 2105?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25365 ) and strftime('%y',procedures_icd.charttime) = '2105' order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 25365}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9713d4ddb9907b2d98c34bd"}, {"db_id": "mimic_iii", "question": "what did patient 14203 receive for his or her first procedure since 6 years ago?", "template": "what was the name of the procedure that patient 14203 first received since 6 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14203 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-6 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 14203}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5212fc3cbfb75367e4423334"}, {"db_id": "mimic_iii", "question": "what was the name of procedure, that patient 20066 was last received until 2100?", "template": "what was the name of the procedure that patient 20066 last received until 2100?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 ) and strftime('%y',procedures_icd.charttime) <= '2100' order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 20066}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "825c7757748e1b2c4272ca4c"}, {"db_id": "mimic_iii", "question": "what procedure did patient 25997 until 3 years ago receive for the last time?", "template": "what was the name of the procedure that patient 25997 last received until 3 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25997 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-3 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 25997}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87b5820ec6cdde751d6ad076"}, {"db_id": "mimic_iii", "question": "what is a procedure patient 8016 received for the last time this year?", "template": "what was the name of the procedure that patient 8016 last received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 8016}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "898a64194d69565b7a543978"}, {"db_id": "mimic_iii", "question": "what procedure did patient 10624 undergo for the first time on their first hospital encounter?", "template": "what was the name of the procedure that patient 10624 first received on the first hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 10624}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17ef1006ed3e3e558762752a"}, {"db_id": "mimic_iii", "question": "what procedure was first taken to patient 19161 since 5 years ago?", "template": "what was the name of the procedure that patient 19161 first received since 5 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19161 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-5 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 19161}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "860a7af3598cc24c0c5caf91"}, {"db_id": "mimic_iii", "question": "what procedure does patient 94122 receive in this year for the last time?", "template": "what was the name of the procedure that patient 94122 last received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94122 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 94122}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c41732d17c9fbfcc48c8cda"}, {"db_id": "mimic_iii", "question": "what did patient 91768 receive for his or her first procedure until 2103?", "template": "what was the name of the procedure that patient 91768 first received until 2103?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 91768 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 91768}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0592ad87370f5da66f02fe3c"}, {"db_id": "mimic_iii", "question": "what procedure was last taken to patient 25796 on their first hospital visit?", "template": "what was the name of the procedure that patient 25796 last received on the first hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25796 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 25796}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "60ec9563cd2327bd7a4ecafa"}, {"db_id": "mimic_iii", "question": "what was the name of procedure, that patient 43959 was first received in this year?", "template": "what was the name of the procedure that patient 43959 first received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43959 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 43959}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ed1a3b6b02341319d5d971b"}, {"db_id": "mimic_iii", "question": "tell me the procedure that patient 15760 last had during the previous year?", "template": "what was the name of the procedure that patient 15760 last received last year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15760 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 15760}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e03181ddaf91535f7a12ac41"}, {"db_id": "mimic_iii", "question": "what was the name of procedure, that patient 51698 was first received during this year?", "template": "what was the name of the procedure that patient 51698 first received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51698 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 51698}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef6b03bc7e367a0129926c37"}, {"db_id": "mimic_iii", "question": "what was the name of procedure, that patient 94912 was first received this year?", "template": "what was the name of the procedure that patient 94912 first received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94912 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 94912}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2116c5da0113b68e10bd87cc"}, {"db_id": "mimic_iii", "question": "what procedure did patient 54825 receive the first time when they visited the hospital last time.", "template": "what was the name of the procedure that patient 54825 first received on the last hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 54825}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb1592734dbb28eec697ab90"}, {"db_id": "mimic_iii", "question": "what is the first procedure that patient 8244 received since 2103?", "template": "what was the name of the procedure that patient 8244 first received since 2103?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8244 ) and strftime('%y',procedures_icd.charttime) >= '2103' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 8244}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db3aed4be6c3e0d40f5c76a4"}, {"db_id": "mimic_iii", "question": "what procedure did patient 64873 undergo for the first time since 3 years ago?", "template": "what was the name of the procedure that patient 64873 first received since 3 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64873 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-3 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 64873}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a305f9b79c1a6892aba919b"}, {"db_id": "mimic_iii", "question": "what is the last procedure that patient 14397 received in this year?", "template": "what was the name of the procedure that patient 14397 last received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 14397}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b52a8fe96f279fb2e77f8b0"}, {"db_id": "mimic_iii", "question": "what procedure did patient 2489 receive the last time this year.", "template": "what was the name of the procedure that patient 2489 last received this year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2489 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 2489}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "994dc5c746b0978625713101"}, {"db_id": "mimic_iii", "question": "what is the first procedure that patient 13837 received when they came to the hospital first time?", "template": "what was the name of the procedure that patient 13837 first received on the first hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13837 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 13837}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd9bfc3a098a97f67b56edad"}, {"db_id": "mimic_iii", "question": "what is the last procedure that patient 40967 received?", "template": "what was the name of the procedure that patient 40967 last received?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40967 ) order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 40967}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16b7b3cda5faf3c697e8a94e"}, {"db_id": "mimic_iii", "question": "what procedure did patient 17608 undergo for the first time in 2104?", "template": "what was the name of the procedure that patient 17608 first received in 2104?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17608 ) and strftime('%y',procedures_icd.charttime) = '2104' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 17608}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b207d2c9f1845ef285086043"}, {"db_id": "mimic_iii", "question": "what procedure did patient 64873 undergo for the first time in 2104?", "template": "what was the name of the procedure that patient 64873 first received in 2104?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64873 ) and strftime('%y',procedures_icd.charttime) = '2104' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 64873}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e8c2e0acfee71e12c362b16"}, {"db_id": "mimic_iii", "question": "what procedure did patient 70709 receive the first time since 1 year ago.", "template": "what was the name of the procedure that patient 70709 first received since 1 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70709 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-1 year') order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 70709}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6e6c32dd18db3d435e0129f"}, {"db_id": "mimic_iii", "question": "tell me the last procedure patient 433 had since 4 years ago?", "template": "what was the name of the procedure that patient 433 last received since 4 year ago?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-4 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 433}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d4b0beb4bd371fe1346272a"}, {"db_id": "mimic_iii", "question": "what procedure did patient 59049 during a year before receive for the last time?", "template": "what was the name of the procedure that patient 59049 last received last year?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59049 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime desc limit 1 )", "value": {"patient_id": 59049}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "24ae471c19ac400b99eb0e6a"}, {"db_id": "mimic_iii", "question": "for the first time, what procedure did in the first hospital encounter patient 85407 receive?", "template": "what was the name of the procedure that patient 85407 first received on the first hospital visit?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85407 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 85407}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c92a602957b657faee7c071"}, {"db_id": "mimic_iii", "question": "what procedure did patient 23550 receive the first time since 2103.", "template": "what was the name of the procedure that patient 23550 first received since 2103?", "query": "select d_icd_procedures.short_title from d_icd_procedures where d_icd_procedures.icd9_code in ( select procedures_icd.icd9_code from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23550 ) and strftime('%y',procedures_icd.charttime) >= '2103' order by procedures_icd.charttime asc limit 1 )", "value": {"patient_id": 23550}, "q_tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the procedure that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab2457721a4627ba603c9112"}, {"db_id": "mimic_iii", "question": "what was the drug that patient 22315 was prescribed for the last time using an td route since 145 months ago?", "template": "what was the name of the drug that patient 22315 was last prescribed via td route since 145 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22315 ) and prescriptions.route = 'td' and datetime(prescriptions.startdate) >= datetime(current_time,'-145 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "td", "patient_id": 22315}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "88d6e2530b3a2c4297b9b3ef"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that was last prescribed to patient 12938 in 03/2104 via tp route?", "template": "what was the name of the drug that patient 12938 was last prescribed via tp route in 03/2104?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12938 ) and prescriptions.route = 'tp' and strftime('%y-%m',prescriptions.startdate) = '2104-03' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 12938, "drug_route": "tp"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5b93194dae588cc87e997c7"}, {"db_id": "mimic_iii", "question": "what was the drug patient 99747 was prescribed for the last time using the iv drip route?", "template": "what was the name of the drug that patient 99747 was last prescribed via iv drip route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99747 ) and prescriptions.route = 'iv drip' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 99747, "drug_route": "iv drip"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e34c635ffad88e3d1dda4f57"}, {"db_id": "mimic_iii", "question": "what's the name of the drug that patient 7698 was last prescribed via po route during a month before?", "template": "what was the name of the drug that patient 7698 was last prescribed via po route last month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) and prescriptions.route = 'po' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "po", "patient_id": 7698}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "242ae8596354bfa51812bee4"}, {"db_id": "mimic_iii", "question": "what was the last drug that patient 80645 was prescribed via the iv route in 12/2104?", "template": "what was the name of the drug that patient 80645 was last prescribed via iv route in 12/2104?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80645 ) and prescriptions.route = 'iv' and strftime('%y-%m',prescriptions.startdate) = '2104-12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 80645, "drug_route": "iv"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3774ed3ac649c9d3a66638c5"}, {"db_id": "mimic_iii", "question": "what was the drug that was prescribed to patient 11579 in their last hospital visit via the ir route for the first time?", "template": "what was the name of the drug that patient 11579 was first prescribed via ir route on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11579 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'ir' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ir", "patient_id": 11579}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22c82f457089d3e1f6d6885b"}, {"db_id": "mimic_iii", "question": "what was the medication that patient 16066 was prescribed for the last time through the left eye route until 03/2104?", "template": "what was the name of the drug that patient 16066 was last prescribed via left eye route until 03/2104?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16066 ) and prescriptions.route = 'left eye' and strftime('%y-%m',prescriptions.startdate) <= '2104-03' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "left eye", "patient_id": 16066}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e1adce8f7dde2e75e63ac39"}, {"db_id": "mimic_iii", "question": "tell me the name of the medication patient 13473 was first prescribed via iv route?", "template": "what was the name of the drug that patient 13473 was first prescribed via iv route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13473 ) and prescriptions.route = 'iv' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 13473, "drug_route": "iv"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a1e4ff67c9c6d328e56197a"}, {"db_id": "mimic_iii", "question": "until 28 months ago, what was the first drug patient 27172 was prescribed via the iv drip route?", "template": "what was the name of the drug that patient 27172 was first prescribed via iv drip route until 28 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 ) and prescriptions.route = 'iv drip' and datetime(prescriptions.startdate) <= datetime(current_time,'-28 month') order by prescriptions.startdate asc limit 1", "value": {"drug_route": "iv drip", "patient_id": 27172}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e9a6a3faa0e3f0053f31753"}, {"db_id": "mimic_iii", "question": "what was the first medication that patient 28343 was prescribed via po route?", "template": "what was the name of the drug that patient 28343 was first prescribed via po route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28343 ) and prescriptions.route = 'po' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 28343, "drug_route": "po"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "040e0964ab4476bcb4e12911"}, {"db_id": "mimic_iii", "question": "what was the first drug that patient 19175 was prescribed in 11/this year via the ed route?", "template": "what was the name of the drug that patient 19175 was first prescribed via ed route in 11/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) and prescriptions.route = 'ed' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ed", "patient_id": 19175}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a86dd804bbab9378749e936"}, {"db_id": "mimic_iii", "question": "tell me the drug that was prescribed to patient 6580 for the last time through the po route since 04/2105?", "template": "what was the name of the drug that patient 6580 was last prescribed via po route since 04/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6580 ) and prescriptions.route = 'po' and strftime('%y-%m',prescriptions.startdate) >= '2105-04' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 6580, "drug_route": "po"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "882b1626e511162040d8b48c"}, {"db_id": "mimic_iii", "question": "tell me the name of the medication that patient 14397 was last prescribed via the oral route during their last hospital visit?", "template": "what was the name of the drug that patient 14397 was last prescribed via oral route on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'oral' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 14397, "drug_route": "oral"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2892e96cf7c3f773d6f959dc"}, {"db_id": "mimic_iii", "question": "what was the name of the drug, which patient 52898 was last prescribed via right ear route since 02/2105?", "template": "what was the name of the drug that patient 52898 was last prescribed via right ear route since 02/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) and prescriptions.route = 'right ear' and strftime('%y-%m',prescriptions.startdate) >= '2105-02' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "right ear", "patient_id": 52898}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f07f5e08fc1d20046b4c7b07"}, {"db_id": "mimic_iii", "question": "what was the drug that was prescribed to patient 66411 via the os route on the first hospital visit for the first time?", "template": "what was the name of the drug that patient 66411 was first prescribed via os route on the first hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 66411 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.route = 'os' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "os", "patient_id": 66411}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f3eafdbe6eb37e8fb89341ec"}, {"db_id": "mimic_iii", "question": "what was the last drug until 52 months ago that patient 2700 was prescribed via the ou route?", "template": "what was the name of the drug that patient 2700 was last prescribed via ou route until 52 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2700 ) and prescriptions.route = 'ou' and datetime(prescriptions.startdate) <= datetime(current_time,'-52 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "ou", "patient_id": 2700}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c75d234c9cd8bf0b448763a"}, {"db_id": "mimic_iii", "question": "what is the name of the medicine that was prescribed to patient 30460 for the first time through the ou route?", "template": "what was the name of the drug that patient 30460 was first prescribed via ou route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30460 ) and prescriptions.route = 'ou' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ou", "patient_id": 30460}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51417f948e0cb127b780650e"}, {"db_id": "mimic_iii", "question": "for the first time in 03/this year, what was the drug that patient 40116 was prescribed via iv bolus route?", "template": "what was the name of the drug that patient 40116 was first prescribed via iv bolus route in 03/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40116 ) and prescriptions.route = 'iv bolus' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '03' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "iv bolus", "patient_id": 40116}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22f6c440e2468569b7e6c57e"}, {"db_id": "mimic_iii", "question": "what is the drug patient 19627 was prescribed for the first time when they came to the hospital last time via ip route?", "template": "what was the name of the drug that patient 19627 was first prescribed via ip route on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19627 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'ip' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ip", "patient_id": 19627}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc5d412c4d28e4335fd3ab72"}, {"db_id": "mimic_iii", "question": "what was the drug patient 32755 was prescribed for the first time using the iv route since 110 months ago?", "template": "what was the name of the drug that patient 32755 was first prescribed via iv route since 110 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32755 ) and prescriptions.route = 'iv' and datetime(prescriptions.startdate) >= datetime(current_time,'-110 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 32755, "drug_route": "iv"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37cd47dc90db04a12801961f"}, {"db_id": "mimic_iii", "question": "what medication was first prescribed to patient 23858 via the in route since 114 months ago?", "template": "what was the name of the drug that patient 23858 was first prescribed via in route since 114 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 ) and prescriptions.route = 'in' and datetime(prescriptions.startdate) >= datetime(current_time,'-114 month') order by prescriptions.startdate asc limit 1", "value": {"drug_route": "in", "patient_id": 23858}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d58e1c13fa498bb000dee691"}, {"db_id": "mimic_iii", "question": "what is the last drug that is prescribed to patient 40435 via ih route during a month before?", "template": "what was the name of the drug that patient 40435 was last prescribed via ih route last month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 ) and prescriptions.route = 'ih' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "ih", "patient_id": 40435}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "44a0d6125705fc4ff5a87efd"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that patient 25733 was prescribed for the last time in this hospital encounter via po route?", "template": "what was the name of the drug that patient 25733 was last prescribed via po route on the current hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) and prescriptions.route = 'po' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 25733, "drug_route": "po"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9028ad04c46003194edc3f84"}, {"db_id": "mimic_iii", "question": "what was the first drug that was prescribed to patient 40833 through pr route since 03/2103?", "template": "what was the name of the drug that patient 40833 was first prescribed via pr route since 03/2103?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40833 ) and prescriptions.route = 'pr' and strftime('%y-%m',prescriptions.startdate) >= '2103-03' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 40833, "drug_route": "pr"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb739079329de572a0864c92"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 4301 for the first time until 07/2103 via tp route?", "template": "what was the name of the drug that patient 4301 was first prescribed via tp route until 07/2103?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4301 ) and prescriptions.route = 'tp' and strftime('%y-%m',prescriptions.startdate) <= '2103-07' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 4301, "drug_route": "tp"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "920c58d55cbebc37defc1050"}, {"db_id": "mimic_iii", "question": "what was the first drug prescribed to patient 97733 via the im route?", "template": "what was the name of the drug that patient 97733 was first prescribed via im route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 ) and prescriptions.route = 'im' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 97733, "drug_route": "im"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7da2933a27ed368750d736da"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 75170 first via dialys route?", "template": "what was the name of the drug that patient 75170 was first prescribed via dialys route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 75170 ) and prescriptions.route = 'dialys' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "dialys", "patient_id": 75170}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17956d538544c343cc21a4f5"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that was first prescribed to patient 1457 via ng route?", "template": "what was the name of the drug that patient 1457 was first prescribed via ng route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1457 ) and prescriptions.route = 'ng' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 1457, "drug_route": "ng"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f2947717ac4bda34389e5e3"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that patient 49295 was last prescribed through the ivt route?", "template": "what was the name of the drug that patient 49295 was last prescribed via ivt route?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49295 ) and prescriptions.route = 'ivt' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "ivt", "patient_id": 49295}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1aaec5caa9ad793c190cf8e0"}, {"db_id": "mimic_iii", "question": "what was the first drug prescribed to patient 31696 since 62 months ago via the ou route?", "template": "what was the name of the drug that patient 31696 was first prescribed via ou route since 62 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31696 ) and prescriptions.route = 'ou' and datetime(prescriptions.startdate) >= datetime(current_time,'-62 month') order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ou", "patient_id": 31696}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ef5ebbecedea869c255439b"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 27362 last time through the oral route in 07/last year?", "template": "what was the name of the drug that patient 27362 was last prescribed via oral route in 07/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) and prescriptions.route = 'oral' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '07' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 27362, "drug_route": "oral"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1b48969609b0762c7de7d800"}, {"db_id": "mimic_iii", "question": "what was the drug that in 04/this year patient 72198 was prescribed via the ih route for the last time?", "template": "what was the name of the drug that patient 72198 was last prescribed via ih route in 04/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72198 ) and prescriptions.route = 'ih' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '04' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 72198, "drug_route": "ih"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c88ba70df8b0b91a9b196025"}, {"db_id": "mimic_iii", "question": "what drug was the last drug that patient 7375 was prescribed via im route until 62 months ago?", "template": "what was the name of the drug that patient 7375 was last prescribed via im route until 62 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 ) and prescriptions.route = 'im' and datetime(prescriptions.startdate) <= datetime(current_time,'-62 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 7375, "drug_route": "im"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "147b468271668fe8d9c9585f"}, {"db_id": "mimic_iii", "question": "what was the first medication prescribed to patient 44625 until 17 months ago via iv drip route?", "template": "what was the name of the drug that patient 44625 was first prescribed via iv drip route until 17 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 44625 ) and prescriptions.route = 'iv drip' and datetime(prescriptions.startdate) <= datetime(current_time,'-17 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 44625, "drug_route": "iv drip"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f354d49485305c69c32036f1"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 19427 is first prescribed via oral route in 11/2105?", "template": "what was the name of the drug that patient 19427 was first prescribed via oral route in 11/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19427 ) and prescriptions.route = 'oral' and strftime('%y-%m',prescriptions.startdate) = '2105-11' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "oral", "patient_id": 19427}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2add20755f5549557bc9c993"}, {"db_id": "mimic_iii", "question": "what was the medication patient 17462 was prescribed for the first time on this hospital visit via the iv route?", "template": "what was the name of the drug that patient 17462 was first prescribed via iv route on the current hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 and admissions.dischtime is null ) and prescriptions.route = 'iv' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 17462, "drug_route": "iv"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0ca3508cd78725230cbeaf4"}, {"db_id": "mimic_iii", "question": "tell me the name of the medication patient 63368 was last prescribed via po/ng route in 02/2104?", "template": "what was the name of the drug that patient 63368 was last prescribed via po/ng route in 02/2104?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63368 ) and prescriptions.route = 'po/ng' and strftime('%y-%m',prescriptions.startdate) = '2104-02' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "po/ng", "patient_id": 63368}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "04aa50702f18cd6ce056d920"}, {"db_id": "mimic_iii", "question": "what drugs were last prescribed to patient 55027 in 08/2105 via the both eyes route?", "template": "what was the name of the drug that patient 55027 was last prescribed via both eyes route in 08/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55027 ) and prescriptions.route = 'both eyes' and strftime('%y-%m',prescriptions.startdate) = '2105-08' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "both eyes", "patient_id": 55027}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "15b41132b1364724a07a4774"}, {"db_id": "mimic_iii", "question": "until 31 months ago, what was the first drug patient 1704 was prescribed via the po/ng route?", "template": "what was the name of the drug that patient 1704 was first prescribed via po/ng route until 31 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1704 ) and prescriptions.route = 'po/ng' and datetime(prescriptions.startdate) <= datetime(current_time,'-31 month') order by prescriptions.startdate asc limit 1", "value": {"drug_route": "po/ng", "patient_id": 1704}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b501e882c7b20a725792ca4a"}, {"db_id": "mimic_iii", "question": "what was the medication that patient 50286 was prescribed for the last time through the im route in 11/last year?", "template": "what was the name of the drug that patient 50286 was last prescribed via im route in 11/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 50286 ) and prescriptions.route = 'im' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 50286, "drug_route": "im"}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed via {drug_route} route [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1b2cbd483386146f74e3a7db"}, {"db_id": "mimic_iii", "question": "tell me the medication that patient 3929 has been prescribed for the first time in 05/this year.", "template": "what was the name of the drug that patient 3929 was first prescribed in 05/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 3929}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3eaf7a8b4f23661c30a58fa2"}, {"db_id": "mimic_iii", "question": "what was the name of the medication that was prescribed in 12/this year for patient 95892 last?", "template": "what was the name of the drug that patient 95892 was last prescribed in 12/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 95892}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3df553afdf06394da2bc3a75"}, {"db_id": "mimic_iii", "question": "what is the name of the medicine prescribed to patient 82132 for the last time since 12 months ago?", "template": "what was the name of the drug that patient 82132 was last prescribed since 12 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-12 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 82132}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5442ac9b5b4925bf1dff50bb"}, {"db_id": "mimic_iii", "question": "what was the first medication prescribed to patient 22782 since 92 months ago?", "template": "what was the name of the drug that patient 22782 was first prescribed since 92 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22782 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-92 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 22782}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f778c13142c0ebf64a20ae71"}, {"db_id": "mimic_iii", "question": "what was the name of the drugs that patient 95280 was first prescribed until 9 months ago?", "template": "what was the name of the drug that patient 95280 was first prescribed until 9 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95280 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-9 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 95280}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "23b8e5b7096d1251b9610e17"}, {"db_id": "mimic_iii", "question": "what was the last drug being prescribed for patient 24971?", "template": "what was the name of the drug that patient 24971 was last prescribed?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24971 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 24971}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce91071400b46b192901f511"}, {"db_id": "mimic_iii", "question": "what was the drug prescribed to patient 65309 in 10/last year for the last time?", "template": "what was the name of the drug that patient 65309 was last prescribed in 10/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65309 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '10' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 65309}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f7b46d940834931b773801c"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that until 57 months ago patient 72107 was last prescribed?", "template": "what was the name of the drug that patient 72107 was last prescribed until 57 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72107 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-57 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 72107}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d58d0b65dd47d07672feda9"}, {"db_id": "mimic_iii", "question": "what is the name of the medication that patient 79348 was prescribed in 05/this year for the last time?", "template": "what was the name of the drug that patient 79348 was last prescribed in 05/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 79348 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 79348}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d98cae975910d4ea2649d26"}, {"db_id": "mimic_iii", "question": "what was the drug last prescribed to patient 40059 in their current hospital visit?", "template": "what was the name of the drug that patient 40059 was last prescribed on the current hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 40059}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f6595bab0de464dcb850c6fe"}, {"db_id": "mimic_iii", "question": "what's the name of the drug that was first prescribed to patient 60136?", "template": "what was the name of the drug that patient 60136 was first prescribed?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 60136}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db44c058448436f71bddfbe5"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that patient 9833 was prescribed last in 10/this year?", "template": "what was the name of the drug that patient 9833 was last prescribed in 10/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9833 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '10' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 9833}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c3a7d4e380aabda9a94b430f"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 25590 was first prescribed in 02/this year?", "template": "what was the name of the drug that patient 25590 was first prescribed in 02/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25590 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 25590}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8ff21312097f7a44be976eb7"}, {"db_id": "mimic_iii", "question": "tell me the drug that was prescribed to patient 9983 for the last time until 42 months ago?", "template": "what was the name of the drug that patient 9983 was last prescribed until 42 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9983 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-42 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 9983}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1f37dc7f7b888c4f02372f3"}, {"db_id": "mimic_iii", "question": "what drug has been prescribed to patient 23237 for the last time in 12/this year?", "template": "what was the name of the drug that patient 23237 was last prescribed in 12/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23237 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 23237}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5cace980eb974a914ea88e81"}, {"db_id": "mimic_iii", "question": "what was the name of the prescription drug that patient 18841 was prescribed last until 11/2105?", "template": "what was the name of the drug that patient 18841 was last prescribed until 11/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18841 ) and strftime('%y-%m',prescriptions.startdate) <= '2105-11' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 18841}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53037aacf3c3e4e6a151e138"}, {"db_id": "mimic_iii", "question": "what exactly was the first drug that patient 10811 was prescribed in 02/last year?", "template": "what was the name of the drug that patient 10811 was first prescribed in 02/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10811 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 10811}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee6b27bf5cdf49e647ea43da"}, {"db_id": "mimic_iii", "question": "what is the name of the medication that patient 23760 was last prescribed when they came to the hospital last time?", "template": "what was the name of the drug that patient 23760 was last prescribed on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23760 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 23760}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9373825dd56e9400e7e527c8"}, {"db_id": "mimic_iii", "question": "what was the first prescription drug that patient 18517 was prescribed on the last hospital encounter?", "template": "what was the name of the drug that patient 18517 was first prescribed on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 18517}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "583be8563f8c378f11eb6d26"}, {"db_id": "mimic_iii", "question": "what is the name of the drug patient 96728 was first prescribed since 179 months ago?", "template": "what was the name of the drug that patient 96728 was first prescribed since 179 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96728 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-179 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 96728}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad7163eba03a0a497b8fc468"}, {"db_id": "mimic_iii", "question": "last time, what drug was prescribed for patient 88659 in 10/last year?", "template": "what was the name of the drug that patient 88659 was last prescribed in 10/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88659 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '10' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 88659}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d8c43b7813268b3561eb26fe"}, {"db_id": "mimic_iii", "question": "what prescription drug was first prescribed to patient 30228 in 06/this year?", "template": "what was the name of the drug that patient 30228 was first prescribed in 06/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30228 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '06' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 30228}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30fac69ac52e32f44f515083"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that was first prescribed for patient 89840?", "template": "what was the name of the drug that patient 89840 was first prescribed?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89840 ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 89840}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5034cb8c8b7b60b2c9aab12c"}, {"db_id": "mimic_iii", "question": "what was the first drug that patient 19059 was prescribed on their last hospital encounter?", "template": "what was the name of the drug that patient 19059 was first prescribed on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 19059}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1eeea5a32e51acf6a92e15ac"}, {"db_id": "mimic_iii", "question": "what was the name of drug that was prescribed first to patient 70267 during this hospital encounter?", "template": "what was the name of the drug that patient 70267 was first prescribed on the current hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 and admissions.dischtime is null ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 70267}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db30cbd945d669d098d2e71f"}, {"db_id": "mimic_iii", "question": "what was the last medication that patient 5553 was prescribed?", "template": "what was the name of the drug that patient 5553 was last prescribed?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5553 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 5553}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:null]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "828452e0b1d2f80d01c8166e"}, {"db_id": "mimic_iii", "question": "what was the name of the medication patient 26398 was prescribed the first time a month before?", "template": "what was the name of the drug that patient 26398 was first prescribed last month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26398 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 26398}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "05c73fba3a2cc63271c998c0"}, {"db_id": "mimic_iii", "question": "what was the name of the drugs that patient 99647 was prescribed last in the current hospital visit.", "template": "what was the name of the drug that patient 99647 was last prescribed on the current hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 99647}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da5873584745c31fd0f6ff96"}, {"db_id": "mimic_iii", "question": "what is the first medication that patient 41816 has been prescribed until 07/2102?", "template": "what was the name of the drug that patient 41816 was first prescribed until 07/2102?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41816 ) and strftime('%y-%m',prescriptions.startdate) <= '2102-07' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 41816}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78445c8a94e62c79f1fec4af"}, {"db_id": "mimic_iii", "question": "what was the name of the medication which was prescribed to patient 27362 the first time in 05/2104?", "template": "what was the name of the drug that patient 27362 was first prescribed in 05/2104?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) and strftime('%y-%m',prescriptions.startdate) = '2104-05' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27362}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9011354025792247edd4a9cb"}, {"db_id": "mimic_iii", "question": "what medication was prescribed for the last time in 11/2103 to patient 27739?", "template": "what was the name of the drug that patient 27739 was last prescribed in 11/2103?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27739 ) and strftime('%y-%m',prescriptions.startdate) = '2103-11' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 27739}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2689b46a1bb0237aac9ccc2"}, {"db_id": "mimic_iii", "question": "what was the name of the first medication that was prescribed to patient 27451 until 63 months ago?", "template": "what was the name of the drug that patient 27451 was first prescribed until 63 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27451 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-63 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27451}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2da8a4c326cb57a46c211e55"}, {"db_id": "mimic_iii", "question": "tell me the last medicine that was prescribed to patient 11823 in 11/last year.", "template": "what was the name of the drug that patient 11823 was last prescribed in 11/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11823 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 11823}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1166cc734ba048d61fded165"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that was prescribed to patient 65484 until 08/2103 for the last time?", "template": "what was the name of the drug that patient 65484 was last prescribed until 08/2103?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65484 ) and strftime('%y-%m',prescriptions.startdate) <= '2103-08' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 65484}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e47554b3de143efdf44a1ac"}, {"db_id": "mimic_iii", "question": "what were the first drugs that were prescribed to patient 64185 since 137 months ago?", "template": "what was the name of the drug that patient 64185 was first prescribed since 137 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64185 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-137 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 64185}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "88f257c992f2215da29c6675"}, {"db_id": "mimic_iii", "question": "what is the name of the first medication prescribed to patient 40059 in 10/2105?", "template": "what was the name of the drug that patient 40059 was first prescribed in 10/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 ) and strftime('%y-%m',prescriptions.startdate) = '2105-10' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 40059}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0128fd40a0e5258c3aa176c2"}, {"db_id": "mimic_iii", "question": "what was the name of the medication that patient 97733 was prescribed for the last time since 1 month ago?", "template": "what was the name of the drug that patient 97733 was last prescribed since 1 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 97733}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6c541eb5f0e80c0fe15b69fb"}, {"db_id": "mimic_iii", "question": "what is the name of the medication that was first prescribed to patient 12775 in 12/this year?", "template": "what was the name of the drug that patient 12775 was first prescribed in 12/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 12775}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c7cbef7326e93fcb7da5e25c"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed for the last time during the last hospital encounter for patient 29971?", "template": "what was the name of the drug that patient 29971 was last prescribed on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29971 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 29971}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ddef318f4906bec26f1a147"}, {"db_id": "mimic_iii", "question": "what was the name of a drug patient 89202 was first prescribed until 28 months ago?", "template": "what was the name of the drug that patient 89202 was first prescribed until 28 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89202 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-28 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 89202}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd1a43c5cf760275b6066762"}, {"db_id": "mimic_iii", "question": "what was the drug name of the drug that was first prescribed to patient 53089 during the first hospital encounter?", "template": "what was the name of the drug that patient 53089 was first prescribed on the first hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53089 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 53089}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7efa02ef00d92f88f09e83ca"}, {"db_id": "mimic_iii", "question": "what was the last drug prescribed in 12/2103 to patient 31880?", "template": "what was the name of the drug that patient 31880 was last prescribed in 12/2103?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 ) and strftime('%y-%m',prescriptions.startdate) = '2103-12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 31880}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12ecd573a994f36b80be76c7"}, {"db_id": "mimic_iii", "question": "what was the name of the drug, which was prescribed to patient 25796 for the last time in the last hospital visit?", "template": "what was the name of the drug that patient 25796 was last prescribed on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25796 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 25796}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5182870ec44b93f3370f0d9e"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescription that patient 17608 was first prescribed since 138 months ago?", "template": "what was the name of the drug that patient 17608 was first prescribed since 138 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17608 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-138 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 17608}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d7dc66e38df211eb1120afdc"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that was prescribed to patient 14467 for the first time during this month?", "template": "what was the name of the drug that patient 14467 was first prescribed this month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 14467}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a5db748baf4f110482e3063"}, {"db_id": "mimic_iii", "question": "what medicine has been prescribed to patient 78221 for the first time until 65 months ago?", "template": "what was the name of the drug that patient 78221 was first prescribed until 65 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78221 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-65 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 78221}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da49c9b32e594d347c95d082"}, {"db_id": "mimic_iii", "question": "what's the name of the last medication patient 6440 was prescribed until 15 months ago?", "template": "what was the name of the drug that patient 6440 was last prescribed until 15 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6440 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-15 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 6440}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a7c3876214f563bafcdfcb0"}, {"db_id": "mimic_iii", "question": "what drug was the first drug prescribed for patient 99661 until 07/2101?", "template": "what was the name of the drug that patient 99661 was first prescribed until 07/2101?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99661 ) and strftime('%y-%m',prescriptions.startdate) <= '2101-07' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 99661}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7dd6c7d62827367092aa822c"}, {"db_id": "mimic_iii", "question": "what was the name of the drug, which was prescribed to patient 93078 for the first time in 06/last year?", "template": "what was the name of the drug that patient 93078 was first prescribed in 06/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93078 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '06' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 93078}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9934135e3f734ddf60f0cce"}, {"db_id": "mimic_iii", "question": "what was the first drug being prescribed for patient 26262 during the last hospital visit?", "template": "what was the name of the drug that patient 26262 was first prescribed on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26262 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 26262}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d6a2df6b0565348e96b94eba"}, {"db_id": "mimic_iii", "question": "what was the drug name of the drug that was last prescribed to patient 97734 in 09/this year?", "template": "what was the name of the drug that patient 97734 was last prescribed in 09/this year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97734 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '09' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 97734}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b42ec05040c3b310c78613f8"}, {"db_id": "mimic_iii", "question": "what was the name of a drug patient 28048 was last prescribed until 51 months ago?", "template": "what was the name of the drug that patient 28048 was last prescribed until 51 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28048 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-51 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 28048}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "60b69fc9ff62c31632fe2e55"}, {"db_id": "mimic_iii", "question": "what's the name of the drug that was first prescribed to patient 3229 in 12/2105?", "template": "what was the name of the drug that patient 3229 was first prescribed in 12/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3229 ) and strftime('%y-%m',prescriptions.startdate) = '2105-12' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 3229}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7af6c94d360285130fd8efb8"}, {"db_id": "mimic_iii", "question": "last time, what drug was prescribed for patient 14671 in this month?", "template": "what was the name of the drug that patient 14671 was last prescribed this month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 14671}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c3ea2b9451d0ecd497cd4a63"}, {"db_id": "mimic_iii", "question": "what is the name of the medication that was last prescribed to patient 26507 during the last month?", "template": "what was the name of the drug that patient 26507 was last prescribed last month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26507 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 26507}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5ff063d54866556eedda093"}, {"db_id": "mimic_iii", "question": "what was the first drug being prescribed for patient 18677 in 05/2102?", "template": "what was the name of the drug that patient 18677 was first prescribed in 05/2102?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) and strftime('%y-%m',prescriptions.startdate) = '2102-05' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 18677}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c303c38107a92603399875da"}, {"db_id": "mimic_iii", "question": "what is the name of the first medication prescribed to patient 12402 in 05/2105?", "template": "what was the name of the drug that patient 12402 was first prescribed in 05/2105?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12402 ) and strftime('%y-%m',prescriptions.startdate) = '2105-05' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 12402}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9858f24f5d02b8bb621d4940"}, {"db_id": "mimic_iii", "question": "what was the name of the drugs that patient 5887 was prescribed last the last month.", "template": "what was the name of the drug that patient 5887 was last prescribed last month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5887 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 5887}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0d55ac2787569d7bf8750a6"}, {"db_id": "mimic_iii", "question": "what was the name of the medication that was prescribed during this month for patient 55360 last?", "template": "what was the name of the drug that patient 55360 was last prescribed this month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 55360}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81202c1e960b4e68e02e1c10"}, {"db_id": "mimic_iii", "question": "what was the name of the drugs that patient 99647 was first prescribed on their current hospital visit?", "template": "what was the name of the drug that patient 99647 was first prescribed on the current hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 and admissions.dischtime is null ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 99647}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bab97bc81ca3ca206c19882a"}, {"db_id": "mimic_iii", "question": "what was the name of a drug patient 12726 was last prescribed in this month?", "template": "what was the name of the drug that patient 12726 was last prescribed this month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 12726}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-this]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1fff48b1a0e79b16c89b234d"}, {"db_id": "mimic_iii", "question": "tell me the medication that patient 60014 has been prescribed for the last time until 40 months ago.", "template": "what was the name of the drug that patient 60014 was last prescribed until 40 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60014 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-40 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 60014}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-until]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "11357158cb5a80a1d96a9045"}, {"db_id": "mimic_iii", "question": "what was the name of a drug patient 65124 was last prescribed on the last hospital encounter?", "template": "what was the name of the drug that patient 65124 was last prescribed on the last hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65124 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 65124}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b614953d9570ec118763b79"}, {"db_id": "mimic_iii", "question": "what was the name of the medication which was prescribed to patient 14990 the last time since 180 months ago?", "template": "what was the name of the drug that patient 14990 was last prescribed since 180 month ago?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14990 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-180 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 14990}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-since]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16ba11a61a053f2eadfe08e4"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that was prescribed to patient 8116 in this hospital encounter for the last time?", "template": "what was the name of the drug that patient 8116 was last prescribed on the current hospital visit?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 8116}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "68c24da5e78113f2b1952c0e"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescription that patient 45601 was first prescribed in 05/last year?", "template": "what was the name of the drug that patient 45601 was first prescribed in 05/last year?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 45601 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '05' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 45601}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4083a9b662472e207a656f1a"}, {"db_id": "mimic_iii", "question": "last time, what drug was prescribed for patient 14054 during the previous month?", "template": "what was the name of the drug that patient 14054 was last prescribed last month?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 14054}, "q_tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['other', 'physician', 'infection_control', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "219c223368217973b597db30"}, {"db_id": "mimic_iii", "question": "what is the name of the drug prescribed to patient 66015 in the same hospital encounter after having been diagnosed with hypertension nos during the last month?", "template": "what was the name of the drug that patient 66015 was prescribed within the same hospital visit after having been diagnosed with hypertension nos last month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hypertension nos' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "hypertension nos", "patient_id": 66015}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "77af04a1ea0a2d33fa4a5138"}, {"db_id": "mimic_iii", "question": "what was the name of the medication that patient 89565 was prescribed for within 2 days after being diagnosed with pericardial disease nos in 05/2102?", "template": "what was the name of the drug that patient 89565 was prescribed within 2 day after having been diagnosed with pericardial disease nos in 05/2102?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 89565 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pericardial disease nos' ) and strftime('%y-%m',diagnoses_icd.charttime) = '2102-05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 89565 and strftime('%y-%m',prescriptions.startdate) = '2102-05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "pericardial disease nos", "patient_id": 89565}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce8d3c763b2e1ea97486ef65"}, {"db_id": "mimic_iii", "question": "what is the medication that was prescribed to patient 14035 within 2 days after diagnosis of late eff motor vehic acc during the last hospital encounter?", "template": "what was the name of the drug that patient 14035 was prescribed within 2 day after having been diagnosed with late eff motor vehic acc on the last hospital visit?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 14035 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'late eff motor vehic acc' ) and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 14035 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 14035, "diagnosis_name": "late eff motor vehic acc"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7842891fa77a491b95f9d033"}, {"db_id": "mimic_iii", "question": "what is the name of drug that patient 7112 was prescribed during the same hospital visit after being diagnosed with ocl crtd art wo infrct this month?", "template": "what was the name of the drug that patient 7112 was prescribed within the same hospital visit after having been diagnosed with ocl crtd art wo infrct this month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 7112 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ocl crtd art wo infrct' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 7112 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 7112, "diagnosis_name": "ocl crtd art wo infrct"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef7013bd0ca2d84db1cc8051"}, {"db_id": "mimic_iii", "question": "what is the name of a drug that patient 57713 was prescribed for within the same hospital visit after being diagnosed with chronic sinusitis nos in 10/2103?", "template": "what was the name of the drug that patient 57713 was prescribed within the same hospital visit after having been diagnosed with chronic sinusitis nos in 10/2103?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 57713 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chronic sinusitis nos' ) and strftime('%y-%m',diagnoses_icd.charttime) = '2103-10' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 57713 and strftime('%y-%m',prescriptions.startdate) = '2103-10' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 57713, "diagnosis_name": "chronic sinusitis nos"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25fe97890be4fc0a80856ca4"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that patient 70950 was prescribed within 2 days after being diagnosed with pressure ulcer, low back on the last hospital visit?", "template": "what was the name of the drug that patient 70950 was prescribed within 2 day after having been diagnosed with pressure ulcer, low back on the last hospital visit?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 70950 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pressure ulcer, low back' ) and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 70950 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "pressure ulcer, low back", "patient_id": 70950}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7df62e23127aa6591165e17c"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed to patient 99135 within 2 days after having been in 01/last year diagnosed with orthostatic hypotension?", "template": "what was the name of the drug that patient 99135 was prescribed within 2 day after having been diagnosed with orthostatic hypotension in 01/last year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 99135 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'orthostatic hypotension' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',diagnoses_icd.charttime) = '01' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 99135 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '01' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 99135, "diagnosis_name": "orthostatic hypotension"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b68261c6d975b5c86aa51173"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that patient 28910 was prescribed with within the same hospital visit after being diagnosed with rheumatic heart dis nos?", "template": "what was the name of the drug that patient 28910 was prescribed within the same hospital visit after having been diagnosed with rheumatic heart dis nos?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 28910 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'rheumatic heart dis nos' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 28910 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "rheumatic heart dis nos", "patient_id": 28910}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f9d43826a19969b75d4f67c"}, {"db_id": "mimic_iii", "question": "what is the name of the drug prescription that patient 64519 received within the same hospital visit after being diagnosed with preterm nec 2000-2499g?", "template": "what was the name of the drug that patient 64519 was prescribed within the same hospital visit after having been diagnosed with preterm nec 2000-2499g?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 64519 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'preterm nec 2000-2499g' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 64519 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 64519, "diagnosis_name": "preterm nec 2000-2499g"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c10b137c71f764ccf52e236"}, {"db_id": "mimic_iii", "question": "tell me the name of the medication that patient 58649 was prescribed during the same hospital encounter after having been diagnosed with delusional disorder?", "template": "what was the name of the drug that patient 58649 was prescribed within the same hospital visit after having been diagnosed with delusional disorder?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 58649 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'delusional disorder' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 58649 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "delusional disorder", "patient_id": 58649}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1652992f6806a3719f524a19"}, {"db_id": "mimic_iii", "question": "tell me the name of the medicine that patient 79348 was prescribed within 2 days after having been diagnosed with chronic skin ulcer nec?", "template": "what was the name of the drug that patient 79348 was prescribed within 2 day after having been diagnosed with chronic skin ulcer nec?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 79348 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chronic skin ulcer nec' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 79348 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 79348, "diagnosis_name": "chronic skin ulcer nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "85f84432c1286acb774bf393"}, {"db_id": "mimic_iii", "question": "what is the name of the drug prescribed to patient 9038 within 2 days after they had been diagnosed with adv eff antprotazoal nec until 03/2105?", "template": "what was the name of the drug that patient 9038 was prescribed within 2 day after having been diagnosed with adv eff antprotazoal nec until 03/2105?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 9038 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'adv eff antprotazoal nec' ) and strftime('%y-%m',diagnoses_icd.charttime) <= '2105-03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 9038 and strftime('%y-%m',prescriptions.startdate) <= '2105-03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 9038, "diagnosis_name": "adv eff antprotazoal nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16febc7b1e7363a3a637d3e1"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that patient 70267 was prescribed in the same hospital encounter after being diagnosed with amputat leg, bilat-compl?", "template": "what was the name of the drug that patient 70267 was prescribed within the same hospital visit after having been diagnosed with amputat leg, bilat-compl?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 70267 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'amputat leg, bilat-compl' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 70267 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "amputat leg, bilat-compl", "patient_id": 70267}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6324e71c1e792bf78ec33611"}, {"db_id": "mimic_iii", "question": "what was the name of the drug being prescribed to patient 52647 during the same hospital encounter after having been diagnosed with hematoma complic proc since 08/2102?", "template": "what was the name of the drug that patient 52647 was prescribed within the same hospital visit after having been diagnosed with hematoma complic proc since 08/2102?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 52647 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hematoma complic proc' ) and strftime('%y-%m',diagnoses_icd.charttime) >= '2102-08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 52647 and strftime('%y-%m',prescriptions.startdate) >= '2102-08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "hematoma complic proc", "patient_id": 52647}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a11535809834da377f0fac87"}, {"db_id": "mimic_iii", "question": "what medication was prescribed for patient 90917 in the same hospital visit after being diagnosed with pressure ulcer, low back since 64 months ago?", "template": "what was the name of the drug that patient 90917 was prescribed within the same hospital visit after having been diagnosed with pressure ulcer, low back since 64 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 90917 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pressure ulcer, low back' ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-64 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 90917 and datetime(prescriptions.startdate) >= datetime(current_time,'-64 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 90917, "diagnosis_name": "pressure ulcer, low back"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb7d203ace5e67bdf72f1259"}, {"db_id": "mimic_iii", "question": "what is the name of the drug prescribed to patient 8098 within 2 days after diagnosis of hemododialysis hypotensn in 01/last year?", "template": "what was the name of the drug that patient 8098 was prescribed within 2 day after having been diagnosed with hemododialysis hypotensn in 01/last year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 8098 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hemododialysis hypotensn' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',diagnoses_icd.charttime) = '01' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 8098 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '01' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 8098, "diagnosis_name": "hemododialysis hypotensn"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a362c8b5e87b965fe0ffdeb5"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that patient 10431 was prescribed within 2 days after getting diagnosed with chro kidney dis stage ii until 12/2103?", "template": "what was the name of the drug that patient 10431 was prescribed within 2 day after having been diagnosed with chro kidney dis stage ii until 12/2103?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 10431 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chro kidney dis stage ii' ) and strftime('%y-%m',diagnoses_icd.charttime) <= '2103-12' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 10431 and strftime('%y-%m',prescriptions.startdate) <= '2103-12' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "chro kidney dis stage ii", "patient_id": 10431}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3aab42c3b8868eb17e6921d4"}, {"db_id": "mimic_iii", "question": "what is the name of the drug patient 86792 was prescribed for in the same hospital visit after being diagnosed with end stage renal disease until 23 months ago.", "template": "what was the name of the drug that patient 86792 was prescribed within the same hospital visit after having been diagnosed with end stage renal disease until 23 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 86792 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'end stage renal disease' ) and datetime(diagnoses_icd.charttime) <= datetime(current_time,'-23 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 86792 and datetime(prescriptions.startdate) <= datetime(current_time,'-23 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 86792, "diagnosis_name": "end stage renal disease"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "61e2366dd052cccd5845aec0"}, {"db_id": "mimic_iii", "question": "what was the name of the drug which patient 6170 was prescribed within the same hospital visit after being diagnosed with single lb in-hosp w/o cs in 12/this year?", "template": "what was the name of the drug that patient 6170 was prescribed within the same hospital visit after having been diagnosed with single lb in-hosp w/o cs in 12/this year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 6170 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'single lb in-hosp w/o cs' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',diagnoses_icd.charttime) = '12' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 6170 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "single lb in-hosp w/o cs", "patient_id": 6170}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20cedce58ba6482b49ebaaf1"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that was prescribed to patient 55843 in the same hospital visit, after having been diagnosed with ac posthemorrhag anemia until 01/2103?", "template": "what was the name of the drug that patient 55843 was prescribed within the same hospital visit after having been diagnosed with ac posthemorrhag anemia until 01/2103?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 55843 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ac posthemorrhag anemia' ) and strftime('%y-%m',diagnoses_icd.charttime) <= '2103-01' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 55843 and strftime('%y-%m',prescriptions.startdate) <= '2103-01' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 55843, "diagnosis_name": "ac posthemorrhag anemia"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69cdb97a76c33562158378eb"}, {"db_id": "mimic_iii", "question": "what's the name of the drug patient 52898 was prescribed with during the same hospital visit after having been diagnosed with defibrination syndrome in this month?", "template": "what was the name of the drug that patient 52898 was prescribed within the same hospital visit after having been diagnosed with defibrination syndrome this month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 52898 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'defibrination syndrome' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 52898 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 52898, "diagnosis_name": "defibrination syndrome"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36869d49f84f3a1ed3fbe679"}, {"db_id": "mimic_iii", "question": "what was the name of the medication patient 7698 was prescribed in the same hospital visit after having been diagnosed with asthma nos since 10/2105?", "template": "what was the name of the drug that patient 7698 was prescribed within the same hospital visit after having been diagnosed with asthma nos since 10/2105?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 7698 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'asthma nos' ) and strftime('%y-%m',diagnoses_icd.charttime) >= '2105-10' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 7698 and strftime('%y-%m',prescriptions.startdate) >= '2105-10' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 7698, "diagnosis_name": "asthma nos"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "439089a456302c394e73bb99"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 57050 was prescribed for within 2 days after being diagnosed since 04/2104 with embl suprfcl ves low ext?", "template": "what was the name of the drug that patient 57050 was prescribed within 2 day after having been diagnosed with embl suprfcl ves low ext since 04/2104?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 57050 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'embl suprfcl ves low ext' ) and strftime('%y-%m',diagnoses_icd.charttime) >= '2104-04' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 57050 and strftime('%y-%m',prescriptions.startdate) >= '2104-04' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "embl suprfcl ves low ext", "patient_id": 57050}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1bd4dc22a26cd2b1e4a9e3c3"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 27599 was prescribed for in the same hospital encounter after having been diagnosed since 178 months ago with dis phosphorus metabol?", "template": "what was the name of the drug that patient 27599 was prescribed within the same hospital visit after having been diagnosed with dis phosphorus metabol since 178 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 27599 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dis phosphorus metabol' ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-178 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 27599 and datetime(prescriptions.startdate) >= datetime(current_time,'-178 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 27599, "diagnosis_name": "dis phosphorus metabol"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ded89e449d6f1e444254508"}, {"db_id": "mimic_iii", "question": "what medication was prescribed for patient 69761 in the same hospital visit after the diagnosis of fire accident nos since 171 months ago?", "template": "what was the name of the drug that patient 69761 was prescribed within the same hospital visit after having been diagnosed with fire accident nos since 171 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'fire accident nos' ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-171 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and datetime(prescriptions.startdate) >= datetime(current_time,'-171 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "fire accident nos", "patient_id": 69761}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e144aaea03bd56bdfb5e625"}, {"db_id": "mimic_iii", "question": "what is the name of the medication that patient 10425 was prescribed during the same hospital visit after being diagnosed with peritonitis (acute) gen since 75 months ago?", "template": "what was the name of the drug that patient 10425 was prescribed within the same hospital visit after having been diagnosed with peritonitis (acute) gen since 75 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 10425 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'peritonitis (acute) gen' ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-75 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 10425 and datetime(prescriptions.startdate) >= datetime(current_time,'-75 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "peritonitis (acute) gen", "patient_id": 10425}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54e05eb4a02550a06e0625fc"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed to patient 65582 after having been diagnosed with accid in resident instit in 12/2105 during the same hospital visit?", "template": "what was the name of the drug that patient 65582 was prescribed within the same hospital visit after having been diagnosed with accid in resident instit in 12/2105?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'accid in resident instit' ) and strftime('%y-%m',diagnoses_icd.charttime) = '2105-12' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and strftime('%y-%m',prescriptions.startdate) = '2105-12' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "accid in resident instit", "patient_id": 65582}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64cf1f16e2c9e9530c1c649d"}, {"db_id": "mimic_iii", "question": "what is the drug that was prescribed to patient 28443 within 2 days after the diagnosis of aortic atherosclerosis during this month?", "template": "what was the name of the drug that patient 28443 was prescribed within 2 day after having been diagnosed with aortic atherosclerosis this month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 28443 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'aortic atherosclerosis' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 28443 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "aortic atherosclerosis", "patient_id": 28443}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "86a96670d2ed1a65b91685e2"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 6940 in the same hospital encounter after they had been diagnosed with acute kidney failure nos in 11/last year?", "template": "what was the name of the drug that patient 6940 was prescribed within the same hospital visit after having been diagnosed with acute kidney failure nos in 11/last year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 6940 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'acute kidney failure nos' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',diagnoses_icd.charttime) = '11' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 6940 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 6940, "diagnosis_name": "acute kidney failure nos"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cad0d996c9e8d58d503fe59b"}, {"db_id": "mimic_iii", "question": "what is the name of drug that patient 63676 was prescribed for within 2 days after having been diagnosed with gstr/ddnts nos w hmrhg in 03/2105?", "template": "what was the name of the drug that patient 63676 was prescribed within 2 day after having been diagnosed with gstr/ddnts nos w hmrhg in 03/2105?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 63676 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'gstr/ddnts nos w hmrhg' ) and strftime('%y-%m',diagnoses_icd.charttime) = '2105-03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 63676 and strftime('%y-%m',prescriptions.startdate) = '2105-03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 63676, "diagnosis_name": "gstr/ddnts nos w hmrhg"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b695619ff28fe5d4ea56c3b"}, {"db_id": "mimic_iii", "question": "tell me the name of the medication patient 27467 was prescribed within 2 days after being diagnosed with iron defic anemia nos in 08/2105?", "template": "what was the name of the drug that patient 27467 was prescribed within 2 day after having been diagnosed with iron defic anemia nos in 08/2105?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 27467 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'iron defic anemia nos' ) and strftime('%y-%m',diagnoses_icd.charttime) = '2105-08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 27467 and strftime('%y-%m',prescriptions.startdate) = '2105-08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 27467, "diagnosis_name": "iron defic anemia nos"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbfecb3594fa76b437169fc2"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 808 was prescribed within 2 days, after being diagnosed this month with unsp hemiplga unspf side?", "template": "what was the name of the drug that patient 808 was prescribed within 2 day after having been diagnosed with unsp hemiplga unspf side this month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 808 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'unsp hemiplga unspf side' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 808 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "unsp hemiplga unspf side", "patient_id": 808}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f921be9bbc6f570e7f5e22e"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that patient 64538 was prescribed with within 2 days after having been diagnosed with chest pain nos in 06/2100?", "template": "what was the name of the drug that patient 64538 was prescribed within 2 day after having been diagnosed with chest pain nos in 06/2100?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 64538 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chest pain nos' ) and strftime('%y-%m',diagnoses_icd.charttime) = '2100-06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 64538 and strftime('%y-%m',prescriptions.startdate) = '2100-06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 64538, "diagnosis_name": "chest pain nos"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ecdc966ac348ce30af036fac"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that patient 26262 was prescribed for within 2 days after having been diagnosed with hyperlipidemia nec/nos since 97 months ago?", "template": "what was the name of the drug that patient 26262 was prescribed within 2 day after having been diagnosed with hyperlipidemia nec/nos since 97 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 26262 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hyperlipidemia nec/nos' ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-97 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 26262 and datetime(prescriptions.startdate) >= datetime(current_time,'-97 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 26262, "diagnosis_name": "hyperlipidemia nec/nos"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fae631644633f8cb6f990078"}, {"db_id": "mimic_iii", "question": "what is a name for a drug that patient 77676 was prescribed within 2 days after having been diagnosed with diff connect tis dis nos until 11/2101?", "template": "what was the name of the drug that patient 77676 was prescribed within 2 day after having been diagnosed with diff connect tis dis nos until 11/2101?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 77676 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'diff connect tis dis nos' ) and strftime('%y-%m',diagnoses_icd.charttime) <= '2101-11' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 77676 and strftime('%y-%m',prescriptions.startdate) <= '2101-11' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "diff connect tis dis nos", "patient_id": 77676}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ba45bf0c129af76cb11cde2b"}, {"db_id": "mimic_iii", "question": "what was the name of the drug patient 32755 got prescription for within 2 days after being diagnosed with bmi 33.0-33.9,adult in the last hospital visit?", "template": "what was the name of the drug that patient 32755 was prescribed within 2 day after having been diagnosed with bmi 33.0-33.9,adult on the last hospital visit?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 32755 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'bmi 33.0-33.9,adult' ) and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 32755 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "bmi 33.0-33.9,adult", "patient_id": 32755}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4bcde1ecc455f34ff05fd74d"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that was prescribed to patient 12938 within 2 days after having been diagnosed with a hx of gi malignancy nec in 03/last year?", "template": "what was the name of the drug that patient 12938 was prescribed within 2 day after having been diagnosed with hx of gi malignancy nec in 03/last year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 12938 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hx of gi malignancy nec' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',diagnoses_icd.charttime) = '03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 12938 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "hx of gi malignancy nec", "patient_id": 12938}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55e1dd338a678ab92a9a3a0c"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that patient 10431 was prescribed with during the same hospital visit after being diagnosed until 05/2101 with neutropenia nos?", "template": "what was the name of the drug that patient 10431 was prescribed within the same hospital visit after having been diagnosed with neutropenia nos until 05/2101?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 10431 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'neutropenia nos' ) and strftime('%y-%m',diagnoses_icd.charttime) <= '2101-05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 10431 and strftime('%y-%m',prescriptions.startdate) <= '2101-05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "neutropenia nos", "patient_id": 10431}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e095a218b1b4bb13a5577f3"}, {"db_id": "mimic_iii", "question": "what is the drug that was prescribed for patient 18757 within 2 days after being diagnosed with resp obstr-food inhal until 39 months ago?", "template": "what was the name of the drug that patient 18757 was prescribed within 2 day after having been diagnosed with resp obstr-food inhal until 39 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 18757 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'resp obstr-food inhal' ) and datetime(diagnoses_icd.charttime) <= datetime(current_time,'-39 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 18757 and datetime(prescriptions.startdate) <= datetime(current_time,'-39 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 18757, "diagnosis_name": "resp obstr-food inhal"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b89434875574fe9a13e89c5"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 5142 was prescribed within 2 days after it had been diagnosed the last month with esophageal reflux?", "template": "what was the name of the drug that patient 5142 was prescribed within 2 day after having been diagnosed with esophageal reflux last month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 5142 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'esophageal reflux' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 5142 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 5142, "diagnosis_name": "esophageal reflux"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38f9e0ff3c6f9df03c9fc1a4"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 79348 was prescribed after the chf nos diagnosis in 08/this year, within 2 days?", "template": "what was the name of the drug that patient 79348 was prescribed within 2 day after having been diagnosed with chf nos in 08/this year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 79348 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chf nos' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',diagnoses_icd.charttime) = '08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 79348 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "chf nos", "patient_id": 79348}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "366edd49c5b199f505167c11"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that was prescribed within 2 days after patient 87232 had been diagnosed with chr syst/diastl hrt fail during this month?", "template": "what was the name of the drug that patient 87232 was prescribed within 2 day after having been diagnosed with chr syst/diastl hrt fail this month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 87232 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chr syst/diastl hrt fail' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 87232 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 87232, "diagnosis_name": "chr syst/diastl hrt fail"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8ae6e8656aef6c7d39b8e25"}, {"db_id": "mimic_iii", "question": "what is the name of a drug that patient 73693 was prescribed with during the same hospital encounter after having been diagnosed with long-term use anticoagul the previous month?", "template": "what was the name of the drug that patient 73693 was prescribed within the same hospital visit after having been diagnosed with long-term use anticoagul last month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 73693 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'long-term use anticoagul' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 73693 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "long-term use anticoagul", "patient_id": 73693}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dca827480e24ef6a1d318867"}, {"db_id": "mimic_iii", "question": "what is the drug patient 64136 was prescribed for within 2 days after being diagnosed with chr pulmon heart dis nec when they visited the hospital last time?", "template": "what was the name of the drug that patient 64136 was prescribed within 2 day after having been diagnosed with chr pulmon heart dis nec on the last hospital visit?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 64136 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chr pulmon heart dis nec' ) and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 64136 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "chr pulmon heart dis nec", "patient_id": 64136}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ac82984a3c502142c48eeae"}, {"db_id": "mimic_iii", "question": "what was the name of the medication prescribed to patient 31088 within 2 days after being diagnosed with mch cmp autm mplnt dfbrl?", "template": "what was the name of the drug that patient 31088 was prescribed within 2 day after having been diagnosed with mch cmp autm mplnt dfbrl?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 31088 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mch cmp autm mplnt dfbrl' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 31088 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "mch cmp autm mplnt dfbrl", "patient_id": 31088}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "98bba9bf60965702b72548b8"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that was prescribed to patient 57050 within 2 days after diagnosis with regional enteritis nos in 12/this year?", "template": "what was the name of the drug that patient 57050 was prescribed within 2 day after having been diagnosed with regional enteritis nos in 12/this year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 57050 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'regional enteritis nos' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',diagnoses_icd.charttime) = '12' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 57050 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"diagnosis_name": "regional enteritis nos", "patient_id": 57050}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd68b5b7e224b461b59e8cfa"}, {"db_id": "mimic_iii", "question": "what is a name for a drug that patient 25523 was prescribed during the same hospital encounter after having been diagnosed with family hx-breast malig in 06/last year?", "template": "what was the name of the drug that patient 25523 was prescribed within the same hospital visit after having been diagnosed with family hx-breast malig in 06/last year?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25523 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'family hx-breast malig' ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',diagnoses_icd.charttime) = '06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25523 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"diagnosis_name": "family hx-breast malig", "patient_id": 25523}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having been diagnosed with {diagnosis_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54b61d88cdb50450616f5e8a"}, {"db_id": "mimic_iii", "question": "what is the name of drug that patient 3369 was prescribed within 2 days after being diagnosed with alcohol cirrhosis liver until 58 months ago?", "template": "what was the name of the drug that patient 3369 was prescribed within 2 day after having been diagnosed with alcohol cirrhosis liver until 58 month ago?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 3369 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'alcohol cirrhosis liver' ) and datetime(diagnoses_icd.charttime) <= datetime(current_time,'-58 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 3369 and datetime(prescriptions.startdate) <= datetime(current_time,'-58 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 3369, "diagnosis_name": "alcohol cirrhosis liver"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71f96a21159f6de576c96d0a"}, {"db_id": "mimic_iii", "question": "what is the drug that was prescribed for patient 15209 within 2 days after being diagnosed with rec depr psych-psychotic during this month?", "template": "what was the name of the drug that patient 15209 was prescribed within 2 day after having been diagnosed with rec depr psych-psychotic this month?", "query": "select t2.drug from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 15209 and diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'rec depr psych-psychotic' ) and datetime(diagnoses_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 15209 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 15209, "diagnosis_name": "rec depr psych-psychotic"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having been diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having been diagnosed with {diagnosis_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c59ea788c81fdf0413cd5f2d"}, {"db_id": "mimic_iii", "question": "what exactly was the name of the drug that patient 54386 was prescribed within 2 days after receiving a entral infus nutrit sub procedure on the last hospital visit?", "template": "what was the name of the drug that patient 54386 was prescribed within 2 day after having received a entral infus nutrit sub procedure on the last hospital visit?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 54386 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'entral infus nutrit sub' ) and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 54386 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 54386, "procedure_name": "entral infus nutrit sub"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "27484109594201aec0e8ddca"}, {"db_id": "mimic_iii", "question": "what was the medication that patient 61591 was prescribed for in the same hospital encounter after receiving aortocor bypas-1 cor art in 05/2105?", "template": "what was the name of the drug that patient 61591 was prescribed within the same hospital visit after having received a aortocor bypas-1 cor art procedure in 05/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'aortocor bypas-1 cor art' ) and strftime('%y-%m',procedures_icd.charttime) = '2105-05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and strftime('%y-%m',prescriptions.startdate) = '2105-05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "aortocor bypas-1 cor art", "patient_id": 61591}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59e66580d28bf6e5905d88e8"}, {"db_id": "mimic_iii", "question": "what is the drug that patient 45321 was prescribed for in the same hospital encounter after getting packed cell transfusion until 06/2103?", "template": "what was the name of the drug that patient 45321 was prescribed within the same hospital visit after having received a packed cell transfusion procedure until 06/2103?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 45321 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'packed cell transfusion' ) and strftime('%y-%m',procedures_icd.charttime) <= '2103-06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 45321 and strftime('%y-%m',prescriptions.startdate) <= '2103-06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 45321, "procedure_name": "packed cell transfusion"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "252d759ba1585a2f85c326ae"}, {"db_id": "mimic_iii", "question": "what is the drug that was prescribed to patient 71091 within 2 days after receiving fasciotomy in 05/this year?", "template": "what was the name of the drug that patient 71091 was prescribed within 2 day after having received a fasciotomy procedure in 05/this year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 71091 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'fasciotomy' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',procedures_icd.charttime) = '05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 71091 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 71091, "procedure_name": "fasciotomy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c673b05563599fc10c786116"}, {"db_id": "mimic_iii", "question": "what drug was prescribed to patient 85700 during the same hospital encounter after having undergone a cont inv mec ven <96 hrs in 10/this year?", "template": "what was the name of the drug that patient 85700 was prescribed within the same hospital visit after having received a cont inv mec ven <96 hrs procedure in 10/this year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 85700 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven <96 hrs' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',procedures_icd.charttime) = '10' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 85700 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '10' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 85700, "procedure_name": "cont inv mec ven <96 hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed7944b69a234637fe5fc4fc"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 60180 within 2 days after having had a lower limb endarterect procedure in 09/last year?", "template": "what was the name of the drug that patient 60180 was prescribed within 2 day after having received a lower limb endarterect procedure in 09/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lower limb endarterect' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '09' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '09' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "lower limb endarterect", "patient_id": 60180}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9a5d163a98b6034eb3c76b3"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug patient 66015 was prescribed within 2 days after having had a closed bronchial biopsy procedure a month before?", "template": "what was the name of the drug that patient 66015 was prescribed within 2 day after having received a closed bronchial biopsy procedure last month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'closed bronchial biopsy' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 66015, "procedure_name": "closed bronchial biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "032510b6f54180e6c154e19d"}, {"db_id": "mimic_iii", "question": "what is the medication that patient 25696 was prescribed with during the same hospital encounter after receiving the cont inv mec ven <96 hrs in 03/last year?", "template": "what was the name of the drug that patient 25696 was prescribed within the same hospital visit after having received a cont inv mec ven <96 hrs procedure in 03/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven <96 hrs' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 25696, "procedure_name": "cont inv mec ven <96 hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d59cb5188c7d3104dcd8f204"}, {"db_id": "mimic_iii", "question": "what is the drug which was prescribed to patient 58649 within 2 days after undergoing lt heart angiocardiogram in 08/last year?", "template": "what was the name of the drug that patient 58649 was prescribed within 2 day after having received a lt heart angiocardiogram procedure in 08/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 58649 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lt heart angiocardiogram' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 58649 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "lt heart angiocardiogram", "patient_id": 58649}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f0a5a5a25a7aee652c7de9b0"}, {"db_id": "mimic_iii", "question": "what drug was prescribed to patient 96006 within 2 days after having received a atria septa def rep nec procedure since 181 months ago?", "template": "what was the name of the drug that patient 96006 was prescribed within 2 day after having received a atria septa def rep nec procedure since 181 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 96006 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'atria septa def rep nec' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-181 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 96006 and datetime(prescriptions.startdate) >= datetime(current_time,'-181 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 96006, "procedure_name": "atria septa def rep nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e916bc65f0e78b20abb670a"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 54386 was prescribed within 2 days after the received a entral infus nutrit sub procedure during their last hospital encounter?", "template": "what was the name of the drug that patient 54386 was prescribed within 2 day after having received a entral infus nutrit sub procedure on the last hospital visit?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 54386 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'entral infus nutrit sub' ) and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 54386 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 54386, "procedure_name": "entral infus nutrit sub"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5de97409a0542218d0d4ebec"}, {"db_id": "mimic_iii", "question": "what was the name of the drug patient 66015 was prescribed with in the same hospital encounter after having received a closed bronchial biopsy procedure the previous month?", "template": "what was the name of the drug that patient 66015 was prescribed within the same hospital visit after having received a closed bronchial biopsy procedure last month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'closed bronchial biopsy' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 66015, "procedure_name": "closed bronchial biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:rel-month-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c899d7cc5410a555a30de770"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that was prescribed within the same hospital visit to patient 61591 after having received a cont inv mec ven 96+ hrs procedure since 05/2104?", "template": "what was the name of the drug that patient 61591 was prescribed within the same hospital visit after having received a cont inv mec ven 96+ hrs procedure since 05/2104?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven 96+ hrs' ) and strftime('%y-%m',procedures_icd.charttime) >= '2104-05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and strftime('%y-%m',prescriptions.startdate) >= '2104-05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 61591, "procedure_name": "cont inv mec ven 96+ hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b5590b582136c3d3af6ad1c9"}, {"db_id": "mimic_iii", "question": "what drug was prescribed to patient 65582 within 2 days after having undergone the pancreat sphincteroplas since 02/2105?", "template": "what was the name of the drug that patient 65582 was prescribed within 2 day after having received a pancreat sphincteroplas procedure since 02/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'pancreat sphincteroplas' ) and strftime('%y-%m',procedures_icd.charttime) >= '2105-02' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and strftime('%y-%m',prescriptions.startdate) >= '2105-02' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "pancreat sphincteroplas", "patient_id": 65582}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a15258b9278790b31d2ad05e"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that was prescribed to patient 52647 within the same hospital visit after receiving the packed cell transfusion procedure?", "template": "what was the name of the drug that patient 52647 was prescribed within the same hospital visit after having received a packed cell transfusion procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 52647 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'packed cell transfusion' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 52647 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 52647, "procedure_name": "packed cell transfusion"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3fd388d03faf7a20fa286a1f"}, {"db_id": "mimic_iii", "question": "what is the drug that was prescribed to patient 30228 during the same hospital visit after undergoing a egd with closed biopsy in 06/2105?", "template": "what was the name of the drug that patient 30228 was prescribed within the same hospital visit after having received a egd with closed biopsy procedure in 06/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'egd with closed biopsy' ) and strftime('%y-%m',procedures_icd.charttime) = '2105-06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and strftime('%y-%m',prescriptions.startdate) = '2105-06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 30228, "procedure_name": "egd with closed biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2082a1c908fab342ef2bf9a"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug which patient 25814 was prescribed in the same hospital encounter after having had a opn/oth rep aortic valve procedure since 10/2104?", "template": "what was the name of the drug that patient 25814 was prescribed within the same hospital visit after having received a opn/oth rep aortic valve procedure since 10/2104?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25814 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'opn/oth rep aortic valve' ) and strftime('%y-%m',procedures_icd.charttime) >= '2104-10' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25814 and strftime('%y-%m',prescriptions.startdate) >= '2104-10' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 25814, "procedure_name": "opn/oth rep aortic valve"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09b95b8668615e12ed496422"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that patient 30228 was prescribed in the same hospital visit after receiving a egd with closed biopsy since 22 months ago?", "template": "what was the name of the drug that patient 30228 was prescribed within the same hospital visit after having received a egd with closed biopsy procedure since 22 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'egd with closed biopsy' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-22 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and datetime(prescriptions.startdate) >= datetime(current_time,'-22 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 30228, "procedure_name": "egd with closed biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f0b7edca2a5203b0cceaa43e"}, {"db_id": "mimic_iii", "question": "what is the name of drug patient 88659 was prescribed in the same hospital encounter after receiving a endosc destruc bronc les procedure?", "template": "what was the name of the drug that patient 88659 was prescribed within the same hospital visit after having received a endosc destruc bronc les procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 88659 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'endosc destruc bronc les' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 88659 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "endosc destruc bronc les", "patient_id": 88659}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d367a1ad2f262040f8a44256"}, {"db_id": "mimic_iii", "question": "what drug was prescribed to patient 30228 in the same hospital visit after the procedure of egd with closed biopsy in 06/2105?", "template": "what was the name of the drug that patient 30228 was prescribed within the same hospital visit after having received a egd with closed biopsy procedure in 06/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'egd with closed biopsy' ) and strftime('%y-%m',procedures_icd.charttime) = '2105-06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and strftime('%y-%m',prescriptions.startdate) = '2105-06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 30228, "procedure_name": "egd with closed biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "541940d5e5b7ecb0d7ab7a08"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine patient 61591 was prescribed during the same hospital encounter after having received a cont inv mec ven 96+ hrs procedure since 33 months ago?", "template": "what was the name of the drug that patient 61591 was prescribed within the same hospital visit after having received a cont inv mec ven 96+ hrs procedure since 33 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven 96+ hrs' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-33 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and datetime(prescriptions.startdate) >= datetime(current_time,'-33 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 61591, "procedure_name": "cont inv mec ven 96+ hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3df43bd4c311bb880b015598"}, {"db_id": "mimic_iii", "question": "what was the name of a drug that patient 69761 was prescribed within the same hospital visit after having received the nephrotomy procedure?", "template": "what was the name of the drug that patient 69761 was prescribed within the same hospital visit after having received a nephrotomy procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'nephrotomy' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "nephrotomy", "patient_id": 69761}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53a3ac1072035e95f465bcaa"}, {"db_id": "mimic_iii", "question": "what is the prescription drug that patient 65582 was prescribed for within 2 days after receiving part sm bowel resect nec since 09/2104?", "template": "what was the name of the drug that patient 65582 was prescribed within 2 day after having received a part sm bowel resect nec procedure since 09/2104?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'part sm bowel resect nec' ) and strftime('%y-%m',procedures_icd.charttime) >= '2104-09' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and strftime('%y-%m',prescriptions.startdate) >= '2104-09' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "part sm bowel resect nec", "patient_id": 65582}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed1889dd2eaaf597fb40b383"}, {"db_id": "mimic_iii", "question": "what is the name of the medication that was prescribed to patient 25814 in the same hospital encounter after receiving a entral infus nutrit sub procedure since 08/2105?", "template": "what was the name of the drug that patient 25814 was prescribed within the same hospital visit after having received a entral infus nutrit sub procedure since 08/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25814 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'entral infus nutrit sub' ) and strftime('%y-%m',procedures_icd.charttime) >= '2105-08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25814 and strftime('%y-%m',prescriptions.startdate) >= '2105-08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 25814, "procedure_name": "entral infus nutrit sub"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "831e8c14fa4e9eb1352153f6"}, {"db_id": "mimic_iii", "question": "what is the name of the drug prescribed to patient 99647 in the same hospital encounter, after receiving a fiber-optic bronchoscopy procedure in 12/this year?", "template": "what was the name of the drug that patient 99647 was prescribed within the same hospital visit after having received a fiber-optic bronchoscopy procedure in 12/this year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 99647 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'fiber-optic bronchoscopy' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',procedures_icd.charttime) = '12' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 99647 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "fiber-optic bronchoscopy", "patient_id": 99647}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "06111ad4d22eef424142f2c7"}, {"db_id": "mimic_iii", "question": "what was the name of the drug patient 20801 was prescribed within 2 days after receiving a procedure-one vessel in 03/2104?", "template": "what was the name of the drug that patient 20801 was prescribed within 2 day after having received a procedure-one vessel procedure in 03/2104?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 20801 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'procedure-one vessel' ) and strftime('%y-%m',procedures_icd.charttime) = '2104-03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 20801 and strftime('%y-%m',prescriptions.startdate) = '2104-03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 20801, "procedure_name": "procedure-one vessel"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b60aeaf75403c500360e2eea"}, {"db_id": "mimic_iii", "question": "what is the name of the drug which patient 1798 was prescribed within 2 days after receiving a suture of artery procedure until 2 months ago?", "template": "what was the name of the drug that patient 1798 was prescribed within 2 day after having received a suture of artery procedure until 2 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 1798 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'suture of artery' ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-2 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 1798 and datetime(prescriptions.startdate) <= datetime(current_time,'-2 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "suture of artery", "patient_id": 1798}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64b510a4d32b429f8f8d3908"}, {"db_id": "mimic_iii", "question": "what was the drug that was prescribed to patient 30228 within 2 days after the egd with closed biopsy since 05/2104?", "template": "what was the name of the drug that patient 30228 was prescribed within 2 day after having received a egd with closed biopsy procedure since 05/2104?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'egd with closed biopsy' ) and strftime('%y-%m',procedures_icd.charttime) >= '2104-05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and strftime('%y-%m',prescriptions.startdate) >= '2104-05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 30228, "procedure_name": "egd with closed biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6de41e0c4d33c1e5c34ab54c"}, {"db_id": "mimic_iii", "question": "what is the name of the drug which was prescribed to patient 60180 within 2 days after having received a lower limb endarterect in 09/last year.", "template": "what was the name of the drug that patient 60180 was prescribed within 2 day after having received a lower limb endarterect procedure in 09/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lower limb endarterect' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '09' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '09' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "lower limb endarterect", "patient_id": 60180}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "73860967d0e8d45d9ac7bcc2"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that patient 96006 was prescribed within 2 days after having received a atria septa def rep nec procedure since 181 months ago.", "template": "what was the name of the drug that patient 96006 was prescribed within 2 day after having received a atria septa def rep nec procedure since 181 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 96006 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'atria septa def rep nec' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-181 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 96006 and datetime(prescriptions.startdate) >= datetime(current_time,'-181 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 96006, "procedure_name": "atria septa def rep nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1fb04628c2cb5c54cfc906f2"}, {"db_id": "mimic_iii", "question": "what is the drug that patient 66015 was prescribed for after the closed bronchial biopsy during the previous month within 2 days?", "template": "what was the name of the drug that patient 66015 was prescribed within 2 day after having received a closed bronchial biopsy procedure last month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'closed bronchial biopsy' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 66015, "procedure_name": "closed bronchial biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1bf6bde17381166c5784dbb0"}, {"db_id": "mimic_iii", "question": "what is the drug that patient 66015 was prescribed with within the same hospital visit after the closed bronchial biopsy a month before?", "template": "what was the name of the drug that patient 66015 was prescribed within the same hospital visit after having received a closed bronchial biopsy procedure last month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'closed bronchial biopsy' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 66015, "procedure_name": "closed bronchial biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:rel-month-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a88134087d0c03711d01e21"}, {"db_id": "mimic_iii", "question": "what was the name of the drug patient 25696 was prescribed for during the same hospital visit after having undergone a cont inv mec ven <96 hrs procedure in 03/last year?", "template": "what was the name of the drug that patient 25696 was prescribed within the same hospital visit after having received a cont inv mec ven <96 hrs procedure in 03/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven <96 hrs' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 25696, "procedure_name": "cont inv mec ven <96 hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b18c766fed97b4494b6cf7b7"}, {"db_id": "mimic_iii", "question": "what is the name of the drug prescribed to patient 30228 in the same hospital encounter after having an egd with closed biopsy procedure in 06/2105?", "template": "what was the name of the drug that patient 30228 was prescribed within the same hospital visit after having received a egd with closed biopsy procedure in 06/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'egd with closed biopsy' ) and strftime('%y-%m',procedures_icd.charttime) = '2105-06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and strftime('%y-%m',prescriptions.startdate) = '2105-06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 30228, "procedure_name": "egd with closed biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d8e75c4ebf8ffe867461ef9d"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 69761 was prescribed within 2 days after having received since 30 months ago a circumcision procedure?", "template": "what was the name of the drug that patient 69761 was prescribed within 2 day after having received a circumcision procedure since 30 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'circumcision' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-30 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and datetime(prescriptions.startdate) >= datetime(current_time,'-30 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 69761, "procedure_name": "circumcision"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4fbf8cb242f55a95182ad1b6"}, {"db_id": "mimic_iii", "question": "what is the name of the drug patient 14987 was prescribed within 2 days after having a inject/infuse nec procedure in 12/2101?", "template": "what was the name of the drug that patient 14987 was prescribed within 2 day after having received a inject/infuse nec procedure in 12/2101?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 14987 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'inject/infuse nec' ) and strftime('%y-%m',procedures_icd.charttime) = '2101-12' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 14987 and strftime('%y-%m',prescriptions.startdate) = '2101-12' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 14987, "procedure_name": "inject/infuse nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a7bff47cc8c78afd41b24c1"}, {"db_id": "mimic_iii", "question": "what is a drug that patient 61591 was prescribed for within the same hospital visit after receiving cont inv mec ven 96+ hrs in 05/this year?", "template": "what was the name of the drug that patient 61591 was prescribed within the same hospital visit after having received a cont inv mec ven 96+ hrs procedure in 05/this year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven 96+ hrs' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',procedures_icd.charttime) = '05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 61591, "procedure_name": "cont inv mec ven 96+ hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a0add544dc701a35ae2f94e"}, {"db_id": "mimic_iii", "question": "what was the name of the medicine that patient 60180 was prescribed with after having had a inj/inf platelet inhibit procedure in 09/2104 within 2 days?", "template": "what was the name of the drug that patient 60180 was prescribed within 2 day after having received a inj/inf platelet inhibit procedure in 09/2104?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'inj/inf platelet inhibit' ) and strftime('%y-%m',procedures_icd.charttime) = '2104-09' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and strftime('%y-%m',prescriptions.startdate) = '2104-09' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 60180, "procedure_name": "inj/inf platelet inhibit"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4b66a24644147aa38acd80fc"}, {"db_id": "mimic_iii", "question": "what is the drug name that was prescribed to patient 25696 within 2 days after they received a sympath nerve inject nec procedure in 03/last year?", "template": "what was the name of the drug that patient 25696 was prescribed within 2 day after having received a sympath nerve inject nec procedure in 03/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'sympath nerve inject nec' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 25696, "procedure_name": "sympath nerve inject nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48e52e1147b03b6f8abb6e30"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 66015 within 2 days after having received a reopen recent lap site procedure the last month.", "template": "what was the name of the drug that patient 66015 was prescribed within 2 day after having received a reopen recent lap site procedure last month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'reopen recent lap site' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 66015, "procedure_name": "reopen recent lap site"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7427f03f33e81fcfa3f62f46"}, {"db_id": "mimic_iii", "question": "what is the name of the drug to which patient 65582 was prescribed within 2 days after having received a part sm bowel resect nec this month?", "template": "what was the name of the drug that patient 65582 was prescribed within 2 day after having received a part sm bowel resect nec procedure this month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'part sm bowel resect nec' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 65582, "procedure_name": "part sm bowel resect nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e88bdec5e2e9df95e70e496"}, {"db_id": "mimic_iii", "question": "what is the name of the drug patient 60180 was prescribed within 2 days after having received a inj/inf platelet inhibit procedure in 09/2104.", "template": "what was the name of the drug that patient 60180 was prescribed within 2 day after having received a inj/inf platelet inhibit procedure in 09/2104?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'inj/inf platelet inhibit' ) and strftime('%y-%m',procedures_icd.charttime) = '2104-09' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and strftime('%y-%m',prescriptions.startdate) = '2104-09' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 60180, "procedure_name": "inj/inf platelet inhibit"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c278d0adb117f879a3c37b49"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 14467 within 2 days after oth extraoc mus-tend op?", "template": "what was the name of the drug that patient 14467 was prescribed within 2 day after having received a oth extraoc mus-tend op procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 14467 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'oth extraoc mus-tend op' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 14467 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 14467, "procedure_name": "oth extraoc mus-tend op"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "709032ad1b49d7889df5fd04"}, {"db_id": "mimic_iii", "question": "what drug was prescribed to patient 69761 within 2 days after the circumcision procedure since 16 months ago?", "template": "what was the name of the drug that patient 69761 was prescribed within 2 day after having received a circumcision procedure since 16 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'circumcision' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-16 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and datetime(prescriptions.startdate) >= datetime(current_time,'-16 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 69761, "procedure_name": "circumcision"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af7cef47b38658cdb113c107"}, {"db_id": "mimic_iii", "question": "what is the name of the medication that patient 88659 was prescribed during the same hospital visit after having received a endosc destruc bronc les procedure?", "template": "what was the name of the drug that patient 88659 was prescribed within the same hospital visit after having received a endosc destruc bronc les procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 88659 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'endosc destruc bronc les' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 88659 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "endosc destruc bronc les", "patient_id": 88659}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0afcb4482d8e290bf8544b03"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug which patient 40435 was prescribed in the same hospital encounter after receiving a audiological evaluation procedure this month?", "template": "what was the name of the drug that patient 40435 was prescribed within the same hospital visit after having received a audiological evaluation procedure this month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 40435 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'audiological evaluation' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 40435 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "audiological evaluation", "patient_id": 40435}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:rel-month-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "61f93116bb60e6e725fff900"}, {"db_id": "mimic_iii", "question": "what is the name of the medication prescribed to patient 54386 within 2 days after having received a entral infus nutrit sub procedure on their last hospital encounter?", "template": "what was the name of the drug that patient 54386 was prescribed within 2 day after having received a entral infus nutrit sub procedure on the last hospital visit?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 54386 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'entral infus nutrit sub' ) and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 54386 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 54386, "procedure_name": "entral infus nutrit sub"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d606d6596a7587341d28515a"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug patient 88659 was prescribed during the same hospital visit after having received a endosc destruc bronc les procedure since 158 months ago?", "template": "what was the name of the drug that patient 88659 was prescribed within the same hospital visit after having received a endosc destruc bronc les procedure since 158 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 88659 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'endosc destruc bronc les' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-158 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 88659 and datetime(prescriptions.startdate) >= datetime(current_time,'-158 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 88659, "procedure_name": "endosc destruc bronc les"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c037ad7feb4d39ead833f034"}, {"db_id": "mimic_iii", "question": "what was the drug that was prescribed to patient 25696 within the same hospital visit after receiving a insert endotracheal tube in 03/last year?", "template": "what was the name of the drug that patient 25696 was prescribed within the same hospital visit after having received a insert endotracheal tube procedure in 03/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'insert endotracheal tube' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 25696, "procedure_name": "insert endotracheal tube"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a156bcbf36149ba5b917b3b2"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that patient 14467 was prescribed after receiving a oth extraoc mus-tend op procedure during this month, within 2 days?", "template": "what was the name of the drug that patient 14467 was prescribed within 2 day after having received a oth extraoc mus-tend op procedure this month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 14467 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'oth extraoc mus-tend op' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 14467 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "oth extraoc mus-tend op", "patient_id": 14467}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b23fa58b1c8f1623ed53b4e"}, {"db_id": "mimic_iii", "question": "what is the drug that patient 69761 was prescribed for during the same hospital visit after having received nephrotomy in 04/this year?", "template": "what was the name of the drug that patient 69761 was prescribed within the same hospital visit after having received a nephrotomy procedure in 04/this year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'nephrotomy' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',procedures_icd.charttime) = '04' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 69761 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '04' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "nephrotomy", "patient_id": 69761}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1b2b2a0c345dce6f19515362"}, {"db_id": "mimic_iii", "question": "what was the drug that patient 66015 was prescribed for within 2 days after receiving the reopen recent lap site during the last month?", "template": "what was the name of the drug that patient 66015 was prescribed within 2 day after having received a reopen recent lap site procedure last month?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'reopen recent lap site' ) and datetime(procedures_icd.charttime,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 66015 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 66015, "procedure_name": "reopen recent lap site"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a16ff7b97e5d2ed3deb6bd3f"}, {"db_id": "mimic_iii", "question": "what was the name of the prescription drug patient 85700 was prescribed within 2 days after having received a cont inv mec ven <96 hrs procedure since 37 months ago?", "template": "what was the name of the drug that patient 85700 was prescribed within 2 day after having received a cont inv mec ven <96 hrs procedure since 37 month ago?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 85700 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven <96 hrs' ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-37 month') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 85700 and datetime(prescriptions.startdate) >= datetime(current_time,'-37 month') ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 85700, "procedure_name": "cont inv mec ven <96 hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:rel-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b2c3fc369f4f049ba3716a65"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 16992 was prescribed within 2 days after having received a partial ostectomy nec procedure until 08/2105?", "template": "what was the name of the drug that patient 16992 was prescribed within 2 day after having received a partial ostectomy nec procedure until 08/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 16992 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'partial ostectomy nec' ) and strftime('%y-%m',procedures_icd.charttime) <= '2105-08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 16992 and strftime('%y-%m',prescriptions.startdate) <= '2105-08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 16992, "procedure_name": "partial ostectomy nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "abf01eab3a586116cc83ef8c"}, {"db_id": "mimic_iii", "question": "what was the drug that was prescribed to patient 40435 after receiving audiological evaluation since 08/2105 within 2 days?", "template": "what was the name of the drug that patient 40435 was prescribed within 2 day after having received a audiological evaluation procedure since 08/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 40435 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'audiological evaluation' ) and strftime('%y-%m',procedures_icd.charttime) >= '2105-08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 40435 and strftime('%y-%m',prescriptions.startdate) >= '2105-08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "audiological evaluation", "patient_id": 40435}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "778e6a7af8f5e843a0f51167"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed for patient 99647 during the same hospital visit after having received a pericardiocentesis procedure since 12/2102?", "template": "what was the name of the drug that patient 99647 was prescribed within the same hospital visit after having received a pericardiocentesis procedure since 12/2102?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 99647 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'pericardiocentesis' ) and strftime('%y-%m',procedures_icd.charttime) >= '2102-12' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 99647 and strftime('%y-%m',prescriptions.startdate) >= '2102-12' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 99647, "procedure_name": "pericardiocentesis"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99bd4b0b2b4bf1ba5f43c645"}, {"db_id": "mimic_iii", "question": "what was the medicine that was prescribed to patient 30228 within 2 days after undergoing a egd with closed biopsy in 06/this year?", "template": "what was the name of the drug that patient 30228 was prescribed within 2 day after having received a egd with closed biopsy procedure in 06/this year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'egd with closed biopsy' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',procedures_icd.charttime) = '06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 30228 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 30228, "procedure_name": "egd with closed biopsy"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a2a3413b687209c8cd14ded"}, {"db_id": "mimic_iii", "question": "what is the name of the drug which patient 14467 was prescribed within 2 days after having received a oth extraoc mus-tend op procedure?", "template": "what was the name of the drug that patient 14467 was prescribed within 2 day after having received a oth extraoc mus-tend op procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 14467 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'oth extraoc mus-tend op' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 14467 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 14467, "procedure_name": "oth extraoc mus-tend op"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3941cc75cbecd1ca1eedc6e"}, {"db_id": "mimic_iii", "question": "what are the name of the drug that patient 52647 was prescribed in the same hospital visit after receiving a sm bowel stoma closure?", "template": "what was the name of the drug that patient 52647 was prescribed within the same hospital visit after having received a sm bowel stoma closure procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 52647 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'sm bowel stoma closure' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 52647 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "sm bowel stoma closure", "patient_id": 52647}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1b8d0b07aa63cc8cdaa956e2"}, {"db_id": "mimic_iii", "question": "what is the name of the drug prescribed to patient 31243 in the same hospital encounter after receiving a insert endotracheal tube in 06/this year?", "template": "what was the name of the drug that patient 31243 was prescribed within the same hospital visit after having received a insert endotracheal tube procedure in 06/this year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 31243 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'insert endotracheal tube' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',procedures_icd.charttime) = '06' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 31243 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '06' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "insert endotracheal tube", "patient_id": 31243}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bee5f3c9a4690327df0f5544"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 65582 was prescribed within 2 days after having received a pancreat sphincteroplas procedure.", "template": "what was the name of the drug that patient 65582 was prescribed within 2 day after having received a pancreat sphincteroplas procedure?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'pancreat sphincteroplas' ) ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 65582 ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 65582, "procedure_name": "pancreat sphincteroplas"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a8a6b26516e0b76ab0e32dd"}, {"db_id": "mimic_iii", "question": "what was the name of the drug patient 60180 was prescribed within 2 days after having received a lower limb endarterect procedure in 09/last year.", "template": "what was the name of the drug that patient 60180 was prescribed within 2 day after having received a lower limb endarterect procedure in 09/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lower limb endarterect' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '09' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 60180 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '09' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"procedure_name": "lower limb endarterect", "patient_id": 60180}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9fe29b31880b02105769f50"}, {"db_id": "mimic_iii", "question": "what is the name of a drug that patient 99647 was prescribed within the same hospital visit after having received a open reduct face fx nec procedure since 01/2105?", "template": "what was the name of the drug that patient 99647 was prescribed within the same hospital visit after having received a open reduct face fx nec procedure since 01/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 99647 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'open reduct face fx nec' ) and strftime('%y-%m',procedures_icd.charttime) >= '2105-01' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 99647 and strftime('%y-%m',prescriptions.startdate) >= '2105-01' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "open reduct face fx nec", "patient_id": 99647}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b2dd49de064cf1a9a8e04ca3"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that was prescribed to patient 25696 within 2 days after having had a sympath nerve inject nec procedure in 03/last year?", "template": "what was the name of the drug that patient 25696 was prescribed within 2 day after having received a sympath nerve inject nec procedure in 03/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'sympath nerve inject nec' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and datetime(t2.startdate) between datetime(t1.charttime) and datetime(t1.charttime,'+2 day')", "value": {"patient_id": 25696, "procedure_name": "sympath nerve inject nec"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-n_day", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-n_day] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da1f3295c8f430f15bf8b0c2"}, {"db_id": "mimic_iii", "question": "what is a drug that patient 25696 was prescribed for during the same hospital encounter after receiving cont inv mec ven <96 hrs in 03/last year?", "template": "what was the name of the drug that patient 25696 was prescribed within the same hospital visit after having received a cont inv mec ven <96 hrs procedure in 03/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven <96 hrs' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '03' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 25696 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 25696, "procedure_name": "cont inv mec ven <96 hrs"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "edc2238f1d03e808404818bf"}, {"db_id": "mimic_iii", "question": "what exactly was the name of the drug that patient 61591 was prescribed during the same hospital visit after receiving a aortocor bypas-1 cor art procedure in 05/2105?", "template": "what was the name of the drug that patient 61591 was prescribed within the same hospital visit after having received a aortocor bypas-1 cor art procedure in 05/2105?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'aortocor bypas-1 cor art' ) and strftime('%y-%m',procedures_icd.charttime) = '2105-05' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 61591 and strftime('%y-%m',prescriptions.startdate) = '2105-05' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"procedure_name": "aortocor bypas-1 cor art", "patient_id": 61591}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:abs-month-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33b23ac5bc18d48fc47906d7"}, {"db_id": "mimic_iii", "question": "tell me the name of the drug that patient 58649 was prescribed within the same hospital visit after having received a lt heart angiocardiogram procedure in 08/last year.", "template": "what was the name of the drug that patient 58649 was prescribed within the same hospital visit after having received a lt heart angiocardiogram procedure in 08/last year?", "query": "select t2.drug from ( select admissions.subject_id, procedures_icd.charttime, admissions.hadm_id from procedures_icd join admissions on procedures_icd.hadm_id = admissions.hadm_id where admissions.subject_id = 58649 and procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lt heart angiocardiogram' ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',procedures_icd.charttime) = '08' ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate, admissions.hadm_id from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where admissions.subject_id = 58649 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' ) as t2 on t1.subject_id = t2.subject_id where t1.charttime < t2.startdate and t1.hadm_id = t2.hadm_id", "value": {"patient_id": 58649, "procedure_name": "lt heart angiocardiogram"}, "q_tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within] after having received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-hosp", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} was prescribed [time_filter_within:within-hosp] after having received a {procedure_name} procedure [time_filter_global1:mix-month-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b052643b94f1682874df9e29"}, {"db_id": "mimic_iii", "question": "how much metoprolol is first prescribed to patient 78086 until 6 months ago?", "template": "what was the dose of metoprolol that patient 78086 was first prescribed until 6 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78086 ) and prescriptions.drug = 'metoprolol' and datetime(prescriptions.startdate) <= datetime(current_time,'-6 month') order by prescriptions.startdate asc limit 1", "value": {"drug_name": "metoprolol", "patient_id": 78086}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a868a12a04cd73e0947d87d0"}, {"db_id": "mimic_iii", "question": "what was the first amount of abciximab that was prescribed to patient 11322 during the first hospital encounter?", "template": "what was the dose of abciximab that patient 11322 was first prescribed on the first hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11322 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'abciximab' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "abciximab", "patient_id": 11322}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e857d4e25b8c2775f1ae39fb"}, {"db_id": "mimic_iii", "question": "how much labetalol was last prescribed to patient 99205 in 12/2102 dosage?", "template": "what was the dose of labetalol that patient 99205 was last prescribed in 12/2102?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99205 ) and prescriptions.drug = 'labetalol' and strftime('%y-%m',prescriptions.startdate) = '2102-12' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "labetalol", "patient_id": 99205}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ad1a55f83234c1b10851af7"}, {"db_id": "mimic_iii", "question": "what was the dose of ambisome that was prescribed since 02/2103 for the last time to patient 5561?", "template": "what was the dose of ambisome that patient 5561 was last prescribed since 02/2103?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5561 ) and prescriptions.drug = 'ambisome' and strftime('%y-%m',prescriptions.startdate) >= '2103-02' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "ambisome", "patient_id": 5561}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37e781d3448fb08e72653306"}, {"db_id": "mimic_iii", "question": "for the first time, how much carbamazepine was prescribed during this month to patient 6170?", "template": "what was the dose of carbamazepine that patient 6170 was first prescribed this month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and prescriptions.drug = 'carbamazepine' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"drug_name": "carbamazepine", "patient_id": 6170}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9eb59f0bb064049e3216c70c"}, {"db_id": "mimic_iii", "question": "what was the dose of aztreonam that during the last month patient 26398 was last prescribed?", "template": "what was the dose of aztreonam that patient 26398 was last prescribed last month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26398 ) and prescriptions.drug = 'aztreonam' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 26398, "drug_name": "aztreonam"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7cf15319f754328ebed5f124"}, {"db_id": "mimic_iii", "question": "what was the dose of metronidazole (flagyl) that was prescribed to patient 27703 the last time in 11/this year?", "template": "what was the dose of metronidazole (flagyl) that patient 27703 was last prescribed in 11/this year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) and prescriptions.drug = 'metronidazole (flagyl)' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "metronidazole (flagyl)", "patient_id": 27703}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e43180d2b9c527af0a2e78d"}, {"db_id": "mimic_iii", "question": "what dose of cyclosporine (neoral) modified was last prescribed to patient 16271 since 80 months ago?", "template": "what was the dose of cyclosporine (neoral) modified that patient 16271 was last prescribed since 80 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16271 ) and prescriptions.drug = 'cyclosporine (neoral) modified' and datetime(prescriptions.startdate) >= datetime(current_time,'-80 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "cyclosporine (neoral) modified", "patient_id": 16271}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d67096e7e5da040e89a779e"}, {"db_id": "mimic_iii", "question": "how much insulin human regular was prescribed to patient 40435 since 03/2104, for the first time?", "template": "what was the dose of insulin human regular that patient 40435 was first prescribed since 03/2104?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 ) and prescriptions.drug = 'insulin human regular' and strftime('%y-%m',prescriptions.startdate) >= '2104-03' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 40435, "drug_name": "insulin human regular"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54ed257bbf4045da3763c510"}, {"db_id": "mimic_iii", "question": "what was the dexamethasone dose prescribed to patient 20166 last in their last hospital encounter?", "template": "what was the dose of dexamethasone that patient 20166 was last prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20166 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'dexamethasone' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 20166, "drug_name": "dexamethasone"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14644598adc0cf45d6435897"}, {"db_id": "mimic_iii", "question": "what was the first dose of soln on their last hospital encounter, prescribed to patient 94316?", "template": "what was the dose of soln that patient 94316 was first prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94316 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'soln' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 94316, "drug_name": "soln"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c997678260e920d57aace5a0"}, {"db_id": "mimic_iii", "question": "for the first time, during their first hospital encounter how much cimetidine was prescribed to patient 8016?", "template": "what was the dose of cimetidine that patient 8016 was first prescribed on the first hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'cimetidine' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "cimetidine", "patient_id": 8016}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38e23c0461b7796c9275345c"}, {"db_id": "mimic_iii", "question": "what was the lisinopril dose that was prescribed to patient 26995 in 11/last year for the first time?", "template": "what was the dose of lisinopril that patient 26995 was first prescribed in 11/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26995 ) and prescriptions.drug = 'lisinopril' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 26995, "drug_name": "lisinopril"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3709250418e25c3ec1e75d9e"}, {"db_id": "mimic_iii", "question": "what was the citalopram hydrobromide dose that patient 55700 was first prescribed in 03/last year?", "template": "what was the dose of citalopram hydrobromide that patient 55700 was first prescribed in 03/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55700 ) and prescriptions.drug = 'citalopram hydrobromide' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "citalopram hydrobromide", "patient_id": 55700}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69359084fd654f0a544ebf5d"}, {"db_id": "mimic_iii", "question": "what is the dose of sodium bicarbonate that is first prescribed to patient 10811 since 05/2103?", "template": "what was the dose of sodium bicarbonate that patient 10811 was first prescribed since 05/2103?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10811 ) and prescriptions.drug = 'sodium bicarbonate' and strftime('%y-%m',prescriptions.startdate) >= '2103-05' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 10811, "drug_name": "sodium bicarbonate"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "737dfdd52d88d12688550a02"}, {"db_id": "mimic_iii", "question": "what is the last d5 1/2ns dose that patient 65962 was prescribed in 05/2103?", "template": "what was the dose of d5 1/2ns that patient 65962 was last prescribed in 05/2103?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65962 ) and prescriptions.drug = 'd5 1/2ns' and strftime('%y-%m',prescriptions.startdate) = '2103-05' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 65962, "drug_name": "d5 1/2ns"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bff2525572a022509d326370"}, {"db_id": "mimic_iii", "question": "what was the dosage of warfarin that was last prescribed to patient 69895 in the last hospital visit?", "template": "what was the dose of warfarin that patient 69895 was last prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 69895 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'warfarin' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 69895, "drug_name": "warfarin"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4299a179d5ac44d63b73e6e5"}, {"db_id": "mimic_iii", "question": "what was the promethazine hcl dosage that patient 52456 was last prescribed during their first hospital encounter?", "template": "what was the dose of promethazine hcl that patient 52456 was last prescribed on the first hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52456 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'promethazine hcl' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 52456, "drug_name": "promethazine hcl"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34889a07274f8eccd6bc3ce7"}, {"db_id": "mimic_iii", "question": "how much magnesium sulfate was prescribed for the first time on their last hospital visit to patient 44451?", "template": "what was the dose of magnesium sulfate that patient 44451 was first prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 44451 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'magnesium sulfate' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 44451, "drug_name": "magnesium sulfate"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "984005c8d292e9e69fe2f10f"}, {"db_id": "mimic_iii", "question": "how much was enoxaparin sodium first prescribed to patient 27362 in 06/2104?", "template": "what was the dose of enoxaparin sodium that patient 27362 was first prescribed in 06/2104?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) and prescriptions.drug = 'enoxaparin sodium' and strftime('%y-%m',prescriptions.startdate) = '2104-06' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27362, "drug_name": "enoxaparin sodium"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa808feee99b58ed0aac7305"}, {"db_id": "mimic_iii", "question": "what was the first dose of the glycerin supps in 11/last year prescribed to patient 84042?", "template": "what was the dose of glycerin supps that patient 84042 was first prescribed in 11/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84042 ) and prescriptions.drug = 'glycerin supps' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 84042, "drug_name": "glycerin supps"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dbc46f1863f9a23b0bd147cb"}, {"db_id": "mimic_iii", "question": "how much magnesium sulfate, for the first time since 12/2105, was prescribed to patient 25733?", "template": "what was the dose of magnesium sulfate that patient 25733 was first prescribed since 12/2105?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and prescriptions.drug = 'magnesium sulfate' and strftime('%y-%m',prescriptions.startdate) >= '2105-12' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 25733, "drug_name": "magnesium sulfate"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "242cd957777ec217877ec636"}, {"db_id": "mimic_iii", "question": "how much neo*iv*gentamicin is prescribed the last time the previous month to patient 40435?", "template": "what was the dose of neo*iv*gentamicin that patient 40435 was last prescribed last month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 ) and prescriptions.drug = 'neo*iv*gentamicin' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "neo*iv*gentamicin", "patient_id": 40435}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a8faeaea2e95986f6f54637c"}, {"db_id": "mimic_iii", "question": "how much clonazepam was last prescribed in the last hospital visit to patient 88404?", "template": "what was the dose of clonazepam that patient 88404 was last prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88404 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'clonazepam' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 88404, "drug_name": "clonazepam"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f778c9a0ac9079f7a3ebacf"}, {"db_id": "mimic_iii", "question": "how much heparin sodium was prescribed on the last hospital visit for the last time to patient 14621?", "template": "what was the dose of heparin sodium that patient 14621 was last prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14621 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'heparin sodium' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 14621, "drug_name": "heparin sodium"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e4b7b91725bd2542ce659ef"}, {"db_id": "mimic_iii", "question": "when they visited the hospital last time what was the first dose of requip xl prescribed to patient 1912?", "template": "what was the dose of requip xl that patient 1912 was first prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1912 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'requip xl' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "requip xl", "patient_id": 1912}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aaf8cdb7dd9c5e29f23ce832"}, {"db_id": "mimic_iii", "question": "what is the dose of phenylephrine hcl, that patient 12274 was first prescribed in 01/2105?", "template": "what was the dose of phenylephrine hcl that patient 12274 was first prescribed in 01/2105?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12274 ) and prescriptions.drug = 'phenylephrine hcl' and strftime('%y-%m',prescriptions.startdate) = '2105-01' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 12274, "drug_name": "phenylephrine hcl"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb93b395692268380c362553"}, {"db_id": "mimic_iii", "question": "for the first time during their first hospital encounter, how much sodium bica was prescribed to patient 25723?", "template": "what was the dose of sodium bica that patient 25723 was first prescribed on the first hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25723 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'sodium bica' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "sodium bica", "patient_id": 25723}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "886c3bbe40189abddd5d406f"}, {"db_id": "mimic_iii", "question": "what was the first dose of aspirin given to patient 75762?", "template": "what was the dose of aspirin that patient 75762 was first prescribed?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 75762 ) and prescriptions.drug = 'aspirin' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 75762, "drug_name": "aspirin"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f556ba55b1da955a7f4cab8b"}, {"db_id": "mimic_iii", "question": "what amount of venlafaxine has been prescribed to patient 49140 for the first time until 12 months ago?", "template": "what was the dose of venlafaxine that patient 49140 was first prescribed until 12 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49140 ) and prescriptions.drug = 'venlafaxine' and datetime(prescriptions.startdate) <= datetime(current_time,'-12 month') order by prescriptions.startdate asc limit 1", "value": {"drug_name": "venlafaxine", "patient_id": 49140}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5c7f3421bfe327617153c48"}, {"db_id": "mimic_iii", "question": "how much metronidazole is prescribed to patient 5905 last time until 48 months ago?", "template": "what was the dose of metronidazole that patient 5905 was last prescribed until 48 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5905 ) and prescriptions.drug = 'metronidazole' and datetime(prescriptions.startdate) <= datetime(current_time,'-48 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "metronidazole", "patient_id": 5905}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "978f8aea129e2c78bdfe3d3f"}, {"db_id": "mimic_iii", "question": "what was the dose of lidocaine jelly 2% (urojet) - that was last prescribed to patient 24921 in 09/last year?", "template": "what was the dose of lidocaine jelly 2% (urojet) that patient 24921 was last prescribed in 09/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24921 ) and prescriptions.drug = 'lidocaine jelly 2% (urojet)' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '09' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 24921, "drug_name": "lidocaine jelly 2% (urojet)"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f973142bdfa7895dab76142f"}, {"db_id": "mimic_iii", "question": "what is the amount of isosorbide dinitrate sa that was prescribed to patient 55360 for the last time on the current hospital visit?", "template": "what was the dose of isosorbide dinitrate sa that patient 55360 was last prescribed on the current hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) and prescriptions.drug = 'isosorbide dinitrate sa' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "isosorbide dinitrate sa", "patient_id": 55360}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "76364d163c962812f2653bd8"}, {"db_id": "mimic_iii", "question": "how much d5 1/2ns was prescribed to patient 23002 last in 10/this year?", "template": "what was the dose of d5 1/2ns that patient 23002 was last prescribed in 10/this year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23002 ) and prescriptions.drug = 'd5 1/2ns' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '10' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "d5 1/2ns", "patient_id": 23002}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed2366d30ab8afdc060223e6"}, {"db_id": "mimic_iii", "question": "what amount of rifaximin has been prescribed to patient 26313 for the last time in 03/last year?", "template": "what was the dose of rifaximin that patient 26313 was last prescribed in 03/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26313 ) and prescriptions.drug = 'rifaximin' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "rifaximin", "patient_id": 26313}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8724dba074e7e53bcb3d01af"}, {"db_id": "mimic_iii", "question": "what was the first amount of artificial tear ointment that was prescribed to patient 7375?", "template": "what was the dose of artificial tear ointment that patient 7375 was first prescribed?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 ) and prescriptions.drug = 'artificial tear ointment' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 7375, "drug_name": "artificial tear ointment"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e05e5af3fab07562916216f"}, {"db_id": "mimic_iii", "question": "what was the dose of sevelamer - that was first prescribed to patient 6170 on their current hospital encounter?", "template": "what was the dose of sevelamer that patient 6170 was first prescribed on the current hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) and prescriptions.drug = 'sevelamer' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "sevelamer", "patient_id": 6170}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a1b6187d753224c0131b92c"}, {"db_id": "mimic_iii", "question": "what was the first dose of ipratropium bromide neb on the current hospital visit, prescribed to patient 18866?", "template": "what was the dose of ipratropium bromide neb that patient 18866 was first prescribed on the current hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 and admissions.dischtime is null ) and prescriptions.drug = 'ipratropium bromide neb' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "ipratropium bromide neb", "patient_id": 18866}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f301ce6f2e443316e22dab71"}, {"db_id": "mimic_iii", "question": "what was the isotonic sodium chloride dose that was prescribed to patient 9566 in this hospital encounter for the first time?", "template": "what was the dose of isotonic sodium chloride that patient 9566 was first prescribed on the current hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) and prescriptions.drug = 'isotonic sodium chloride' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "isotonic sodium chloride", "patient_id": 9566}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "186a7e3fbbd698200e4a6162"}, {"db_id": "mimic_iii", "question": "what was the dosage of heparin sodium that was last prescribed to patient 56829 until 11/2105?", "template": "what was the dose of heparin sodium that patient 56829 was last prescribed until 11/2105?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56829 ) and prescriptions.drug = 'heparin sodium' and strftime('%y-%m',prescriptions.startdate) <= '2105-11' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 56829, "drug_name": "heparin sodium"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3aa13ae0fc6953d85a6abc6d"}, {"db_id": "mimic_iii", "question": "in the last month what was the last dose of sucralfate prescribed to patient 57023?", "template": "what was the dose of sucralfate that patient 57023 was last prescribed last month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57023 ) and prescriptions.drug = 'sucralfate' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "sucralfate", "patient_id": 57023}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f0d2a722598a84ada5f1465"}, {"db_id": "mimic_iii", "question": "for the last time, when they came to the hospital first time how much etomidate was prescribed to patient 18677?", "template": "what was the dose of etomidate that patient 18677 was last prescribed on the first hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'etomidate' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "etomidate", "patient_id": 18677}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4653566b2a09dada66ecae99"}, {"db_id": "mimic_iii", "question": "how much ns was prescribed during this month for the first time to patient 76332?", "template": "what was the dose of ns that patient 76332 was first prescribed this month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 ) and prescriptions.drug = 'ns' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"drug_name": "ns", "patient_id": 76332}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30c1ca512dab94b8a572f1d5"}, {"db_id": "mimic_iii", "question": "what was the first dose of albumin 25% (12.5gm) in this month given to patient 17462?", "template": "what was the dose of albumin 25% (12.5gm) that patient 17462 was first prescribed this month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 ) and prescriptions.drug = 'albumin 25% (12.5gm)' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"drug_name": "albumin 25% (12.5gm)", "patient_id": 17462}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b5968200d0edc761972eaed2"}, {"db_id": "mimic_iii", "question": "what was the levetiracetam dosage that patient 83709 was last prescribed since 66 months ago?", "template": "what was the dose of levetiracetam that patient 83709 was last prescribed since 66 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83709 ) and prescriptions.drug = 'levetiracetam' and datetime(prescriptions.startdate) >= datetime(current_time,'-66 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 83709, "drug_name": "levetiracetam"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "19d37681666e9455652ebb5b"}, {"db_id": "mimic_iii", "question": "what was the first dose of prismasate (b32 k2) in 11/last year, prescribed to patient 92063?", "template": "what was the dose of prismasate (b32 k2) that patient 92063 was first prescribed in 11/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92063 ) and prescriptions.drug = 'prismasate (b32 k2)' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "prismasate (b32 k2)", "patient_id": 92063}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df89047b8a1f4b1f4361f76e"}, {"db_id": "mimic_iii", "question": "what was the dose of insulin that during their first hospital encounter patient 66015 was last prescribed?", "template": "what was the dose of insulin that patient 66015 was last prescribed on the first hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 66015 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'insulin' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 66015, "drug_name": "insulin"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d59c204fc000a1184d1cff4d"}, {"db_id": "mimic_iii", "question": "what was the bupivacaine 0.1% dose that patient 64136 was last prescribed in 09/2102?", "template": "what was the dose of bupivacaine 0.1% that patient 64136 was last prescribed in 09/2102?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64136 ) and prescriptions.drug = 'bupivacaine 0.1%' and strftime('%y-%m',prescriptions.startdate) = '2102-09' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "bupivacaine 0.1%", "patient_id": 64136}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f34edfc2a7e403d369724cca"}, {"db_id": "mimic_iii", "question": "what was the simethicone dosage that patient 5395 was first prescribed since 49 months ago?", "template": "what was the dose of simethicone that patient 5395 was first prescribed since 49 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5395 ) and prescriptions.drug = 'simethicone' and datetime(prescriptions.startdate) >= datetime(current_time,'-49 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 5395, "drug_name": "simethicone"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2763e579d8f875763f05a7a"}, {"db_id": "mimic_iii", "question": "how much prednisolone acetate 0.12% ophth. susp. was prescribed for the first time in their first hospital visit to patient 20066?", "template": "what was the dose of prednisolone acetate 0.12% ophth. susp. that patient 20066 was first prescribed on the first hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20066 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'prednisolone acetate 0.12% ophth. susp.' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "prednisolone acetate 0.12% ophth. susp.", "patient_id": 20066}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6d01f47485cdd1840edd3c3"}, {"db_id": "mimic_iii", "question": "how much phenylephrine is prescribed to patient 9983 first time until 36 months ago?", "template": "what was the dose of phenylephrine that patient 9983 was first prescribed until 36 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9983 ) and prescriptions.drug = 'phenylephrine' and datetime(prescriptions.startdate) <= datetime(current_time,'-36 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 9983, "drug_name": "phenylephrine"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a21688c291f125f0e4f5943"}, {"db_id": "mimic_iii", "question": "how much lisinopril was first prescribed in 10/this year to patient 73713?", "template": "what was the dose of lisinopril that patient 73713 was first prescribed in 10/this year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) and prescriptions.drug = 'lisinopril' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '10' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 73713, "drug_name": "lisinopril"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10f2675272e4bb7c536673a7"}, {"db_id": "mimic_iii", "question": "how much nevirapine suspension was prescribed to patient 14990 last until 11/2104?", "template": "what was the dose of nevirapine suspension that patient 14990 was last prescribed until 11/2104?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14990 ) and prescriptions.drug = 'nevirapine suspension' and strftime('%y-%m',prescriptions.startdate) <= '2104-11' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "nevirapine suspension", "patient_id": 14990}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe131ac5ecf6c0de02bf5472"}, {"db_id": "mimic_iii", "question": "what is the dose of atorvastatin, that patient 138 was first prescribed in 11/last year?", "template": "what was the dose of atorvastatin that patient 138 was first prescribed in 11/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 138 ) and prescriptions.drug = 'atorvastatin' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "atorvastatin", "patient_id": 138}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "efbf54263073b7fc02b38065"}, {"db_id": "mimic_iii", "question": "for the last time, how much potassium chloride was prescribed during this month to patient 15986?", "template": "what was the dose of potassium chloride that patient 15986 was last prescribed this month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 ) and prescriptions.drug = 'potassium chloride' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 15986, "drug_name": "potassium chloride"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36f81f815bc1d74d781c460f"}, {"db_id": "mimic_iii", "question": "what is the dose of neo*iv*gentamicin that is first prescribed to patient 59707?", "template": "what was the dose of neo*iv*gentamicin that patient 59707 was first prescribed?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59707 ) and prescriptions.drug = 'neo*iv*gentamicin' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 59707, "drug_name": "neo*iv*gentamicin"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32a076febdfd86c6efb34dbb"}, {"db_id": "mimic_iii", "question": "what is the dose of sucralfate that is last prescribed to patient 53015 until 05/2105?", "template": "what was the dose of sucralfate that patient 53015 was last prescribed until 05/2105?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53015 ) and prescriptions.drug = 'sucralfate' and strftime('%y-%m',prescriptions.startdate) <= '2105-05' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 53015, "drug_name": "sucralfate"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f807da8ef5156c23de90e2fe"}, {"db_id": "mimic_iii", "question": "what was the first dose of pantoprazole until 15 months ago, prescribed to patient 31169?", "template": "what was the dose of pantoprazole that patient 31169 was first prescribed until 15 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31169 ) and prescriptions.drug = 'pantoprazole' and datetime(prescriptions.startdate) <= datetime(current_time,'-15 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 31169, "drug_name": "pantoprazole"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "11bf889f1b961292287045eb"}, {"db_id": "mimic_iii", "question": "how much cosyntropin, for the first time in 02/this year, was prescribed to patient 74159?", "template": "what was the dose of cosyntropin that patient 74159 was first prescribed in 02/this year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74159 ) and prescriptions.drug = 'cosyntropin' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '02' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "cosyntropin", "patient_id": 74159}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03adc3ef03a29a984535bd62"}, {"db_id": "mimic_iii", "question": "for the first time until 11/2105, how much 0.9% sodium chloride was prescribed to patient 11362?", "template": "what was the dose of 0.9% sodium chloride that patient 11362 was first prescribed until 11/2105?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) and prescriptions.drug = '0.9% sodium chloride' and strftime('%y-%m',prescriptions.startdate) <= '2105-11' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 11362, "drug_name": "0.9% sodium chloride"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d8c739c4c8c8739f3a24f0a0"}, {"db_id": "mimic_iii", "question": "how much phenytoin sodium was prescribed for the last time until 01/2101 to patient 62977?", "template": "what was the dose of phenytoin sodium that patient 62977 was last prescribed until 01/2101?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62977 ) and prescriptions.drug = 'phenytoin sodium' and strftime('%y-%m',prescriptions.startdate) <= '2101-01' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 62977, "drug_name": "phenytoin sodium"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df0ddb601d734c08c930acd5"}, {"db_id": "mimic_iii", "question": "what is the dose of vitamin d, that patient 8324 was last prescribed in 08/last year?", "template": "what was the dose of vitamin d that patient 8324 was last prescribed in 08/last year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8324 ) and prescriptions.drug = 'vitamin d' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 8324, "drug_name": "vitamin d"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e6bf0ac8a06dcea04f56822"}, {"db_id": "mimic_iii", "question": "what was the dosage of ezetimibe that was last prescribed to patient 82159 during their last hospital encounter?", "template": "what was the dose of ezetimibe that patient 82159 was last prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82159 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'ezetimibe' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "ezetimibe", "patient_id": 82159}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e173320c6679fc652cd08e0"}, {"db_id": "mimic_iii", "question": "how much metronidazole was prescribed for the last time the last month to patient 23070?", "template": "what was the dose of metronidazole that patient 23070 was last prescribed last month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) and prescriptions.drug = 'metronidazole' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 23070, "drug_name": "metronidazole"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7736ed98b45e8242574a7eab"}, {"db_id": "mimic_iii", "question": "how much miconazole powder 2% was last prescribed to patient 41132 until 38 months ago dosage?", "template": "what was the dose of miconazole powder 2% that patient 41132 was last prescribed until 38 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41132 ) and prescriptions.drug = 'miconazole powder 2%' and datetime(prescriptions.startdate) <= datetime(current_time,'-38 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 41132, "drug_name": "miconazole powder 2%"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "060746e02b20417e645cbfdb"}, {"db_id": "mimic_iii", "question": "what dose of calcium gluconate was last prescribed to patient 95470 since 12/2102?", "template": "what was the dose of calcium gluconate that patient 95470 was last prescribed since 12/2102?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95470 ) and prescriptions.drug = 'calcium gluconate' and strftime('%y-%m',prescriptions.startdate) >= '2102-12' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "calcium gluconate", "patient_id": 95470}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f652be706189d878433beeb1"}, {"db_id": "mimic_iii", "question": "how much potassium chloride is prescribed the first time since 162 months ago to patient 27177?", "template": "what was the dose of potassium chloride that patient 27177 was first prescribed since 162 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27177 ) and prescriptions.drug = 'potassium chloride' and datetime(prescriptions.startdate) >= datetime(current_time,'-162 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27177, "drug_name": "potassium chloride"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "49610f959b99face6bc65389"}, {"db_id": "mimic_iii", "question": "for the last time, how much chlordiazepoxide hcl was prescribed the last month to patient 57023?", "template": "what was the dose of chlordiazepoxide hcl that patient 57023 was last prescribed last month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57023 ) and prescriptions.drug = 'chlordiazepoxide hcl' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "chlordiazepoxide hcl", "patient_id": 57023}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "600e0960a81770fbe70baf2c"}, {"db_id": "mimic_iii", "question": "what was the last dose of sodium chloride during their current hospital encounter given to patient 82132?", "template": "what was the dose of sodium chloride that patient 82132 was last prescribed on the current hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) and prescriptions.drug = 'sodium chloride' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 82132, "drug_name": "sodium chloride"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c64816c15b60799387657a3b"}, {"db_id": "mimic_iii", "question": "what was the enoxaparin sodium dose prescribed to patient 92846 last in 12/2105?", "template": "what was the dose of enoxaparin sodium that patient 92846 was last prescribed in 12/2105?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) and prescriptions.drug = 'enoxaparin sodium' and strftime('%y-%m',prescriptions.startdate) = '2105-12' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "enoxaparin sodium", "patient_id": 92846}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7cdaf1ef6cdaa51153d3bab5"}, {"db_id": "mimic_iii", "question": "how much clopidogrel is prescribed the first time in 06/this year to patient 72364?", "template": "what was the dose of clopidogrel that patient 72364 was first prescribed in 06/this year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72364 ) and prescriptions.drug = 'clopidogrel' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '06' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "clopidogrel", "patient_id": 72364}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9d16584b42a7e1c6be31282"}, {"db_id": "mimic_iii", "question": "how much was albuterol 0.083% neb soln first prescribed to patient 808 in 08/2105?", "template": "what was the dose of albuterol 0.083% neb soln that patient 808 was first prescribed in 08/2105?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and prescriptions.drug = 'albuterol 0.083% neb soln' and strftime('%y-%m',prescriptions.startdate) = '2105-08' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "albuterol 0.083% neb soln", "patient_id": 808}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "723e0a0ab51a76e56dfcd3a6"}, {"db_id": "mimic_iii", "question": "how much docusate sodium was first prescribed during their last hospital visit to patient 42396?", "template": "what was the dose of docusate sodium that patient 42396 was first prescribed on the last hospital visit?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42396 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'docusate sodium' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 42396, "drug_name": "docusate sodium"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a89b039cf0f1302dde9db758"}, {"db_id": "mimic_iii", "question": "how much hydrocortisone (rectal) 2.5% cream is first prescribed to patient 90369 until 53 months ago?", "template": "what was the dose of hydrocortisone (rectal) 2.5% cream that patient 90369 was first prescribed until 53 month ago?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90369 ) and prescriptions.drug = 'hydrocortisone (rectal) 2.5% cream' and datetime(prescriptions.startdate) <= datetime(current_time,'-53 month') order by prescriptions.startdate asc limit 1", "value": {"drug_name": "hydrocortisone (rectal) 2.5% cream", "patient_id": 90369}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-first] prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9cfc22b9311e43cc999421e6"}, {"db_id": "mimic_iii", "question": "how much memantine is prescribed the last time in the previous month to patient 27703?", "template": "what was the dose of memantine that patient 27703 was last prescribed last month?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) and prescriptions.drug = 'memantine' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "memantine", "patient_id": 27703}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96a26a3eac5572b243192a38"}, {"db_id": "mimic_iii", "question": "what was the last dose of cinacalcet in 05/this year, prescribed to patient 5658?", "template": "what was the dose of cinacalcet that patient 5658 was last prescribed in 05/this year?", "query": "select prescriptions.dose_val_rx from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5658 ) and prescriptions.drug = 'cinacalcet' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 5658, "drug_name": "cinacalcet"}, "q_tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1] prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the dose of {drug_name} that patient {patient_id} was [time_filter_exact1:exact-last] prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f3bc7b66610e86b2d36dc69"}, {"db_id": "mimic_iii", "question": "how many total doses of neo*iv*caffeine citrate was prescribed to patient 85010 last month?", "template": "what was the total amount of dose of neo*iv*caffeine citrate that patient 85010 were prescribed last month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85010 ) and prescriptions.drug = 'neo*iv*caffeine citrate' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"drug_name": "neo*iv*caffeine citrate", "patient_id": 85010}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd5574bed1547d623cda1da9"}, {"db_id": "mimic_iii", "question": "what's the total amount of metoprolol that has been prescribed to patient 728 in the first hospital encounter?", "template": "what was the total amount of dose of metoprolol that patient 728 were prescribed on the first hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 728 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'metoprolol'", "value": {"patient_id": 728, "drug_name": "metoprolol"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce49b79d5273804057581fb9"}, {"db_id": "mimic_iii", "question": "how much vancomycin has been prescribed to patient 1784 in total?", "template": "what was the total amount of dose of vancomycin that patient 1784 were prescribed?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1784 ) and prescriptions.drug = 'vancomycin'", "value": {"patient_id": 1784, "drug_name": "vancomycin"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6c465257f2fbd2c1f861c7e"}, {"db_id": "mimic_iii", "question": "what is the total amount of gammagard s/d that patient 32606 has been prescribed during their first hospital visit?", "template": "what was the total amount of dose of gammagard s/d that patient 32606 were prescribed on the first hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32606 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'gammagard s/d'", "value": {"drug_name": "gammagard s/d", "patient_id": 32606}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb61fcb582b69a37872c4cf1"}, {"db_id": "mimic_iii", "question": "how much potassium chl 40 meq / 1000 ml d5 1/2 ns was prescribed to patient 73713, in total in this hospital visit?", "template": "what was the total amount of dose of potassium chl 40 meq / 1000 ml d5 1/2 ns that patient 73713 were prescribed on the current hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 and admissions.dischtime is null ) and prescriptions.drug = 'potassium chl 40 meq / 1000 ml d5 1/2 ns'", "value": {"drug_name": "potassium chl 40 meq / 1000 ml d5 1/2 ns", "patient_id": 73713}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57f40bdb0607690d42fdc741"}, {"db_id": "mimic_iii", "question": "what is the total dosage of bag that was prescribed to patient 14397 since 34 months ago?", "template": "what was the total amount of dose of bag that patient 14397 were prescribed since 34 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) and prescriptions.drug = 'bag' and datetime(prescriptions.startdate) >= datetime(current_time,'-34 month')", "value": {"patient_id": 14397, "drug_name": "bag"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb9b507860f9e1a78271f1fd"}, {"db_id": "mimic_iii", "question": "how much hydromorphone (dilaudid) has been prescribed in their first hospital encounter to patient 26995 overall?", "template": "what was the total amount of dose of hydromorphone (dilaudid) that patient 26995 were prescribed on the first hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26995 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'hydromorphone (dilaudid)'", "value": {"patient_id": 26995, "drug_name": "hydromorphone (dilaudid)"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a14a0d1970894784119ec0c5"}, {"db_id": "mimic_iii", "question": "tell me the total dose of prismasate (b22 k4) prescribed to patient 3403 in 07/this year?", "template": "what was the total amount of dose of prismasate (b22 k4) that patient 3403 were prescribed in 07/this year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and prescriptions.drug = 'prismasate (b22 k4)' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '07'", "value": {"drug_name": "prismasate (b22 k4)", "patient_id": 3403}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53d9223ced6f3f2bf71a9c54"}, {"db_id": "mimic_iii", "question": "how much furosemide were prescribed to patient 83901 in total during the previous month?", "template": "what was the total amount of dose of furosemide that patient 83901 were prescribed last month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83901 ) and prescriptions.drug = 'furosemide' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"drug_name": "furosemide", "patient_id": 83901}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb49ef3b01f874f83d739a56"}, {"db_id": "mimic_iii", "question": "what's the total furosemide dose that patient 3929 has been prescribed in 05/2105?", "template": "what was the total amount of dose of furosemide that patient 3929 were prescribed in 05/2105?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and prescriptions.drug = 'furosemide' and strftime('%y-%m',prescriptions.startdate) = '2105-05'", "value": {"patient_id": 3929, "drug_name": "furosemide"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd0267589f6d64e7fe633558"}, {"db_id": "mimic_iii", "question": "what is the total lactulose dose that has been prescribed to patient 6990?", "template": "what was the total amount of dose of lactulose that patient 6990 were prescribed?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6990 ) and prescriptions.drug = 'lactulose'", "value": {"patient_id": 6990, "drug_name": "lactulose"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed4543f52a3ee716e6ca0320"}, {"db_id": "mimic_iii", "question": "what is the total amount of syringe (neonatal) *d5w* prescribed to patient 6170 since 12/2105?", "template": "what was the total amount of dose of syringe (neonatal) *d5w* that patient 6170 were prescribed since 12/2105?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and prescriptions.drug = 'syringe (neonatal) *d5w*' and strftime('%y-%m',prescriptions.startdate) >= '2105-12'", "value": {"drug_name": "syringe (neonatal) *d5w*", "patient_id": 6170}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84d1410868d8ab15ee29721a"}, {"db_id": "mimic_iii", "question": "how much oxycodone-acetaminophen has been prescribed to patient 57050 in this hospital encounter?", "template": "what was the total amount of dose of oxycodone-acetaminophen that patient 57050 were prescribed on the current hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) and prescriptions.drug = 'oxycodone-acetaminophen'", "value": {"drug_name": "oxycodone-acetaminophen", "patient_id": 57050}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de5f11c37485c8556d29a2ea"}, {"db_id": "mimic_iii", "question": "what was the total dose of heparin patient 808 was prescribed this month.", "template": "what was the total amount of dose of heparin that patient 808 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and prescriptions.drug = 'heparin' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 808, "drug_name": "heparin"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f0cbda93a25bb030ccc2da3b"}, {"db_id": "mimic_iii", "question": "how much of 0.9% sodium chloride (mini bag plus) has been prescribed to patient 62298 in total in 07/this year?", "template": "what was the total amount of dose of 0.9% sodium chloride (mini bag plus) that patient 62298 were prescribed in 07/this year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62298 ) and prescriptions.drug = '0.9% sodium chloride (mini bag plus)' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '07'", "value": {"patient_id": 62298, "drug_name": "0.9% sodium chloride (mini bag plus)"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe816af549d75e545f164e78"}, {"db_id": "mimic_iii", "question": "what is the total ondansetron dose that patient 1561 was prescribed in 12/this year?", "template": "what was the total amount of dose of ondansetron that patient 1561 were prescribed in 12/this year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and prescriptions.drug = 'ondansetron' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12'", "value": {"patient_id": 1561, "drug_name": "ondansetron"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "742948672090dd2fe02fef8f"}, {"db_id": "mimic_iii", "question": "what is the total amount of salsalate that has been prescribed to patient 69761 until 11/2105?", "template": "what was the total amount of dose of salsalate that patient 69761 were prescribed until 11/2105?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 69761 ) and prescriptions.drug = 'salsalate' and strftime('%y-%m',prescriptions.startdate) <= '2105-11'", "value": {"drug_name": "salsalate", "patient_id": 69761}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "68c2f78b08c091fdd2633b97"}, {"db_id": "mimic_iii", "question": "in 11/last year, how much furosemide was prescribed to patient 5561 in total?", "template": "what was the total amount of dose of furosemide that patient 5561 were prescribed in 11/last year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5561 ) and prescriptions.drug = 'furosemide' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11'", "value": {"patient_id": 5561, "drug_name": "furosemide"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ad6fbd6493654064605e6bb"}, {"db_id": "mimic_iii", "question": "what is the total dosage of chlorhexidine gluconate 0.12% oral rinse that patient 57050 has been prescribed in this month?", "template": "what was the total amount of dose of chlorhexidine gluconate 0.12% oral rinse that patient 57050 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 ) and prescriptions.drug = 'chlorhexidine gluconate 0.12% oral rinse' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 57050, "drug_name": "chlorhexidine gluconate 0.12% oral rinse"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d97543ce54497011f89b916"}, {"db_id": "mimic_iii", "question": "what was a total dose of bupivacaine 0.75% that patient 60142 had been prescribed since 05/2101?", "template": "what was the total amount of dose of bupivacaine 0.75% that patient 60142 were prescribed since 05/2101?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60142 ) and prescriptions.drug = 'bupivacaine 0.75%' and strftime('%y-%m',prescriptions.startdate) >= '2101-05'", "value": {"drug_name": "bupivacaine 0.75%", "patient_id": 60142}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4294980871699ba360249af"}, {"db_id": "mimic_iii", "question": "what is the amount of bisacodyl dose prescribed to patient 16554 since 01/2105?", "template": "what was the total amount of dose of bisacodyl that patient 16554 were prescribed since 01/2105?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16554 ) and prescriptions.drug = 'bisacodyl' and strftime('%y-%m',prescriptions.startdate) >= '2105-01'", "value": {"patient_id": 16554, "drug_name": "bisacodyl"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d8956ad4371c70fd1d2f4c63"}, {"db_id": "mimic_iii", "question": "what was the total dose of aspirin that had been prescribed to patient 19175 during the last month?", "template": "what was the total amount of dose of aspirin that patient 19175 were prescribed last month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) and prescriptions.drug = 'aspirin' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"patient_id": 19175, "drug_name": "aspirin"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6f4d1126539999734457984"}, {"db_id": "mimic_iii", "question": "what is the total acetaminophen dose that has been prescribed this month to patient 12927?", "template": "what was the total amount of dose of acetaminophen that patient 12927 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 ) and prescriptions.drug = 'acetaminophen' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 12927, "drug_name": "acetaminophen"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d54f9c08a5e48c2280c2ce2"}, {"db_id": "mimic_iii", "question": "what is the total dose of calcium carbonate that in 04/last year patient 9038 has been prescribed?", "template": "what was the total amount of dose of calcium carbonate that patient 9038 were prescribed in 04/last year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9038 ) and prescriptions.drug = 'calcium carbonate' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '04'", "value": {"drug_name": "calcium carbonate", "patient_id": 9038}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7138b4f0c51046c4fba040af"}, {"db_id": "mimic_iii", "question": "tell me the total bag dose that patient 9338 has been prescribed until 07/2104?", "template": "what was the total amount of dose of bag that patient 9338 were prescribed until 07/2104?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9338 ) and prescriptions.drug = 'bag' and strftime('%y-%m',prescriptions.startdate) <= '2104-07'", "value": {"patient_id": 9338, "drug_name": "bag"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6dc17c4fd9549000b41ad494"}, {"db_id": "mimic_iii", "question": "how many dose of tricor has been prescribed to patient 29741 in the first hospital encounter?", "template": "what was the total amount of dose of tricor that patient 29741 were prescribed on the first hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29741 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'tricor'", "value": {"drug_name": "tricor", "patient_id": 29741}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b43caaea4224eabfa85a17c6"}, {"db_id": "mimic_iii", "question": "what is the amount of phenytoin sodium prescribed to patient 32168 totally until 47 months ago?", "template": "what was the total amount of dose of phenytoin sodium that patient 32168 were prescribed until 47 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32168 ) and prescriptions.drug = 'phenytoin sodium' and datetime(prescriptions.startdate) <= datetime(current_time,'-47 month')", "value": {"patient_id": 32168, "drug_name": "phenytoin sodium"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdb97fa2640045b457c95a81"}, {"db_id": "mimic_iii", "question": "tell me the total dose of desitin dosage that patient 13841 had been prescribed since 160 months ago?", "template": "what was the total amount of dose of desitin that patient 13841 were prescribed since 160 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13841 ) and prescriptions.drug = 'desitin' and datetime(prescriptions.startdate) >= datetime(current_time,'-160 month')", "value": {"drug_name": "desitin", "patient_id": 13841}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b64d4e851790ee05c7829ede"}, {"db_id": "mimic_iii", "question": "what is the total dose cefepime that patient 30460 has been prescribed in 03/2104?", "template": "what was the total amount of dose of cefepime that patient 30460 were prescribed in 03/2104?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30460 ) and prescriptions.drug = 'cefepime' and strftime('%y-%m',prescriptions.startdate) = '2104-03'", "value": {"drug_name": "cefepime", "patient_id": 30460}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75ad5df0942d0251e3239dc8"}, {"db_id": "mimic_iii", "question": "how much azithromycin dose has been prescribed to patient 50065 since 04/2104?", "template": "what was the total amount of dose of azithromycin that patient 50065 were prescribed since 04/2104?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 50065 ) and prescriptions.drug = 'azithromycin' and strftime('%y-%m',prescriptions.startdate) >= '2104-04'", "value": {"patient_id": 50065, "drug_name": "azithromycin"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "24ddb4cf168d668bcbca7f22"}, {"db_id": "mimic_iii", "question": "how much of pioglitazone was prescribed to patient 16992 in total?", "template": "what was the total amount of dose of pioglitazone that patient 16992 were prescribed?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16992 ) and prescriptions.drug = 'pioglitazone'", "value": {"drug_name": "pioglitazone", "patient_id": 16992}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c4ffbb1155c2f55473aa0e1"}, {"db_id": "mimic_iii", "question": "what was the amount of normocarb prescribed to patient 28484,, in total, until 63 months ago?", "template": "what was the total amount of dose of normocarb that patient 28484 were prescribed until 63 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 ) and prescriptions.drug = 'normocarb' and datetime(prescriptions.startdate) <= datetime(current_time,'-63 month')", "value": {"drug_name": "normocarb", "patient_id": 28484}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6914290d2cd90dd2298d5f1d"}, {"db_id": "mimic_iii", "question": "what was the total dose of furosemide patient 72909 had been prescribed during this month.", "template": "what was the total amount of dose of furosemide that patient 72909 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 ) and prescriptions.drug = 'furosemide' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 72909, "drug_name": "furosemide"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "acd95a58227d6a0963ebda15"}, {"db_id": "mimic_iii", "question": "tell me the total dose of phenytoin sodium patient 15209 has been prescribed on the current hospital encounter?", "template": "what was the total amount of dose of phenytoin sodium that patient 15209 were prescribed on the current hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15209 and admissions.dischtime is null ) and prescriptions.drug = 'phenytoin sodium'", "value": {"patient_id": 15209, "drug_name": "phenytoin sodium"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7129a007ca2d3857fb492925"}, {"db_id": "mimic_iii", "question": "how much sertraline has been prescribed to patient 64292 in 02/this year in total?", "template": "what was the total amount of dose of sertraline that patient 64292 were prescribed in 02/this year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64292 ) and prescriptions.drug = 'sertraline' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '02'", "value": {"patient_id": 64292, "drug_name": "sertraline"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "135974932ed0e7e5480f3e7f"}, {"db_id": "mimic_iii", "question": "what was the docusate sodium dosage that patient 18678 had been prescribed?", "template": "what was the total amount of dose of docusate sodium that patient 18678 were prescribed?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18678 ) and prescriptions.drug = 'docusate sodium'", "value": {"patient_id": 18678, "drug_name": "docusate sodium"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bf3961068ad5bc15083c1ca"}, {"db_id": "mimic_iii", "question": "what amount of furosemide had been prescribed to patient 88659 in total since 09/2104?", "template": "what was the total amount of dose of furosemide that patient 88659 were prescribed since 09/2104?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88659 ) and prescriptions.drug = 'furosemide' and strftime('%y-%m',prescriptions.startdate) >= '2104-09'", "value": {"patient_id": 88659, "drug_name": "furosemide"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c762217b15de4da775f02b6"}, {"db_id": "mimic_iii", "question": "what is the total dose of ns that patient 63781 was prescribed until 03/2103?", "template": "what was the total amount of dose of ns that patient 63781 were prescribed until 03/2103?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63781 ) and prescriptions.drug = 'ns' and strftime('%y-%m',prescriptions.startdate) <= '2103-03'", "value": {"patient_id": 63781, "drug_name": "ns"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6957135c0cfda5df18b5083"}, {"db_id": "mimic_iii", "question": "how much fluticasone propionate 110mcg was prescribed to patient 71558 in total since 12/2105?", "template": "what was the total amount of dose of fluticasone propionate 110mcg that patient 71558 were prescribed since 12/2105?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71558 ) and prescriptions.drug = 'fluticasone propionate 110mcg' and strftime('%y-%m',prescriptions.startdate) >= '2105-12'", "value": {"drug_name": "fluticasone propionate 110mcg", "patient_id": 71558}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10ae917a62ca1549c00720c6"}, {"db_id": "mimic_iii", "question": "tell me the dose of ipratropium bromide that patient 60180 had been prescribed since 05/2104?", "template": "what was the total amount of dose of ipratropium bromide that patient 60180 were prescribed since 05/2104?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60180 ) and prescriptions.drug = 'ipratropium bromide' and strftime('%y-%m',prescriptions.startdate) >= '2104-05'", "value": {"drug_name": "ipratropium bromide", "patient_id": 60180}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b02305b4d3effbde4f7fe39f"}, {"db_id": "mimic_iii", "question": "what is the total bag dose that until 51 months ago patient 27591 has been prescribed?", "template": "what was the total amount of dose of bag that patient 27591 were prescribed until 51 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27591 ) and prescriptions.drug = 'bag' and datetime(prescriptions.startdate) <= datetime(current_time,'-51 month')", "value": {"drug_name": "bag", "patient_id": 27591}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e474acc57cc749f8501fecb6"}, {"db_id": "mimic_iii", "question": "what was the total hemorrhoidal suppository dose that was prescribed on the last hospital encounter to patient 50480?", "template": "what was the total amount of dose of hemorrhoidal suppository that patient 50480 were prescribed on the last hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 50480 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'hemorrhoidal suppository'", "value": {"patient_id": 50480, "drug_name": "hemorrhoidal suppository"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17450c7bbe8de8dab509e55b"}, {"db_id": "mimic_iii", "question": "tell me the dose of ns (syringe) that patient 30267 was prescribed in their last hospital encounter?", "template": "what was the total amount of dose of ns (syringe) that patient 30267 were prescribed on the last hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30267 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'ns (syringe)'", "value": {"drug_name": "ns (syringe)", "patient_id": 30267}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a80b6f5e70964d026bd9658f"}, {"db_id": "mimic_iii", "question": "how much insulin had been prescribed to patient 3929 in total this month?", "template": "what was the total amount of dose of insulin that patient 3929 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and prescriptions.drug = 'insulin' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 3929, "drug_name": "insulin"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9f55b6d09afc763638717db"}, {"db_id": "mimic_iii", "question": "what was the total of prednisone patient 1372 had been prescribed until 69 months ago?", "template": "what was the total amount of dose of prednisone that patient 1372 were prescribed until 69 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and prescriptions.drug = 'prednisone' and datetime(prescriptions.startdate) <= datetime(current_time,'-69 month')", "value": {"patient_id": 1372, "drug_name": "prednisone"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4cb8e0ce10395be85a02ecfc"}, {"db_id": "mimic_iii", "question": "what was the dose of captopril patient 9566 was prescribed in the current hospital encounter?", "template": "what was the total amount of dose of captopril that patient 9566 were prescribed on the current hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 and admissions.dischtime is null ) and prescriptions.drug = 'captopril'", "value": {"patient_id": 9566, "drug_name": "captopril"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45673786ae5ee00a77a51d89"}, {"db_id": "mimic_iii", "question": "what's the total amount of fludrocortisone acetate that they prescribed to patient 24330?", "template": "what was the total amount of dose of fludrocortisone acetate that patient 24330 were prescribed?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24330 ) and prescriptions.drug = 'fludrocortisone acetate'", "value": {"drug_name": "fludrocortisone acetate", "patient_id": 24330}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9b2f8d6413733bc6b8859ea"}, {"db_id": "mimic_iii", "question": "what is the total dose of dorzolamide 2%/timolol 0.5% ophth. that is prescribed to patient 2425 until 48 months ago?", "template": "what was the total amount of dose of dorzolamide 2%/timolol 0.5% ophth. that patient 2425 were prescribed until 48 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2425 ) and prescriptions.drug = 'dorzolamide 2%/timolol 0.5% ophth.' and datetime(prescriptions.startdate) <= datetime(current_time,'-48 month')", "value": {"drug_name": "dorzolamide 2%/timolol 0.5% ophth.", "patient_id": 2425}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e5f2ae84557bb8a1f4f49d8d"}, {"db_id": "mimic_iii", "question": "how much bag is prescribed to patient 9338 in total until 07/2104?", "template": "what was the total amount of dose of bag that patient 9338 were prescribed until 07/2104?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9338 ) and prescriptions.drug = 'bag' and strftime('%y-%m',prescriptions.startdate) <= '2104-07'", "value": {"patient_id": 9338, "drug_name": "bag"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b055d3d9598e5a233b3f2247"}, {"db_id": "mimic_iii", "question": "how much atorvastatin is prescribed to patient 7698 a month before?", "template": "what was the total amount of dose of atorvastatin that patient 7698 were prescribed last month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) and prescriptions.drug = 'atorvastatin' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"drug_name": "atorvastatin", "patient_id": 7698}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ea146abba9d8f89536b9e1f"}, {"db_id": "mimic_iii", "question": "what's the total dose of gentamicin sulfate that patient 40435 has been prescribed until 11/2105?", "template": "what was the total amount of dose of gentamicin sulfate that patient 40435 were prescribed until 11/2105?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 ) and prescriptions.drug = 'gentamicin sulfate' and strftime('%y-%m',prescriptions.startdate) <= '2105-11'", "value": {"drug_name": "gentamicin sulfate", "patient_id": 40435}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3ea52597d290decac8c7c05"}, {"db_id": "mimic_iii", "question": "how many of metoprolol were prescribed to patient 92846 in total in this hospital visit?", "template": "what was the total amount of dose of metoprolol that patient 92846 were prescribed on the current hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 and admissions.dischtime is null ) and prescriptions.drug = 'metoprolol'", "value": {"patient_id": 92846, "drug_name": "metoprolol"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "748385925b60ed75709dbb73"}, {"db_id": "mimic_iii", "question": "what was the dose of atenolol patient 8016 was prescribed last month?", "template": "what was the total amount of dose of atenolol that patient 8016 were prescribed last month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) and prescriptions.drug = 'atenolol' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"patient_id": 8016, "drug_name": "atenolol"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "04aa14d44e1e07765c968edb"}, {"db_id": "mimic_iii", "question": "what is the total dosage of levothyroxine sodium that patient 5887 has been prescribed in 11/this year?", "template": "what was the total amount of dose of levothyroxine sodium that patient 5887 were prescribed in 11/this year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5887 ) and prescriptions.drug = 'levothyroxine sodium' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '11'", "value": {"patient_id": 5887, "drug_name": "levothyroxine sodium"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "89f57652d5af6cb07c532490"}, {"db_id": "mimic_iii", "question": "tell me the total magnesium sulfate dose that patient 11426 has been prescribed until 36 months ago?", "template": "what was the total amount of dose of magnesium sulfate that patient 11426 were prescribed until 36 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11426 ) and prescriptions.drug = 'magnesium sulfate' and datetime(prescriptions.startdate) <= datetime(current_time,'-36 month')", "value": {"patient_id": 11426, "drug_name": "magnesium sulfate"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac36884ba19eeb65eeac759a"}, {"db_id": "mimic_iii", "question": "tell me the dose of ibuprofen that patient 99747 had been prescribed in 11/this year?", "template": "what was the total amount of dose of ibuprofen that patient 99747 were prescribed in 11/this year?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99747 ) and prescriptions.drug = 'ibuprofen' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '11'", "value": {"drug_name": "ibuprofen", "patient_id": 99747}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb7c54df1c03b498751fc472"}, {"db_id": "mimic_iii", "question": "tell me the dose of d5w (glass bottle) that patient 65582 had been prescribed in this month?", "template": "what was the total amount of dose of d5w (glass bottle) that patient 65582 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and prescriptions.drug = 'd5w (glass bottle)' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 65582, "drug_name": "d5w (glass bottle)"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80a52d0481e10192c6c8a45d"}, {"db_id": "mimic_iii", "question": "how much dapsone is prescribed to patient 95986 in total on the last hospital visit?", "template": "what was the total amount of dose of dapsone that patient 95986 were prescribed on the last hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95986 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'dapsone'", "value": {"drug_name": "dapsone", "patient_id": 95986}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "85608dc9e9b3444e5205933c"}, {"db_id": "mimic_iii", "question": "how many total doses of syringe (iv room) was prescribed to patient 77980 until 50 months ago?", "template": "what was the total amount of dose of syringe (iv room) that patient 77980 were prescribed until 50 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77980 ) and prescriptions.drug = 'syringe (iv room)' and datetime(prescriptions.startdate) <= datetime(current_time,'-50 month')", "value": {"drug_name": "syringe (iv room)", "patient_id": 77980}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ee0de2b9ae9058b24087459"}, {"db_id": "mimic_iii", "question": "what is the amount of ranitidine dose prescribed to patient 88441?", "template": "what was the total amount of dose of ranitidine that patient 88441 were prescribed?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88441 ) and prescriptions.drug = 'ranitidine'", "value": {"patient_id": 88441, "drug_name": "ranitidine"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "576609e81bd6bec8669632a3"}, {"db_id": "mimic_iii", "question": "how many of d5 1/2ns were prescribed to patient 18677 in total in this month?", "template": "what was the total amount of dose of d5 1/2ns that patient 18677 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) and prescriptions.drug = 'd5 1/2ns' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 18677, "drug_name": "d5 1/2ns"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed1f82bc732a84494e18a332"}, {"db_id": "mimic_iii", "question": "tell me the total dose of furosemide prescribed to patient 40059 since 150 months ago?", "template": "what was the total amount of dose of furosemide that patient 40059 were prescribed since 150 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 ) and prescriptions.drug = 'furosemide' and datetime(prescriptions.startdate) >= datetime(current_time,'-150 month')", "value": {"patient_id": 40059, "drug_name": "furosemide"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dedbc7fb0adb83ab0b414339"}, {"db_id": "mimic_iii", "question": "what is the total amount of furosemide that has been prescribed to patient 72909 this month?", "template": "what was the total amount of dose of furosemide that patient 72909 were prescribed this month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 ) and prescriptions.drug = 'furosemide' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 72909, "drug_name": "furosemide"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a2fe512c062b22cfe4e4e70"}, {"db_id": "mimic_iii", "question": "until 5 months ago, how much terazosin has been prescribed to patient 64538 in total?", "template": "what was the total amount of dose of terazosin that patient 64538 were prescribed until 5 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64538 ) and prescriptions.drug = 'terazosin' and datetime(prescriptions.startdate) <= datetime(current_time,'-5 month')", "value": {"drug_name": "terazosin", "patient_id": 64538}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3653a27e6adb7049d8aea215"}, {"db_id": "mimic_iii", "question": "what was the total chlorpromazine dose that was prescribed since 15 months ago to patient 76275?", "template": "what was the total amount of dose of chlorpromazine that patient 76275 were prescribed since 15 month ago?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76275 ) and prescriptions.drug = 'chlorpromazine' and datetime(prescriptions.startdate) >= datetime(current_time,'-15 month')", "value": {"drug_name": "chlorpromazine", "patient_id": 76275}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "426d295bb0b1e087a1d17b4e"}, {"db_id": "mimic_iii", "question": "how much ipratropium bromide neb is prescribed to patient 78076 in total in 10/2101?", "template": "what was the total amount of dose of ipratropium bromide neb that patient 78076 were prescribed in 10/2101?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78076 ) and prescriptions.drug = 'ipratropium bromide neb' and strftime('%y-%m',prescriptions.startdate) = '2101-10'", "value": {"drug_name": "ipratropium bromide neb", "patient_id": 78076}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "05dffb4e49e5027321f3faa8"}, {"db_id": "mimic_iii", "question": "what is the total dose heparin sodium that patient 11826 has been prescribed during their current hospital encounter?", "template": "what was the total amount of dose of heparin sodium that patient 11826 were prescribed on the current hospital visit?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11826 and admissions.dischtime is null ) and prescriptions.drug = 'heparin sodium'", "value": {"drug_name": "heparin sodium", "patient_id": 11826}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a2382fb26af51cedb504ecb"}, {"db_id": "mimic_iii", "question": "how much levothyroxine sodium dose has been prescribed to patient 5887 last month?", "template": "what was the total amount of dose of levothyroxine sodium that patient 5887 were prescribed last month?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5887 ) and prescriptions.drug = 'levothyroxine sodium' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"patient_id": 5887, "drug_name": "levothyroxine sodium"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6ec9e339f8a95611f26d1f7"}, {"db_id": "mimic_iii", "question": "how much ipratropium bromide neb dose has been prescribed to patient 3229 since 12/2105?", "template": "what was the total amount of dose of ipratropium bromide neb that patient 3229 were prescribed since 12/2105?", "query": "select sum(prescriptions.dose_val_rx) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3229 ) and prescriptions.drug = 'ipratropium bromide neb' and strftime('%y-%m',prescriptions.startdate) >= '2105-12'", "value": {"patient_id": 3229, "drug_name": "ipratropium bromide neb"}, "q_tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total amount of dose of {drug_name} that patient {patient_id} were prescribed [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7abbe4ac6a38e3fc95073279"}, {"db_id": "mimic_iii", "question": "what was the name of the drug, which patient 20801 had been prescribed two times until 09/2105?", "template": "what was the name of the drug that patient 20801 were prescribed two times until 09/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20801 ) and strftime('%y-%m',prescriptions.startdate) <= '2105-09' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 20801}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9415feb958f01ca68921517"}, {"db_id": "mimic_iii", "question": "what was the drug which during the first hospital encounter had been prescribed to patient 95235 two times?", "template": "what was the name of the drug that patient 95235 were prescribed two times on the first hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95235 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 95235}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "01dad0d4205301b5598a70e8"}, {"db_id": "mimic_iii", "question": "what is the drug that in their first hospital encounter patient 61751 has been prescribed two times?", "template": "what was the name of the drug that patient 61751 were prescribed two times on the first hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61751 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 61751}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce09d46c4460694c8686a915"}, {"db_id": "mimic_iii", "question": "what name was the drug that patient 7375 had been prescribed two times until 08/2101?", "template": "what was the name of the drug that patient 7375 were prescribed two times until 08/2101?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 ) and strftime('%y-%m',prescriptions.startdate) <= '2101-08' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 7375}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbf6d93e5ff945d7e7aac424"}, {"db_id": "mimic_iii", "question": "what is a drug that patient 73075 was prescribed two times since 11/2100?", "template": "what was the name of the drug that patient 73075 were prescribed two times since 11/2100?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73075 ) and strftime('%y-%m',prescriptions.startdate) >= '2100-11' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 73075}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ff397d9ee00f2fbc16fdaae"}, {"db_id": "mimic_iii", "question": "what was the prescription drug that patient 27172 had received two or more times in 10/this year?", "template": "what was the name of the drug that patient 27172 were prescribed two or more times in 10/this year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '10' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 27172}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e85ecf1f62a260a9b252091"}, {"db_id": "mimic_iii", "question": "what was the drug patient 22648 had been prescribed two or more times in this month?", "template": "what was the name of the drug that patient 22648 were prescribed two or more times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 22648}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef974c5eace75456a98e4d4c"}, {"db_id": "mimic_iii", "question": "what was the name of the drug patient 3929 was prescribed in 05/2105 two or more times?", "template": "what was the name of the drug that patient 3929 were prescribed two or more times in 05/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and strftime('%y-%m',prescriptions.startdate) = '2105-05' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 3929}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ae25dc6024db314e3b29386"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 30296 had been prescribed two times in 05/this year?", "template": "what was the name of the drug that patient 30296 were prescribed two times in 05/this year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30296 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 30296}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8d0d67c86367b4d162d9e83"}, {"db_id": "mimic_iii", "question": "what was the drug that until 11/2104 patient 88573 had been prescribed two times?", "template": "what was the name of the drug that patient 88573 were prescribed two times until 11/2104?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88573 ) and strftime('%y-%m',prescriptions.startdate) <= '2104-11' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 88573}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09a93fc358ed64e393858082"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that patient 6440 had been prescribed for two times since 58 months ago?", "template": "what was the name of the drug that patient 6440 were prescribed two times since 58 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6440 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-58 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 6440}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9fefdc47fa38cdc8bd18ea6"}, {"db_id": "mimic_iii", "question": "what is the name of a drug that patient 55281 has been prescribed for two times during their current hospital visit?", "template": "what was the name of the drug that patient 55281 were prescribed two times on the current hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55281 and admissions.dischtime is null ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 55281}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "228170f2786149f740339f5b"}, {"db_id": "mimic_iii", "question": "what was the drug patient 2127 had been prescribed until 20 months ago two or more times.", "template": "what was the name of the drug that patient 2127 were prescribed two or more times until 20 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2127 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-20 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 2127}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdbcf64cdb46bc1daf8260ce"}, {"db_id": "mimic_iii", "question": "what is the name of a drug patient 94229 had been prescribed two times in the current hospital encounter?", "template": "what was the name of the drug that patient 94229 were prescribed two times on the current hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 94229}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18d2aa15658494c76c396912"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 98229 has been prescribed two times during their first hospital visit?", "template": "what was the name of the drug that patient 98229 were prescribed two times on the first hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98229 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 98229}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55d7925a5de02130c59c41a3"}, {"db_id": "mimic_iii", "question": "what was the medication patient 77586 had been prescribed two or more times in the last hospital encounter?", "template": "what was the name of the drug that patient 77586 were prescribed two or more times on the last hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77586 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 77586}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "626788af65441aeb75a2b4f4"}, {"db_id": "mimic_iii", "question": "what drug has patient 78641 been prescribed two or more times?", "template": "what was the name of the drug that patient 78641 were prescribed two or more times?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78641 ) group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 78641}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0363f04ca87d66395f603bd"}, {"db_id": "mimic_iii", "question": "what's the name of the drug that patient 1417's been prescribed two times since 18 months ago?", "template": "what was the name of the drug that patient 1417 were prescribed two times since 18 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1417 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-18 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 1417}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c47d06c13f26f0cb40958084"}, {"db_id": "mimic_iii", "question": "what is the name of the drug which has been prescribed to patient 30307 two times?", "template": "what was the name of the drug that patient 30307 were prescribed two times?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30307 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 30307}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfa7ed8c484a070daf870d70"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that patient 433 had been prescribed two or more times?", "template": "what was the name of the drug that patient 433 were prescribed two or more times?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 433}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8ee18d0f3f82c290c0877ce"}, {"db_id": "mimic_iii", "question": "what drug is prescribed to patient 3125 two or more times since 10/2105?", "template": "what was the name of the drug that patient 3125 were prescribed two or more times since 10/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and strftime('%y-%m',prescriptions.startdate) >= '2105-10' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 3125}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69b2cadef718c4fe4c78335b"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed during their first hospital visit to patient 30171 two or more times?", "template": "what was the name of the drug that patient 30171 were prescribed two or more times on the first hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30171 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 30171}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "947ca33db8d04f7ef3b1eef6"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that's been prescribed to patient 73713 two times during their first hospital visit?", "template": "what was the name of the drug that patient 73713 were prescribed two times on the first hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 73713}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6c56892f074f42ab5ef76c2"}, {"db_id": "mimic_iii", "question": "what's the name of the drug that patient 96429 was prescribed two times until 03/2104?", "template": "what was the name of the drug that patient 96429 were prescribed two times until 03/2104?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96429 ) and strftime('%y-%m',prescriptions.startdate) <= '2104-03' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 96429}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "442923ac00251c0b0e71d07d"}, {"db_id": "mimic_iii", "question": "what is the prescription drug patient 808 has been prescribed two times this month?", "template": "what was the name of the drug that patient 808 were prescribed two times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 808}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3535384e0bb092d566a5ae9d"}, {"db_id": "mimic_iii", "question": "what's the drug patient 56201 was prescribed two times in 02/2105?", "template": "what was the name of the drug that patient 56201 were prescribed two times in 02/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56201 ) and strftime('%y-%m',prescriptions.startdate) = '2105-02' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 56201}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a60793325abb6bc9fc2c71db"}, {"db_id": "mimic_iii", "question": "what is the drug that has been prescribed patient 30307 for two times in the last hospital encounter?", "template": "what was the name of the drug that patient 30307 were prescribed two times on the last hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30307 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 30307}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ed0e95541aaedb93de88417"}, {"db_id": "mimic_iii", "question": "what was the drug that patient 21110 had been prescribed two times a month before.", "template": "what was the name of the drug that patient 21110 were prescribed two times last month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21110 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 21110}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc2d8d202b9f8c333ea9998d"}, {"db_id": "mimic_iii", "question": "what is the drug they has prescribed to patient 73713 two times in 12/last year?", "template": "what was the name of the drug that patient 73713 were prescribed two times in 12/last year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '12' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 73713}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "980f7f7eb0b527d431840369"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that patient 92788 had been prescribed two times in this hospital encounter.", "template": "what was the name of the drug that patient 92788 were prescribed two times on the current hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 92788}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c26f9787f6cdbf9ac0dd502a"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed to patient 7112, two or more times during this month?", "template": "what was the name of the drug that patient 7112 were prescribed two or more times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 7112}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d808b755133b0034344257f5"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that has been prescribed two times since 02/2102 to patient 7476?", "template": "what was the name of the drug that patient 7476 were prescribed two times since 02/2102?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7476 ) and strftime('%y-%m',prescriptions.startdate) >= '2102-02' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 7476}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "abee15f5f5b52fbd73cc24ad"}, {"db_id": "mimic_iii", "question": "what is the drug that patient 30789 was prescribed two times in 01/2104?", "template": "what was the name of the drug that patient 30789 were prescribed two times in 01/2104?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30789 ) and strftime('%y-%m',prescriptions.startdate) = '2104-01' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 30789}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46545a8d582873f1605a0157"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 59728 has been prescribed two or more times until 04/2101?", "template": "what was the name of the drug that patient 59728 were prescribed two or more times until 04/2101?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59728 ) and strftime('%y-%m',prescriptions.startdate) <= '2101-04' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 59728}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd0e9b0b3cf8bbebd0b0610c"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that has been prescribed two times since 01/2105 to patient 88180?", "template": "what was the name of the drug that patient 88180 were prescribed two times since 01/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88180 ) and strftime('%y-%m',prescriptions.startdate) >= '2105-01' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 88180}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ccc5ac0adb3bf07d2a58e91"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 9038 had been prescribed two times in 03/last year?", "template": "what was the name of the drug that patient 9038 were prescribed two times in 03/last year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9038 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 9038}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf11ecea6b8db3f887c67d5d"}, {"db_id": "mimic_iii", "question": "what is a drug that patient 76372 was prescribed two or more times during this month?", "template": "what was the name of the drug that patient 76372 were prescribed two or more times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76372 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 76372}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1e24c03b714eef368b93ebe"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed to patient 20801, two times until 09/2105?", "template": "what was the name of the drug that patient 20801 were prescribed two times until 09/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20801 ) and strftime('%y-%m',prescriptions.startdate) <= '2105-09' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 20801}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20b012a99338b357cda72c5e"}, {"db_id": "mimic_iii", "question": "what is the drug that patient 21079 was prescribed two times?", "template": "what was the name of the drug that patient 21079 were prescribed two times?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21079 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 21079}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c38869e534a5e3fb9e1f2809"}, {"db_id": "mimic_iii", "question": "what was the name of the drug, which patient 54281 had been prescribed two or more times until 8 months ago?", "template": "what was the name of the drug that patient 54281 were prescribed two or more times until 8 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54281 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-8 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 54281}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f8336c0671adc7f006e28d8"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that has been prescribed two times in the current hospital encounter to patient 14467?", "template": "what was the name of the drug that patient 14467 were prescribed two times on the current hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 and admissions.dischtime is null ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 14467}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9be0258006e725d80e5e2018"}, {"db_id": "mimic_iii", "question": "what was the drug that until 28 months ago patient 26218 had been prescribed two times?", "template": "what was the name of the drug that patient 26218 were prescribed two times until 28 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26218 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-28 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 26218}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e32ae439da0e1dbf8ff512f"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed to patient 22756, two times until 17 months ago?", "template": "what was the name of the drug that patient 22756 were prescribed two times until 17 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22756 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-17 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 22756}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd55831c173de9cad5ef9b00"}, {"db_id": "mimic_iii", "question": "what was the drug that patient 5905 had been prescribed two times until 10/2101.", "template": "what was the name of the drug that patient 5905 were prescribed two times until 10/2101?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5905 ) and strftime('%y-%m',prescriptions.startdate) <= '2101-10' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 5905}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1cac3af9c289f73951448d8f"}, {"db_id": "mimic_iii", "question": "what's the name of the drug that patient 49036's been prescribed two times in 09/last year?", "template": "what was the name of the drug that patient 49036 were prescribed two times in 09/last year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49036 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '09' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 49036}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d6270600bdb95891a6a37006"}, {"db_id": "mimic_iii", "question": "what was the drug which in 08/2102 had been prescribed to patient 6440 two times?", "template": "what was the name of the drug that patient 6440 were prescribed two times in 08/2102?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6440 ) and strftime('%y-%m',prescriptions.startdate) = '2102-08' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 6440}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6b8a5a92ff9a39c004f9c96"}, {"db_id": "mimic_iii", "question": "what is the drug that has been prescribed patient 14467 for two or more times in this month?", "template": "what was the name of the drug that patient 14467 were prescribed two or more times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 14467}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a05051a7fae17578e2532751"}, {"db_id": "mimic_iii", "question": "what's the drug patient 81562 was prescribed two times until 13 months ago?", "template": "what was the name of the drug that patient 81562 were prescribed two times until 13 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81562 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-13 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 81562}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f7dbb0287a7898295f0f649"}, {"db_id": "mimic_iii", "question": "what was the drug patient 76173 had been prescribed two times since 04/2101?", "template": "what was the name of the drug that patient 76173 were prescribed two times since 04/2101?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76173 ) and strftime('%y-%m',prescriptions.startdate) >= '2101-04' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 76173}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4963b7b492f5c5389962c7cc"}, {"db_id": "mimic_iii", "question": "what was the drug that in 12/this year patient 40059 had been prescribed two times?", "template": "what was the name of the drug that patient 40059 were prescribed two times in 12/this year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 40059}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e0638cad571b9043c85f4d7"}, {"db_id": "mimic_iii", "question": "what is the drug they has prescribed to patient 10431 two times until 32 months ago?", "template": "what was the name of the drug that patient 10431 were prescribed two times until 32 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-32 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 10431}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9347db595dfa6167f090d5b0"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed to patient 46480, two times until 11/2105?", "template": "what was the name of the drug that patient 46480 were prescribed two times until 11/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 46480 ) and strftime('%y-%m',prescriptions.startdate) <= '2105-11' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 46480}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f4acfe8c9b427e164d6236cc"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 6170 has been prescribed two or more times during the current hospital encounter?", "template": "what was the name of the drug that patient 6170 were prescribed two or more times on the current hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 and admissions.dischtime is null ) group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 6170}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "446b9c2a872840012ec49123"}, {"db_id": "mimic_iii", "question": "what was the drug that patient 28447 had been prescribed two times this month.", "template": "what was the name of the drug that patient 28447 were prescribed two times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 28447}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ba53a391d40b310274eac271"}, {"db_id": "mimic_iii", "question": "what was the medication patient 22897 had been prescribed two times on their first hospital visit?", "template": "what was the name of the drug that patient 22897 were prescribed two times on the first hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22897 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 22897}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50b542788b5335a6756964c4"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that has been prescribed two times in their first hospital encounter to patient 64881?", "template": "what was the name of the drug that patient 64881 were prescribed two times on the first hospital visit?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64881 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 64881}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47fe5c39743e1ff90d72ed49"}, {"db_id": "mimic_iii", "question": "what's the name of the drug that patient 41393's been prescribed two or more times until 03/2103?", "template": "what was the name of the drug that patient 41393 were prescribed two or more times until 03/2103?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41393 ) and strftime('%y-%m',prescriptions.startdate) <= '2103-03' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 41393}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac2791e926bd69b32b435b9b"}, {"db_id": "mimic_iii", "question": "what was the drug patient 18457 had been prescribed since 08/2102 two or more times.", "template": "what was the name of the drug that patient 18457 were prescribed two or more times since 08/2102?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18457 ) and strftime('%y-%m',prescriptions.startdate) >= '2102-08' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 18457}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42a59ce1b5532c8fb8abec16"}, {"db_id": "mimic_iii", "question": "what was the drug patient 24029 had been prescribed two or more times in 05/last year?", "template": "what was the name of the drug that patient 24029 were prescribed two or more times in 05/last year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24029 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '05' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 24029}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e42633fb409c5a6d5b8fdd7"}, {"db_id": "mimic_iii", "question": "what is a drug that patient 76005 was prescribed two times since 03/2104?", "template": "what was the name of the drug that patient 76005 were prescribed two times since 03/2104?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76005 ) and strftime('%y-%m',prescriptions.startdate) >= '2104-03' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 76005}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d7655cdc10a6cdbf5876ae76"}, {"db_id": "mimic_iii", "question": "what drug has patient 1902 been prescribed two or more times in 12/2105?", "template": "what was the name of the drug that patient 1902 were prescribed two or more times in 12/2105?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and strftime('%y-%m',prescriptions.startdate) = '2105-12' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 1902}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1465c7657e120533e0f2dc24"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed in the last month to patient 61751 two times?", "template": "what was the name of the drug that patient 61751 were prescribed two times last month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61751 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 61751}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "735d2895f53fc2c50b30a832"}, {"db_id": "mimic_iii", "question": "what was the name of the drug that since 20 months ago patient 88659 had been prescribed two times?", "template": "what was the name of the drug that patient 88659 were prescribed two times since 20 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88659 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-20 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 88659}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c904b56bbe1497588bb3987d"}, {"db_id": "mimic_iii", "question": "what was the medication patient 83901 had been prescribed two or more times last month?", "template": "what was the name of the drug that patient 83901 were prescribed two or more times last month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83901 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 83901}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "191b1b793dbee4a7fc3dcc9b"}, {"db_id": "mimic_iii", "question": "what was the drug that in 08/last year patient 27177 had been prescribed two times?", "template": "what was the name of the drug that patient 27177 were prescribed two times in 08/last year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27177 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 27177}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c2765b17c9ecb834e7f2d6b1"}, {"db_id": "mimic_iii", "question": "what was the drug that patient 11362 had been prescribed two times in 11/this year.", "template": "what was the name of the drug that patient 11362 were prescribed two times in 11/this year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '11' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 11362}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ac11bec500df600075fd8c5"}, {"db_id": "mimic_iii", "question": "what drug is prescribed to patient 68280 two or more times in this month?", "template": "what was the name of the drug that patient 68280 were prescribed two or more times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 68280 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 68280}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5d37d73d47d2dfb04a701fd"}, {"db_id": "mimic_iii", "question": "what is the drug that has been prescribed patient 18677 for two times in this month?", "template": "what was the name of the drug that patient 18677 were prescribed two times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 18677}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d79ff2f27c257e0724dc9800"}, {"db_id": "mimic_iii", "question": "what is the drug that has been prescribed patient 8773 for two times in 12/last year?", "template": "what was the name of the drug that patient 8773 were prescribed two times in 12/last year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8773 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '12' group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 8773}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "be6f775a77d680898d82dab2"}, {"db_id": "mimic_iii", "question": "what is the drug that in the last month patient 11362 has been prescribed two or more times?", "template": "what was the name of the drug that patient 11362 were prescribed two or more times last month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 11362}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "751f7bbd8db7469be92fdb25"}, {"db_id": "mimic_iii", "question": "what is the name of the drug that patient 27242 has been prescribed two or more times in 05/last year?", "template": "what was the name of the drug that patient 27242 were prescribed two or more times in 05/last year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27242 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '05' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 27242}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a37cf42b70b5119e17490d5"}, {"db_id": "mimic_iii", "question": "what was the name of the drug prescribed in 12/this year to patient 15945 two or more times?", "template": "what was the name of the drug that patient 15945 were prescribed two or more times in 12/this year?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 15945}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "786f3ab5d018bc3a034994ea"}, {"db_id": "mimic_iii", "question": "what was the medication patient 26398 had been prescribed two or more times in the previous month?", "template": "what was the name of the drug that patient 26398 were prescribed two or more times last month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26398 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 26398}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a29eb186b231d37fedad595a"}, {"db_id": "mimic_iii", "question": "what was the drug that in this month patient 89875 had been prescribed two or more times?", "template": "what was the name of the drug that patient 89875 were prescribed two or more times this month?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89875 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 89875}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c42b04a33e745ad8ad0ae308"}, {"db_id": "mimic_iii", "question": "what was the name of the drug patient 54390 was prescribed until 24 months ago two times?", "template": "what was the name of the drug that patient 54390 were prescribed two times until 24 month ago?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54390 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-24 month') group by prescriptions.drug ) as t1 where t1.c1 = 2", "value": {"patient_id": 54390}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "two times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two times] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "389749722aa0473a187749b5"}, {"db_id": "mimic_iii", "question": "what drug has patient 77177 been prescribed two or more times?", "template": "what was the name of the drug that patient 77177 were prescribed two or more times?", "query": "select t1.drug from ( select prescriptions.drug, count( prescriptions.startdate ) as c1 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77177 ) group by prescriptions.drug ) as t1 where t1.c1 >= 2", "value": {"patient_id": 77177}, "q_tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times] [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "two or more times", "", "", ""], "tag": "what was the name of the drug that patient {patient_id} were prescribed [n_times:two or more times] [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aabae3828a4c2fa0c6a56ac1"}, {"db_id": "mimic_iii", "question": "what are the drugs being added to patient 808 today compared to the one yesterday?", "template": "what is the new prescription of patient 808 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 808}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b24157576343a5cafdbc6ba3"}, {"db_id": "mimic_iii", "question": "what were the newly prescribed drugs of patient 12726 today compared to those prescribed yesterday?", "template": "what is the new prescription of patient 12726 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 12726}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3224c3fe25aaca3e34249250"}, {"db_id": "mimic_iii", "question": "what were the drugs which were added to patient 90663 today compared to the ones yesterday?", "template": "what is the new prescription of patient 90663 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 90663}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "814b21ef967091ed2133f20c"}, {"db_id": "mimic_iii", "question": "what were the new drugs prescribed to patient 12726 today compared to that yesterday?", "template": "what is the new prescription of patient 12726 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 12726}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8786a4be75f9537b6c621526"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 25733 today compared to the prescription yesterday.", "template": "what is the new prescription of patient 25733 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 25733}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "236ce3608b5da7e63c69f56e"}, {"db_id": "mimic_iii", "question": "what are the new drugs today of patient 10855 compared to those prescribed yesterday?", "template": "what is the new prescription of patient 10855 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 10855}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9769f70bf6be0eebc01bab21"}, {"db_id": "mimic_iii", "question": "what are the drugs that are added to patient 3125 today in comparison to yesterday?", "template": "what is the new prescription of patient 3125 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 3125}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "816cf8cf8b7ab75c46a352e1"}, {"db_id": "mimic_iii", "question": "what were the drugs added to patient 19412 today as compared to the one yesterday?", "template": "what is the new prescription of patient 19412 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 19412}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "083e6acd2d60569f98585b47"}, {"db_id": "mimic_iii", "question": "what drugs are added to patient 15209 today in comparison to the drugs yesterday?", "template": "what is the new prescription of patient 15209 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15209 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15209 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 15209}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e48ec413b7cedd0c3d7af1db"}, {"db_id": "mimic_iii", "question": "what were the medications that were added today versus yesterday to patient 53176?", "template": "what is the new prescription of patient 53176 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 53176}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a24f358ca005ed46f66037f"}, {"db_id": "mimic_iii", "question": "what drugs are being added to patient 42829 today vs. yesterday?", "template": "what is the new prescription of patient 42829 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 42829}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "970e1f9659ed8543f1f8cbae"}, {"db_id": "mimic_iii", "question": "what were the new drugs prescribed for patient 8116 today compared to the ones yesterday?", "template": "what is the new prescription of patient 8116 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 8116}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3fce21545cbaa4b643a7edef"}, {"db_id": "mimic_iii", "question": "what are patient 92846's new drugs today compared to those yesterday?", "template": "what is the new prescription of patient 92846 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 92846}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "573deca430fade6c5cfec219"}, {"db_id": "mimic_iii", "question": "what drugs are being added to patient 13054 today as compared to those yesterday?", "template": "what is the new prescription of patient 13054 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 13054}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b0db51901c3ea467dab1355"}, {"db_id": "mimic_iii", "question": "what new drugs are prescribed to patient 15945 today compared to those yesterday?", "template": "what is the new prescription of patient 15945 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 15945}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63532f25efbafdcd3e9d044e"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 3125 today compared with the prescriptions yesterday?", "template": "what is the new prescription of patient 3125 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 3125}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b62d3cc3515de7490411d4fd"}, {"db_id": "mimic_iii", "question": "compare to yesterday what was new in the prescription of patient 14671 today?", "template": "what is the new prescription of patient 14671 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 14671}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a283622301d64b442d3356d9"}, {"db_id": "mimic_iii", "question": "what are the new medications prescribed for patient 28447 today compared to the ones yesterday?", "template": "what is the new prescription of patient 28447 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 28447}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ecd37f3b6f2f324aac64099c"}, {"db_id": "mimic_iii", "question": "what is the new prescriptions of patient 17462 today compared to the prescriptions yesterday?", "template": "what is the new prescription of patient 17462 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 17462}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0d085f878a493ab15bb6db6"}, {"db_id": "mimic_iii", "question": "what are the new prescription drug of patient 808 today compared to that yesterday?", "template": "what is the new prescription of patient 808 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 808}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4c7a5b4500bd5d16ed29bbf"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 25733 today compared to the ones yesterday?", "template": "what is the new prescription of patient 25733 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 25733}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "72ec7fc167e35d6c3ed6fed8"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 90663 today compared to what they were yesterday?", "template": "what is the new prescription of patient 90663 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 90663}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "788e8c7ae0ec26cc83ccdddd"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 72909 today compared with those yesterday?", "template": "what is the new prescription of patient 72909 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 72909}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5486572620ee9ff42c673586"}, {"db_id": "mimic_iii", "question": "what is patient 17462's new prescription today compared to the prescription given yesterday?", "template": "what is the new prescription of patient 17462 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 17462}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "15a80d9cb7168fb72b004c63"}, {"db_id": "mimic_iii", "question": "what was the new medication of patient 83038 today compared to that of the patient yesterday?", "template": "what is the new prescription of patient 83038 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83038 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83038 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 83038}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6213ae7f1ebd8033f07af626"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 92788 today compared with the prescription yesterday?", "template": "what is the new prescription of patient 92788 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 92788}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f449fec796bb4f963b7f6e42"}, {"db_id": "mimic_iii", "question": "what drugs are being added to patient 92788's today compared to those yesterday?", "template": "what is the new prescription of patient 92788 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 92788}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a48c657498012c4e4ffed47d"}, {"db_id": "mimic_iii", "question": "what is the new medicine prescribed for patient 99647 today compared to the drug yesterday?", "template": "what is the new prescription of patient 99647 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 99647}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fdbae3ef1dfdbe9c13411310"}, {"db_id": "mimic_iii", "question": "what were the drugs that were added to patient 8116 today, compared to those yesterday?", "template": "what is the new prescription of patient 8116 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 8116}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c454fad336eaf9e9be62f703"}, {"db_id": "mimic_iii", "question": "what were the new drugs prescribed for patient 10811 today compared to that prescribed yesterday?", "template": "what is the new prescription of patient 10811 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10811 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10811 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 10811}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0549af2159756d7e38ee1723"}, {"db_id": "mimic_iii", "question": "what were the drugs added to patient 49176 today compared with the ones yesterday?", "template": "what is the new prescription of patient 49176 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 49176}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "baa238b765228d309b047a5c"}, {"db_id": "mimic_iii", "question": "what are the newly prescribed medicines of patient 42473 today compared to that yesterday?", "template": "what is the new prescription of patient 42473 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 42473}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87f2d88e6f3fa0dbb98b0b87"}, {"db_id": "mimic_iii", "question": "compared to yesterday, what was new in the prescription of patient 76327 today?", "template": "what is the new prescription of patient 76327 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 76327}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dcfb4966985df2ffa80b7a43"}, {"db_id": "mimic_iii", "question": "what are the new drugs prescribed to patient 31854 today compared to that yesterday?", "template": "what is the new prescription of patient 31854 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 31854}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62da6f5fd006207feaa4a1e2"}, {"db_id": "mimic_iii", "question": "what were the new drugs that were prescribed for patient 31088 today compared to what was prescribed for them yesterday?", "template": "what is the new prescription of patient 31088 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 31088}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20281a17f664e3f1b5515a1a"}, {"db_id": "mimic_iii", "question": "what were the new drugs prescribed to patient 53176 today compared to what was prescribed yesterday?", "template": "what is the new prescription of patient 53176 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 53176}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c80048ff86db59b1a47286fa"}, {"db_id": "mimic_iii", "question": "what are the new drugs in prescription of patient 60136 today compared to that yesterday?", "template": "what is the new prescription of patient 60136 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 60136}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1d9fa79f7fde3fb9226a6d0"}, {"db_id": "mimic_iii", "question": "what was the new drug of patient 23436 today compared to that yesterday?", "template": "what is the new prescription of patient 23436 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 23436}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "984b5acbd72afdf4f90bb3d3"}, {"db_id": "mimic_iii", "question": "what new drugs are being prescribed to patient 80555 today vs. yesterday?", "template": "what is the new prescription of patient 80555 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 80555}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0470220cd1b1ad8880300b0f"}, {"db_id": "mimic_iii", "question": "what was the new prescription for patient 97395 today compared to the prescription yesterday?", "template": "what is the new prescription of patient 97395 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 97395}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f06dd5dacb1ab4eaf255d2e"}, {"db_id": "mimic_iii", "question": "what is the new prescription of patient 8116 today vs. the one yesterday?", "template": "what is the new prescription of patient 8116 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 8116}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8925c04ea1fb768895958349"}, {"db_id": "mimic_iii", "question": "today compared to yesterday what is new in patient 95892's prescription?", "template": "what is the new prescription of patient 95892 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 95892}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42e314abda0b13dd7e8fab64"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions for patient 3929 today compared to the one given yesterday?", "template": "what is the new prescription of patient 3929 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 3929}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7647891202daa9a8e1190b82"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 808 today vs. the prescription yesterday?", "template": "what is the new prescription of patient 808 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 808}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6af08f42d0fe6e4ecd82f8d4"}, {"db_id": "mimic_iii", "question": "what are the drugs that are added to patient 99883 today compared with the ones yesterday?", "template": "what is the new prescription of patient 99883 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 99883}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a3f9fcdaaa741d68a01bce2"}, {"db_id": "mimic_iii", "question": "what are the new meds for patient 99647 today compared to the ones yesterday?", "template": "what is the new prescription of patient 99647 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 99647}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1547c43a928691c32fb4d926"}, {"db_id": "mimic_iii", "question": "what are the medicines that were added to patient 10624 today compared to the ones yesterday?", "template": "what is the new prescription of patient 10624 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 10624}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "763ca224d231fea0455ac775"}, {"db_id": "mimic_iii", "question": "what were the new prescriptions of patient 97395 today compared to the prescription they received yesterday?", "template": "what is the new prescription of patient 97395 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 97395}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63d7d987d3829543a98d1454"}, {"db_id": "mimic_iii", "question": "what are the new meds of patient 92788 today compared to the one yesterday?", "template": "what is the new prescription of patient 92788 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 92788}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e45cf8e5a93d5ec294ea9ec9"}, {"db_id": "mimic_iii", "question": "what are the newly prescribed drugs of patient 14467 today compared to those prescribed yesterday?", "template": "what is the new prescription of patient 14467 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 14467}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "edfd8cec7d0e57864fbd8a89"}, {"db_id": "mimic_iii", "question": "what were the meds that were added today to patient 97733 compared to that yesterday?", "template": "what is the new prescription of patient 97733 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 97733}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7cf8788c623e8ba85866bc5c"}, {"db_id": "mimic_iii", "question": "what are patient 71689's new prescriptions today compared to the prescriptions yesterday?", "template": "what is the new prescription of patient 71689 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 71689}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c6a9284d4153805037aec2b"}, {"db_id": "mimic_iii", "question": "what new prescriptions did patient 99647 have today compared to the prescription given yesterday?", "template": "what is the new prescription of patient 99647 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 99647}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c3d4166ae0d9a6424d57a83f"}, {"db_id": "mimic_iii", "question": "what were the new prescriptions on the prescription of patient 68280 today compared to the prescription yesterday?", "template": "what is the new prescription of patient 68280 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 68280 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 68280 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 68280}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55ee113d9c1df8db153272bf"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions today of patient 96833 compared to the prescriptions yesterday?", "template": "what is the new prescription of patient 96833 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 96833}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c18d19cea17ff6ed17307012"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 5828 today compared to the one received yesterday?", "template": "what is the new prescription of patient 5828 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 5828}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd4901ee3b4534af06bf7638"}, {"db_id": "mimic_iii", "question": "what were the drugs added to patient 94229 today versus yesterday?", "template": "what is the new prescription of patient 94229 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 94229}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "deaeda20afe7d74e737ffacd"}, {"db_id": "mimic_iii", "question": "what are the newly prescribed drugs for patient 99883 today compared to that yesterday?", "template": "what is the new prescription of patient 99883 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 99883}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74791235d6e4622379ece4a3"}, {"db_id": "mimic_iii", "question": "what were the drugs which were added to patient 2518 today compared to the ones yesterday?", "template": "what is the new prescription of patient 2518 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 2518}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4558b31b7195bc3da4eef877"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 30826 today compared to what they were yesterday?", "template": "what is the new prescription of patient 30826 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 30826}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f3b0f8e176ff499c6429a5c0"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 1784 today compared to the one received yesterday?", "template": "what is the new prescription of patient 1784 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1784 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1784 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 1784}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bae8884396adf796f114d6d7"}, {"db_id": "mimic_iii", "question": "what are the new prescriptions of patient 55360 today compared with the prescriptions yesterday?", "template": "what is the new prescription of patient 55360 today compared to the prescription yesterday?", "query": "select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-0 day') except select prescriptions.drug from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) and datetime(prescriptions.startdate,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 55360}, "q_tag": "what is the new prescription of patient {patient_id} [time_filter_global2] compared to the prescription [time_filter_global1]?", "t_tag": ["rel-day-last", "rel-day-this", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the new prescription of patient {patient_id} [time_filter_global2:rel-day-this] compared to the prescription [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c8848a3910266a4dbacaa05"}, {"db_id": "mimic_iii", "question": "what was the last value of the calculated total co2 lab test for patient 56201 until 09/2103?", "template": "what was the last measured value of a calculated total co2 lab test of patient 56201 until 09/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56201 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and strftime('%y-%m',labevents.charttime) <= '2103-09' order by labevents.charttime desc limit 1", "value": {"lab_name": "calculated total co2", "patient_id": 56201}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c92bf63a3dadc7b5555f818"}, {"db_id": "mimic_iii", "question": "what is the last rdw in patient 3277 since 05/2104?", "template": "what was the last measured value of a rdw lab test of patient 3277 since 05/2104?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3277 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and strftime('%y-%m',labevents.charttime) >= '2104-05' order by labevents.charttime desc limit 1", "value": {"patient_id": 3277, "lab_name": "rdw"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ad6f7ff7bb932dea5bc5f3c"}, {"db_id": "mimic_iii", "question": "tell me the first value of bicarbonate in a lab test of patient 25997 until 64 months ago?", "template": "what was the first measured value of a bicarbonate lab test of patient 25997 until 64 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25997 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and datetime(labevents.charttime) <= datetime(current_time,'-64 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 25997, "lab_name": "bicarbonate"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9e350deea1cb71025ec4add"}, {"db_id": "mimic_iii", "question": "hmm.. what was patient 97733's last mchc since 12/2105?", "template": "what was the last measured value of a mchc lab test of patient 97733 since 12/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and strftime('%y-%m',labevents.charttime) >= '2105-12' order by labevents.charttime desc limit 1", "value": {"patient_id": 97733, "lab_name": "mchc"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d2420a5aaef3e1fbc726ce56"}, {"db_id": "mimic_iii", "question": "what's the first value of the base excess lab test of patient 15968 until 11/2103?", "template": "what was the first measured value of a base excess lab test of patient 15968 until 11/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15968 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and strftime('%y-%m',labevents.charttime) <= '2103-11' order by labevents.charttime asc limit 1", "value": {"patient_id": 15968, "lab_name": "base excess"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a5520b91daa004223c0baef8"}, {"db_id": "mimic_iii", "question": "what was the last value of patient 45612's laboratory test for potassium in 05/2101?", "template": "what was the last measured value of a potassium lab test of patient 45612 in 05/2101?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 45612 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and strftime('%y-%m',labevents.charttime) = '2101-05' order by labevents.charttime desc limit 1", "value": {"lab_name": "potassium", "patient_id": 45612}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70cd46767a5f15142424fea9"}, {"db_id": "mimic_iii", "question": "what was the last pt value in patient 52898 since 10/2104?", "template": "what was the last measured value of a pt lab test of patient 52898 since 10/2104?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and strftime('%y-%m',labevents.charttime) >= '2104-10' order by labevents.charttime desc limit 1", "value": {"patient_id": 52898, "lab_name": "pt"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "883e9d24c07cc18aa357801f"}, {"db_id": "mimic_iii", "question": "what was the last value on the pt lab test of patient 14054 in the previous month?", "template": "what was the last measured value of a pt lab test of patient 14054 last month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 14054, "lab_name": "pt"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "747b278223d16f590363944a"}, {"db_id": "mimic_iii", "question": "what were the first potassium from patient 29309 since 01/2103?", "template": "what was the first measured value of a potassium lab test of patient 29309 since 01/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29309 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and strftime('%y-%m',labevents.charttime) >= '2103-01' order by labevents.charttime asc limit 1", "value": {"patient_id": 29309, "lab_name": "potassium"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a973af7ce2066fd3749acec6"}, {"db_id": "mimic_iii", "question": "in 03/last year what was the last value of a base excess lab test of patient 42211?", "template": "what was the last measured value of a base excess lab test of patient 42211 in 03/last year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42211 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '03' order by labevents.charttime desc limit 1", "value": {"patient_id": 42211, "lab_name": "base excess"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "72529d77c967cd3211fb1fa3"}, {"db_id": "mimic_iii", "question": "what was the first value of a lab test of potassium until 09/2104 for patient 9338?", "template": "what was the first measured value of a potassium lab test of patient 9338 until 09/2104?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9338 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and strftime('%y-%m',labevents.charttime) <= '2104-09' order by labevents.charttime asc limit 1", "value": {"lab_name": "potassium", "patient_id": 9338}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10048e64665c5a4e7ef11154"}, {"db_id": "mimic_iii", "question": "what was the first value of the bicarbonate lab test of patient 81223 on their last hospital encounter?", "template": "what was the first measured value of a bicarbonate lab test of patient 81223 on the last hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81223 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) order by labevents.charttime asc limit 1", "value": {"patient_id": 81223, "lab_name": "bicarbonate"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf8d88e3d22ea05027d4f96c"}, {"db_id": "mimic_iii", "question": "hey what was the first phosphate of patient 2874 in 04/last year?", "template": "what was the first measured value of a phosphate lab test of patient 2874 in 04/last year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2874 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '04' order by labevents.charttime asc limit 1", "value": {"lab_name": "phosphate", "patient_id": 2874}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e495a60b4b1503cf8c3a4a8"}, {"db_id": "mimic_iii", "question": "i mean what was patient 90663's first phosphate value on their current hospital visit?", "template": "what was the first measured value of a phosphate lab test of patient 90663 on the current hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) order by labevents.charttime asc limit 1", "value": {"lab_name": "phosphate", "patient_id": 90663}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28eefed140da39f1db096cb3"}, {"db_id": "mimic_iii", "question": "what is the last value of the calculated total co2 lab test of patient 3403 since 05/2102?", "template": "what was the last measured value of a calculated total co2 lab test of patient 3403 since 05/2102?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and strftime('%y-%m',labevents.charttime) >= '2102-05' order by labevents.charttime desc limit 1", "value": {"patient_id": 3403, "lab_name": "calculated total co2"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5d1cc6b46ba5b2766892c7d"}, {"db_id": "mimic_iii", "question": "what was the last value of a glucose laboratory testing of patient 11823?", "template": "what was the last measured value of a glucose lab test of patient 11823?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11823 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1", "value": {"lab_name": "glucose", "patient_id": 11823}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45b67d69a37cb1903822609b"}, {"db_id": "mimic_iii", "question": "what was the last value of potassium of patient 22204 in 03/2103?", "template": "what was the last measured value of a potassium lab test of patient 22204 in 03/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22204 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and strftime('%y-%m',labevents.charttime) = '2103-03' order by labevents.charttime desc limit 1", "value": {"patient_id": 22204, "lab_name": "potassium"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48bf4645c4d7d06799b82ce4"}, {"db_id": "mimic_iii", "question": "what was patient 29666's first value of ph in 03/this year?", "template": "what was the first measured value of a ph lab test of patient 29666 in 03/this year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29666 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '03' order by labevents.charttime asc limit 1", "value": {"patient_id": 29666, "lab_name": "ph"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82d1d803ecc81b4a5a5c4d9b"}, {"db_id": "mimic_iii", "question": "whats the first value of anion gap until 61 months ago for patient 64538?", "template": "what was the first measured value of a anion gap lab test of patient 64538 until 61 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64538 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and datetime(labevents.charttime) <= datetime(current_time,'-61 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 64538, "lab_name": "anion gap"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8edce6fc10cf7581043e22b6"}, {"db_id": "mimic_iii", "question": "tell me patient 24547's last urea nitrogen value in 09/2104?", "template": "what was the last measured value of a urea nitrogen lab test of patient 24547 in 09/2104?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24547 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) and strftime('%y-%m',labevents.charttime) = '2104-09' order by labevents.charttime desc limit 1", "value": {"patient_id": 24547, "lab_name": "urea nitrogen"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0177b748aaec5ab4cc1ad38d"}, {"db_id": "mimic_iii", "question": "what is the last value of urea nitrogen laboratory test of patient 75762 on their first hospital encounter?", "template": "what was the last measured value of a urea nitrogen lab test of patient 75762 on the first hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 75762 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) order by labevents.charttime desc limit 1", "value": {"patient_id": 75762, "lab_name": "urea nitrogen"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d9eb52bd467f78209664777f"}, {"db_id": "mimic_iii", "question": "what was the first value of a bilirubin, total lab test of patient 25493 in the first hospital visit?", "template": "what was the first measured value of a bilirubin, total lab test of patient 25493 on the first hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25493 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total' ) order by labevents.charttime asc limit 1", "value": {"lab_name": "bilirubin, total", "patient_id": 25493}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac43b85840c1f279d0c86e0b"}, {"db_id": "mimic_iii", "question": "what was the first glucose in patient 10624 in 08/last year?", "template": "what was the first measured value of a glucose lab test of patient 10624 in 08/last year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '08' order by labevents.charttime asc limit 1", "value": {"patient_id": 10624, "lab_name": "glucose"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c2f796452808c54f172bdd5"}, {"db_id": "mimic_iii", "question": "tell me the first value of reticulocyte count, automated in patient 13806 in the last hospital visit?", "template": "what was the first measured value of a reticulocyte count, automated lab test of patient 13806 on the last hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13806 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'reticulocyte count, automated' ) order by labevents.charttime asc limit 1", "value": {"lab_name": "reticulocyte count, automated", "patient_id": 13806}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6f00ad3e22d48e64f5ce0d4"}, {"db_id": "mimic_iii", "question": "in this month, what was the first value of the po2 for patient 1561?", "template": "what was the first measured value of a po2 lab test of patient 1561 this month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "po2", "patient_id": 1561}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a6cdd75d743ea186b3bfdd1"}, {"db_id": "mimic_iii", "question": "what was the last value of patient 12775's magnesium laboratory test since 11 months ago?", "template": "what was the last measured value of a magnesium lab test of patient 12775 since 11 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) and datetime(labevents.charttime) >= datetime(current_time,'-11 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 12775, "lab_name": "magnesium"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e433f15ec5c79477ba0e42e0"}, {"db_id": "mimic_iii", "question": "tell me the first glucose in patient 55247 until 62 months ago?", "template": "what was the first measured value of a glucose lab test of patient 55247 until 62 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55247 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and datetime(labevents.charttime) <= datetime(current_time,'-62 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "glucose", "patient_id": 55247}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8a07185560d5cd983fe696c"}, {"db_id": "mimic_iii", "question": "what was the last value of a laboratory test anion gap of patient 26922 during their last hospital encounter?", "template": "what was the last measured value of a anion gap lab test of patient 26922 on the last hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26922 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime desc limit 1", "value": {"patient_id": 26922, "lab_name": "anion gap"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d716680a421e47de411070f"}, {"db_id": "mimic_iii", "question": "what is the first value of the sodium of patient 8116 since 03/2102?", "template": "what was the first measured value of a sodium lab test of patient 8116 since 03/2102?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and strftime('%y-%m',labevents.charttime) >= '2102-03' order by labevents.charttime asc limit 1", "value": {"patient_id": 8116, "lab_name": "sodium"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39f4774737fb1f25338b6dc5"}, {"db_id": "mimic_iii", "question": "what was the first value of the anion gap lab test of patient 30525 during the last hospital visit.", "template": "what was the first measured value of a anion gap lab test of patient 30525 on the last hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30525 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) order by labevents.charttime asc limit 1", "value": {"patient_id": 30525, "lab_name": "anion gap"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b5e9e08178f21e1ffee43678"}, {"db_id": "mimic_iii", "question": "what was the first value of sodium was for patient 23070 since 08/2103.", "template": "what was the first measured value of a sodium lab test of patient 23070 since 08/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and strftime('%y-%m',labevents.charttime) >= '2103-08' order by labevents.charttime asc limit 1", "value": {"lab_name": "sodium", "patient_id": 23070}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e92bf8ed8feeb20c421497d9"}, {"db_id": "mimic_iii", "question": "what was the last value of an chloride lab test in patient 84346 until 51 months ago?", "template": "what was the last measured value of a chloride lab test of patient 84346 until 51 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84346 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and datetime(labevents.charttime) <= datetime(current_time,'-51 month') order by labevents.charttime desc limit 1", "value": {"lab_name": "chloride", "patient_id": 84346}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "effa5f0712b3fa48f5381ef9"}, {"db_id": "mimic_iii", "question": "hey what was the last potassium, whole blood of patient 51858 in 12/this year?", "template": "what was the last measured value of a potassium, whole blood lab test of patient 51858 in 12/this year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium, whole blood' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.charttime desc limit 1", "value": {"patient_id": 51858, "lab_name": "potassium, whole blood"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f889e04a0ec70d7b9b590a18"}, {"db_id": "mimic_iii", "question": "what was the last value of a phosphate laboratory testing of patient 23002 since 05/2105?", "template": "what was the last measured value of a phosphate lab test of patient 23002 since 05/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23002 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and strftime('%y-%m',labevents.charttime) >= '2105-05' order by labevents.charttime desc limit 1", "value": {"lab_name": "phosphate", "patient_id": 23002}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63912f68b07d57ed05ef5bb6"}, {"db_id": "mimic_iii", "question": "what was the first value of patient 83901's bilirubin, direct laboratory test in the previous month?", "template": "what was the first measured value of a bilirubin, direct lab test of patient 83901 last month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83901 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, direct' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 83901, "lab_name": "bilirubin, direct"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca45a9752c3ae43f98fe302c"}, {"db_id": "mimic_iii", "question": "tell me the first value of po2 in a lab test of patient 3403 in 07/2105?", "template": "what was the first measured value of a po2 lab test of patient 3403 in 07/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and strftime('%y-%m',labevents.charttime) = '2105-07' order by labevents.charttime asc limit 1", "value": {"lab_name": "po2", "patient_id": 3403}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aaa52795a115285a4fed1fdb"}, {"db_id": "mimic_iii", "question": "hmm.. what was patient 3710's first basophils until 11/2105?", "template": "what was the first measured value of a basophils lab test of patient 3710 until 11/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3710 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'basophils' ) and strftime('%y-%m',labevents.charttime) <= '2105-11' order by labevents.charttime asc limit 1", "value": {"patient_id": 3710, "lab_name": "basophils"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b04e239c36c4e2b3d8f6a0d"}, {"db_id": "mimic_iii", "question": "tell me patient 5561's first rdw value until 11/2105?", "template": "what was the first measured value of a rdw lab test of patient 5561 until 11/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5561 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and strftime('%y-%m',labevents.charttime) <= '2105-11' order by labevents.charttime asc limit 1", "value": {"lab_name": "rdw", "patient_id": 5561}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57c5e5e597effd40012d553f"}, {"db_id": "mimic_iii", "question": "what was the first value of sodium of patient 32154 in 01/2104?", "template": "what was the first measured value of a sodium lab test of patient 32154 in 01/2104?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32154 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and strftime('%y-%m',labevents.charttime) = '2104-01' order by labevents.charttime asc limit 1", "value": {"lab_name": "sodium", "patient_id": 32154}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fdb894a2e598cc6bdfce4d5d"}, {"db_id": "mimic_iii", "question": "what was the first value of a laboratory test white blood cells of patient 5887 since 170 months ago?", "template": "what was the first measured value of a white blood cells lab test of patient 5887 since 170 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5887 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and datetime(labevents.charttime) >= datetime(current_time,'-170 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "white blood cells", "patient_id": 5887}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a61360b992c5d1c14a140943"}, {"db_id": "mimic_iii", "question": "hmm.. what was patient 96937's first sodium since 109 months ago?", "template": "what was the first measured value of a sodium lab test of patient 96937 since 109 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96937 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and datetime(labevents.charttime) >= datetime(current_time,'-109 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "sodium", "patient_id": 96937}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7538185d380a0aea5b523618"}, {"db_id": "mimic_iii", "question": "what was the first value of a laboratory test specific gravity of patient 86404 until 11/2105?", "template": "what was the first measured value of a specific gravity lab test of patient 86404 until 11/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86404 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'specific gravity' ) and strftime('%y-%m',labevents.charttime) <= '2105-11' order by labevents.charttime asc limit 1", "value": {"lab_name": "specific gravity", "patient_id": 86404}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28a3078fde3960f0edd52117"}, {"db_id": "mimic_iii", "question": "in this month, what was the last value of the hematocrit for patient 12726?", "template": "what was the last measured value of a hematocrit lab test of patient 12726 this month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 12726, "lab_name": "hematocrit"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ae1a01781066cd6a658564b2"}, {"db_id": "mimic_iii", "question": "what was the last value of the platelet count lab test of patient 10624 since 03/2105?", "template": "what was the last measured value of a platelet count lab test of patient 10624 since 03/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and strftime('%y-%m',labevents.charttime) >= '2105-03' order by labevents.charttime desc limit 1", "value": {"lab_name": "platelet count", "patient_id": 10624}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25609b651fe6f670f4564622"}, {"db_id": "mimic_iii", "question": "in the current hospital encounter, what was the first value of the po2 for patient 76332?", "template": "what was the first measured value of a po2 lab test of patient 76332 on the current hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.charttime asc limit 1", "value": {"patient_id": 76332, "lab_name": "po2"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "40e434333b08661dd9a1ecb0"}, {"db_id": "mimic_iii", "question": "what was the first value of the sodium, whole blood lab test for patient 85895 in a month before?", "template": "what was the first measured value of a sodium, whole blood lab test of patient 85895 last month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium, whole blood' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 85895, "lab_name": "sodium, whole blood"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b05f5ae73fd29f9aaab26e47"}, {"db_id": "mimic_iii", "question": "what was the last value of patient 80555's laboratory test for ptt in the current hospital encounter?", "template": "what was the last measured value of a ptt lab test of patient 80555 on the current hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) order by labevents.charttime desc limit 1", "value": {"lab_name": "ptt", "patient_id": 80555}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d2a4658898a7647602f831af"}, {"db_id": "mimic_iii", "question": "tell me the first value of creatinine in a lab test of patient 30307 in 10/this year?", "template": "what was the first measured value of a creatinine lab test of patient 30307 in 10/this year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30307 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '10' order by labevents.charttime asc limit 1", "value": {"lab_name": "creatinine", "patient_id": 30307}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cb0b9e38337c5b5a758cd89"}, {"db_id": "mimic_iii", "question": "what was the last value of a lab test of anion gap since 168 months ago for patient 65786?", "template": "what was the last measured value of a anion gap lab test of patient 65786 since 168 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65786 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and datetime(labevents.charttime) >= datetime(current_time,'-168 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 65786, "lab_name": "anion gap"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e033dee8c86aa93ef734a32"}, {"db_id": "mimic_iii", "question": "what was the first value of an glucose lab test in patient 59797 on the first hospital encounter?", "template": "what was the first measured value of a glucose lab test of patient 59797 on the first hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59797 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime asc limit 1", "value": {"patient_id": 59797, "lab_name": "glucose"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3c17ec8be1c2a0e33ab252af"}, {"db_id": "mimic_iii", "question": "hey what was the first cortisol of patient 57050 in this month?", "template": "what was the first measured value of a cortisol lab test of patient 57050 this month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'cortisol' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 57050, "lab_name": "cortisol"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cad8ea40d768d82aa32eeb42"}, {"db_id": "mimic_iii", "question": "what is the first urobilinogen in patient 96344 during the first hospital encounter?", "template": "what was the first measured value of a urobilinogen lab test of patient 96344 on the first hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96344 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urobilinogen' ) order by labevents.charttime asc limit 1", "value": {"lab_name": "urobilinogen", "patient_id": 96344}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "359dcfe8adaeaf4caf85070b"}, {"db_id": "mimic_iii", "question": "what was the first value of an mch lab test in patient 17953?", "template": "what was the first measured value of a mch lab test of patient 17953?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17953 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.charttime asc limit 1", "value": {"patient_id": 17953, "lab_name": "mch"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e52128a754b679725306e514"}, {"db_id": "mimic_iii", "question": "what was the last hemoglobin in patient 64881 in 03/last year?", "template": "what was the last measured value of a hemoglobin lab test of patient 64881 in 03/last year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64881 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '03' order by labevents.charttime desc limit 1", "value": {"lab_name": "hemoglobin", "patient_id": 64881}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d8921636bec264dce4a2aab"}, {"db_id": "mimic_iii", "question": "tell me the last glucose in patient 23929 when they came to the hospital first time?", "template": "what was the last measured value of a glucose lab test of patient 23929 on the first hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23929 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) order by labevents.charttime desc limit 1", "value": {"patient_id": 23929, "lab_name": "glucose"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec31ee98726f57b599237413"}, {"db_id": "mimic_iii", "question": "what was the last value on the creatine kinase (ck) lab test of patient 54894 this month?", "template": "what was the last measured value of a creatine kinase (ck) lab test of patient 54894 this month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54894 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 54894, "lab_name": "creatine kinase (ck)"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "879cff8f46f7c8e3bddeb8bb"}, {"db_id": "mimic_iii", "question": "what was the last platelet count in patient 10624 since 03/2105?", "template": "what was the last measured value of a platelet count lab test of patient 10624 since 03/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and strftime('%y-%m',labevents.charttime) >= '2105-03' order by labevents.charttime desc limit 1", "value": {"lab_name": "platelet count", "patient_id": 10624}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1cea8164f1024b27e46c845d"}, {"db_id": "mimic_iii", "question": "whats the first value of mchc in 10/2103 for patient 70206?", "template": "what was the first measured value of a mchc lab test of patient 70206 in 10/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70206 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and strftime('%y-%m',labevents.charttime) = '2103-10' order by labevents.charttime asc limit 1", "value": {"patient_id": 70206, "lab_name": "mchc"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7148e9441ab7127667dfb4b8"}, {"db_id": "mimic_iii", "question": "tell me the first glucose in patient 40435 in 12/2105?", "template": "what was the first measured value of a glucose lab test of patient 40435 in 12/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and strftime('%y-%m',labevents.charttime) = '2105-12' order by labevents.charttime asc limit 1", "value": {"patient_id": 40435, "lab_name": "glucose"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e8b51422635d0c4f9c6b1ee"}, {"db_id": "mimic_iii", "question": "whats the first value of calculated total co2 in 03/this year for patient 21468?", "template": "what was the first measured value of a calculated total co2 lab test of patient 21468 in 03/this year?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21468 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '03' order by labevents.charttime asc limit 1", "value": {"patient_id": 21468, "lab_name": "calculated total co2"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c306c2c42a5643b345a2381f"}, {"db_id": "mimic_iii", "question": "what is the last value of the phosphate lab test of patient 83062 in this month?", "template": "what was the last measured value of a phosphate lab test of patient 83062 this month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 83062, "lab_name": "phosphate"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e65f6662498262d5dddbb299"}, {"db_id": "mimic_iii", "question": "hmm.. what was patient 49295's last ph until 6 months ago?", "template": "what was the last measured value of a ph lab test of patient 49295 until 6 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49295 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) and datetime(labevents.charttime) <= datetime(current_time,'-6 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 49295, "lab_name": "ph"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4cf4b8f0263a8239a96a28e7"}, {"db_id": "mimic_iii", "question": "what was the last value of the creatinine lab test for patient 74624 during their last hospital visit?", "template": "what was the last measured value of a creatinine lab test of patient 74624 on the last hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74624 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) order by labevents.charttime desc limit 1", "value": {"lab_name": "creatinine", "patient_id": 74624}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb5cc899805fa957837e2664"}, {"db_id": "mimic_iii", "question": "what is the first value of the glucose lab test of patient 40435 in 12/2105?", "template": "what was the first measured value of a glucose lab test of patient 40435 in 12/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and strftime('%y-%m',labevents.charttime) = '2105-12' order by labevents.charttime asc limit 1", "value": {"patient_id": 40435, "lab_name": "glucose"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a83dc2d446a74396cc7198ca"}, {"db_id": "mimic_iii", "question": "what is the last red blood cells in patient 14467 this month?", "template": "what was the last measured value of a red blood cells lab test of patient 14467 this month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"lab_name": "red blood cells", "patient_id": 14467}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6de234a3a4297d32de57c87d"}, {"db_id": "mimic_iii", "question": "tell me patient 93078's first urea nitrogen value this month?", "template": "what was the first measured value of a urea nitrogen lab test of patient 93078 this month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93078 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 93078, "lab_name": "urea nitrogen"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e92d1cf6160253b3fdfa7770"}, {"db_id": "mimic_iii", "question": "what was the last value on the sodium lab test of patient 42956?", "template": "what was the last measured value of a sodium lab test of patient 42956?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42956 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime desc limit 1", "value": {"lab_name": "sodium", "patient_id": 42956}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62701b12ebeda3f722f9b7dc"}, {"db_id": "mimic_iii", "question": "what's the first value of the creatinine lab test of patient 12938 until 06/2105?", "template": "what was the first measured value of a creatinine lab test of patient 12938 until 06/2105?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12938 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and strftime('%y-%m',labevents.charttime) <= '2105-06' order by labevents.charttime asc limit 1", "value": {"patient_id": 12938, "lab_name": "creatinine"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "252a0f5a0d97700d663c8993"}, {"db_id": "mimic_iii", "question": "hey what was the last ptt of patient 63849 since 11/2103?", "template": "what was the last measured value of a ptt lab test of patient 63849 since 11/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63849 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and strftime('%y-%m',labevents.charttime) >= '2103-11' order by labevents.charttime desc limit 1", "value": {"lab_name": "ptt", "patient_id": 63849}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d31f114271d7b677340290c1"}, {"db_id": "mimic_iii", "question": "tell me patient 85895's last neutrophils value in the last month?", "template": "what was the last measured value of a neutrophils lab test of patient 85895 last month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime desc limit 1", "value": {"lab_name": "neutrophils", "patient_id": 85895}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5308aa29e9119d5533401e1b"}, {"db_id": "mimic_iii", "question": "what was the first value of an osmolality, urine lab test in patient 72107 until 02/2103?", "template": "what was the first measured value of a osmolality, urine lab test of patient 72107 until 02/2103?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72107 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'osmolality, urine' ) and strftime('%y-%m',labevents.charttime) <= '2103-02' order by labevents.charttime asc limit 1", "value": {"lab_name": "osmolality, urine", "patient_id": 72107}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc4836cb491ca7d34630a8a3"}, {"db_id": "mimic_iii", "question": "what was the first mchc value in patient 433 in a month before?", "template": "what was the first measured value of a mchc lab test of patient 433 last month?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "mchc", "patient_id": 433}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4228f335d237197af43b1c1e"}, {"db_id": "mimic_iii", "question": "what was the last value of an sodium lab test in patient 1798 in the first hospital visit?", "template": "what was the last measured value of a sodium lab test of patient 1798 on the first hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1798 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) order by labevents.charttime desc limit 1", "value": {"patient_id": 1798, "lab_name": "sodium"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3145bc8734b216bd17fdc29"}, {"db_id": "mimic_iii", "question": "what was the first value of rdw of patient 15905 since 110 months ago?", "template": "what was the first measured value of a rdw lab test of patient 15905 since 110 month ago?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15905 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and datetime(labevents.charttime) >= datetime(current_time,'-110 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "rdw", "patient_id": 15905}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d59e792f9dee315af7d01618"}, {"db_id": "mimic_iii", "question": "what were the first creatine kinase (ck) from patient 96833 in the current hospital visit?", "template": "what was the first measured value of a creatine kinase (ck) lab test of patient 96833 on the current hospital visit?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatine kinase (ck)' ) order by labevents.charttime asc limit 1", "value": {"patient_id": 96833, "lab_name": "creatine kinase (ck)"}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d69d0a7fca6fd91e1a55ff3"}, {"db_id": "mimic_iii", "question": "what is the last value of the white blood cells of patient 16088 since 02/2100?", "template": "what was the last measured value of a white blood cells lab test of patient 16088 since 02/2100?", "query": "select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and strftime('%y-%m',labevents.charttime) >= '2100-02' order by labevents.charttime desc limit 1", "value": {"lab_name": "white blood cells", "patient_id": 16088}, "q_tag": "what was the [time_filter_exact1] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured value of a {lab_name} lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5bccb7e64e9841e59a781655"}, {"db_id": "mimic_iii", "question": "what is the name of the lab test that is patient 80671 first received since 54 months ago?", "template": "what was the name of the lab test that patient 80671 first received since 54 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80671 ) and datetime(labevents.charttime) >= datetime(current_time,'-54 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 80671}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6598f41b219ec3942b37f7f7"}, {"db_id": "mimic_iii", "question": "what is the name of the laboratory test the last time patient 85700 received in 12/this year?", "template": "what was the name of the lab test that patient 85700 last received in 12/this year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85700 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 85700}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e88ca80dfb4426fa15671d7d"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test that patient 12274 received first?", "template": "what was the name of the lab test that patient 12274 first received?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12274 ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 12274}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c72bf804ac04526f011992ac"}, {"db_id": "mimic_iii", "question": "what lab tests did patient 23721 have for the first time since 02/2104?", "template": "what was the name of the lab test that patient 23721 first received since 02/2104?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23721 ) and strftime('%y-%m',labevents.charttime) >= '2104-02' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 23721}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd52ffb3aa520da21957f04d"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test, which patient 5828 first received in this month?", "template": "what was the name of the lab test that patient 5828 first received this month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 5828}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a31dd53a03fed8cf3dd85ed3"}, {"db_id": "mimic_iii", "question": "what is the name of the last lab test patient 27703 received last month?", "template": "what was the name of the lab test that patient 27703 last received last month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 27703}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "719f3e7685c02fe705261255"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test that patient 3125 first recieved on this hospital visit?", "template": "what was the name of the lab test that patient 3125 first received on the current hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 3125}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14b5e71843dda960b281ae6e"}, {"db_id": "mimic_iii", "question": "what test has patient 26886 been given for the first time until 36 months ago?", "template": "what was the name of the lab test that patient 26886 first received until 36 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26886 ) and datetime(labevents.charttime) <= datetime(current_time,'-36 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 26886}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc5e0e2445e82f6bfe0ed7ed"}, {"db_id": "mimic_iii", "question": "what was the first test that was given to patient 6374 since 34 months ago?", "template": "what was the name of the lab test that patient 6374 first received since 34 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6374 ) and datetime(labevents.charttime) >= datetime(current_time,'-34 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 6374}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa0c971682af24c9e52245a7"}, {"db_id": "mimic_iii", "question": "what's the last test patient 64881 has had until 04/2104?", "template": "what was the name of the lab test that patient 64881 last received until 04/2104?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64881 ) and strftime('%y-%m',labevents.charttime) <= '2104-04' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 64881}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9111d53644901637124c4367"}, {"db_id": "mimic_iii", "question": "what lab tests did patient 22782 receive in 04/this year for the first time?", "template": "what was the name of the lab test that patient 22782 first received in 04/this year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22782 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '04' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 22782}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "584a32fcba3b65828f6ec02b"}, {"db_id": "mimic_iii", "question": "for the first time, what test was given to patient 42829 in this month?", "template": "what was the name of the lab test that patient 42829 first received this month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42829 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 42829}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ffa2bbe30dfb3601d82ba6a"}, {"db_id": "mimic_iii", "question": "what was the lab test that was first given to patient 44848 until 6 months ago?", "template": "what was the name of the lab test that patient 44848 first received until 6 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 44848 ) and datetime(labevents.charttime) <= datetime(current_time,'-6 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 44848}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e0c8e9a9e903c8b369e8435"}, {"db_id": "mimic_iii", "question": "what were the tests that patient 25696 had first received since 134 months ago?", "template": "what was the name of the lab test that patient 25696 first received since 134 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25696 ) and datetime(labevents.charttime) >= datetime(current_time,'-134 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 25696}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f36bc32c56a8669ab53adcc"}, {"db_id": "mimic_iii", "question": "tell me the last test that patient 29806 had received on their first hospital visit?", "template": "what was the name of the lab test that patient 29806 last received on the first hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29806 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime desc limit 1 )", "value": {"patient_id": 29806}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a16a93a0e3b04145e224202b"}, {"db_id": "mimic_iii", "question": "what was the last laboratory test that patient 8814 received during the first hospital visit?", "template": "what was the name of the lab test that patient 8814 last received on the first hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8814 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime desc limit 1 )", "value": {"patient_id": 8814}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f529165cd5190762b1bb8da2"}, {"db_id": "mimic_iii", "question": "what was the name of the first lab test patient 51177 had received since 03/2105?", "template": "what was the name of the lab test that patient 51177 first received since 03/2105?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) and strftime('%y-%m',labevents.charttime) >= '2105-03' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 51177}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa48f0444f654abf60b99df8"}, {"db_id": "mimic_iii", "question": "what was the name of the last lab test that was given to patient 51663 until 09/2105?", "template": "what was the name of the lab test that patient 51663 last received until 09/2105?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51663 ) and strftime('%y-%m',labevents.charttime) <= '2105-09' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 51663}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7625981cecb0e275c0fcc214"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test, which patient 64519 had first received in their last hospital visit?", "template": "what was the name of the lab test that patient 64519 first received on the last hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64519 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 64519}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "771d21de798de7ef3349ff5b"}, {"db_id": "mimic_iii", "question": "tell me the test that was last given to patient 29410 in 11/2102?", "template": "what was the name of the lab test that patient 29410 last received in 11/2102?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29410 ) and strftime('%y-%m',labevents.charttime) = '2102-11' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 29410}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0120b9309303c4842967f576"}, {"db_id": "mimic_iii", "question": "what test was given to patient 74624 for the first time this month.", "template": "what was the name of the lab test that patient 74624 first received this month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74624 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 74624}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1cba958adebb9ad803646b89"}, {"db_id": "mimic_iii", "question": "what was the name of the laboratory test patient 55360 received in this month for the last time?", "template": "what was the name of the lab test that patient 55360 last received this month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 55360}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b157f100943b6cc40b48e94b"}, {"db_id": "mimic_iii", "question": "what lab test was given for the first time in 05/last year to patient 12572?", "template": "what was the name of the lab test that patient 12572 first received in 05/last year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12572 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '05' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 12572}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "67929d1b1293ef42c38a3d74"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test that patient 10624 has first received in 08/last year?", "template": "what was the name of the lab test that patient 10624 first received in 08/last year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '08' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 10624}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b95ac342fcfc56fe7467dd48"}, {"db_id": "mimic_iii", "question": "what was the name of the laboratory test that patient 96774 has received for the first time on the first hospital encounter?", "template": "what was the name of the lab test that patient 96774 first received on the first hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96774 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 96774}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c6abfb46993ed2d2a328954"}, {"db_id": "mimic_iii", "question": "what's the name of the test that patient 87733 first had until 05/2104.", "template": "what was the name of the lab test that patient 87733 first received until 05/2104?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87733 ) and strftime('%y-%m',labevents.charttime) <= '2104-05' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 87733}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6671a579563a3018bbc03249"}, {"db_id": "mimic_iii", "question": "tell me the name of the lab tests that patient 42956 last received until 09/2105?", "template": "what was the name of the lab test that patient 42956 last received until 09/2105?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42956 ) and strftime('%y-%m',labevents.charttime) <= '2105-09' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 42956}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78eb91524fee35245196179f"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test which patient 51200 first received the last month?", "template": "what was the name of the lab test that patient 51200 first received last month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51200 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 51200}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ec8ed1b8d21cf56745c2e66"}, {"db_id": "mimic_iii", "question": "what is the first test that patient 20898 had in this month?", "template": "what was the name of the lab test that patient 20898 first received this month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 20898}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b61b4acc98882bc0751b96e"}, {"db_id": "mimic_iii", "question": "tell me the name of the lab test that patient 14467 received last since 158 months ago?", "template": "what was the name of the lab test that patient 14467 last received since 158 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) and datetime(labevents.charttime) >= datetime(current_time,'-158 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 14467}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b57c44b760946f04c8c35b7"}, {"db_id": "mimic_iii", "question": "tell me the first lab test that was given to patient 13838 in 08/2102?", "template": "what was the name of the lab test that patient 13838 first received in 08/2102?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13838 ) and strftime('%y-%m',labevents.charttime) = '2102-08' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 13838}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a7c1ffa48f7d1dc98620e08"}, {"db_id": "mimic_iii", "question": "what lab test in 12/this year was given to patient 99647 for the first time?", "template": "what was the name of the lab test that patient 99647 first received in 12/this year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 99647}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4723107ac3d2b7334f09e77"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test patient 3242 last had in 08/last year?", "template": "what was the name of the lab test that patient 3242 last received in 08/last year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3242 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '08' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 3242}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "697ce113a69e7d15127e7ad7"}, {"db_id": "mimic_iii", "question": "what has been the first lab test given to patient 61751 the previous month?", "template": "what was the name of the lab test that patient 61751 first received last month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61751 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 61751}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c0fe030bb0e96fccacc9d757"}, {"db_id": "mimic_iii", "question": "tell me the name of the last lab test that patient 31482 got since 04/2105?", "template": "what was the name of the lab test that patient 31482 last received since 04/2105?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 ) and strftime('%y-%m',labevents.charttime) >= '2105-04' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 31482}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51340a9ccce557239534a43f"}, {"db_id": "mimic_iii", "question": "tell me the name of the test that patient 8005 first received in 03/last year?", "template": "what was the name of the lab test that patient 8005 first received in 03/last year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8005 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '03' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 8005}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a88e0f4f0672e4dddb76a4b"}, {"db_id": "mimic_iii", "question": "what was the name of the test that patient 58649 first received?", "template": "what was the name of the lab test that patient 58649 first received?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58649 ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 58649}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f52c84ab6c135bb48d05051"}, {"db_id": "mimic_iii", "question": "what test was given to patient 10855 the first time this month?", "template": "what was the name of the lab test that patient 10855 first received this month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 10855}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b4074c464f9291bf00f005b4"}, {"db_id": "mimic_iii", "question": "what was the name of the last laboratory tests patient 20898 received in this hospital encounter?", "template": "what was the name of the lab test that patient 20898 last received on the current hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) order by labevents.charttime desc limit 1 )", "value": {"patient_id": 20898}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ccec261dc597970e2a4b8fe"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test that the previous month patient 73693 received for the last time?", "template": "what was the name of the lab test that patient 73693 last received last month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73693 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 73693}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d399d74ea8d7ebd879b98c5f"}, {"db_id": "mimic_iii", "question": "what tests did patient 79919 get for the first time in 06/last year.", "template": "what was the name of the lab test that patient 79919 first received in 06/last year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 79919 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '06' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 79919}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20e4c507ca1d326b80cf1027"}, {"db_id": "mimic_iii", "question": "what was the last lab test when they visited the hospital first time given to patient 77213?", "template": "what was the name of the lab test that patient 77213 last received on the first hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77213 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime desc limit 1 )", "value": {"patient_id": 77213}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc844f8d9caf12bff6588aeb"}, {"db_id": "mimic_iii", "question": "what lab tests was patient 68280 receiving for the first time during the current hospital visit?", "template": "what was the name of the lab test that patient 68280 first received on the current hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 68280 and admissions.dischtime is null ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 68280}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe44dbdca456e954988e9692"}, {"db_id": "mimic_iii", "question": "what was the name of the last test that patient 22983 recieved since 173 months ago?", "template": "what was the name of the lab test that patient 22983 last received since 173 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22983 ) and datetime(labevents.charttime) >= datetime(current_time,'-173 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 22983}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "910a0bef5fc45480214fa8c8"}, {"db_id": "mimic_iii", "question": "what lab test did patient 21110 receive the previous month for the last time.", "template": "what was the name of the lab test that patient 21110 last received last month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21110 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 21110}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab6a4e5d3d9c89107bab5866"}, {"db_id": "mimic_iii", "question": "what lab tests were given to patient 99082 for the first time on their last hospital encounter?", "template": "what was the name of the lab test that patient 99082 first received on the last hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99082 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 99082}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32416dcae5acc82b87264b36"}, {"db_id": "mimic_iii", "question": "tell me the name of the laboratory test which patient 4900 first received since 113 months ago?", "template": "what was the name of the lab test that patient 4900 first received since 113 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4900 ) and datetime(labevents.charttime) >= datetime(current_time,'-113 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 4900}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a408e1927e6755e71583561"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test that patient 20801 last got in 04/last year.", "template": "what was the name of the lab test that patient 20801 last received in 04/last year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20801 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '04' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 20801}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3405713f9a753f5848145142"}, {"db_id": "mimic_iii", "question": "what's the name of the first test patient 1205 has received since 22 months ago?", "template": "what was the name of the lab test that patient 1205 first received since 22 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1205 ) and datetime(labevents.charttime) >= datetime(current_time,'-22 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 1205}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "777b7db4b5f72094a95b2ca4"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test that patient 59728 had received last until 02/2104?", "template": "what was the name of the lab test that patient 59728 last received until 02/2104?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59728 ) and strftime('%y-%m',labevents.charttime) <= '2104-02' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 59728}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca051264ad78ca61b2e5856b"}, {"db_id": "mimic_iii", "question": "what was the name of the laboratory test that patient 25312 received last since 11/2103?", "template": "what was the name of the lab test that patient 25312 last received since 11/2103?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) and strftime('%y-%m',labevents.charttime) >= '2103-11' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 25312}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab15955d7fe1459aa5842e81"}, {"db_id": "mimic_iii", "question": "what laboratory test was given for the first time since 11/2103 to patient 5142?", "template": "what was the name of the lab test that patient 5142 first received since 11/2103?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) and strftime('%y-%m',labevents.charttime) >= '2103-11' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 5142}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2254a754ff2f54f4afc40eda"}, {"db_id": "mimic_iii", "question": "what tests did patient 30789 have first in 01/last year?", "template": "what was the name of the lab test that patient 30789 first received in 01/last year?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30789 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '01' order by labevents.charttime asc limit 1 )", "value": {"patient_id": 30789}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "92e08e49d16bd25c0a005b75"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test that patient 15986 received the last since 03/2103?", "template": "what was the name of the lab test that patient 15986 last received since 03/2103?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 ) and strftime('%y-%m',labevents.charttime) >= '2103-03' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 15986}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e474d38a37d700a09abf7f8"}, {"db_id": "mimic_iii", "question": "what is the last lab test which was given to patient 30296?", "template": "what was the name of the lab test that patient 30296 last received?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30296 ) order by labevents.charttime desc limit 1 )", "value": {"patient_id": 30296}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee83409c7144f070cb8efcc3"}, {"db_id": "mimic_iii", "question": "what was the name of the laboratory test patient 63537 has received the first time since 40 months ago?", "template": "what was the name of the lab test that patient 63537 first received since 40 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63537 ) and datetime(labevents.charttime) >= datetime(current_time,'-40 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 63537}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d15fc61564f6c0c0c76d8c6b"}, {"db_id": "mimic_iii", "question": "what was the name of the last lab test that patient 25050 had since 105 months ago?", "template": "what was the name of the lab test that patient 25050 last received since 105 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25050 ) and datetime(labevents.charttime) >= datetime(current_time,'-105 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 25050}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2038cab6f56ef7bfed6aa202"}, {"db_id": "mimic_iii", "question": "what was the last test which patient 23002 received?", "template": "what was the name of the lab test that patient 23002 last received?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23002 ) order by labevents.charttime desc limit 1 )", "value": {"patient_id": 23002}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "348cb82af91e03cb5bde078c"}, {"db_id": "mimic_iii", "question": "what laboratory test was given to patient 70267 last time during this month?", "template": "what was the name of the lab test that patient 70267 last received this month?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 70267}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd3dc3c21945bb59d23eb06a"}, {"db_id": "mimic_iii", "question": "what was the last test that patient 27465 had received since 100 months ago?", "template": "what was the name of the lab test that patient 27465 last received since 100 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27465 ) and datetime(labevents.charttime) >= datetime(current_time,'-100 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 27465}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55d64ddd8580e73c90ba890a"}, {"db_id": "mimic_iii", "question": "what laboratory test was given to patient 70206 for the first time until 25 months ago?", "template": "what was the name of the lab test that patient 70206 first received until 25 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70206 ) and datetime(labevents.charttime) <= datetime(current_time,'-25 month') order by labevents.charttime asc limit 1 )", "value": {"patient_id": 70206}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5b6afa1b80cb000baec351c"}, {"db_id": "mimic_iii", "question": "what was the last laboratory test given to patient 1372 until 06/2100?", "template": "what was the name of the lab test that patient 1372 last received until 06/2100?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and strftime('%y-%m',labevents.charttime) <= '2100-06' order by labevents.charttime desc limit 1 )", "value": {"patient_id": 1372}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84e285aa76b66a91aad7db03"}, {"db_id": "mimic_iii", "question": "what was the last laboratory test that patient 55247 received since 125 months ago?", "template": "what was the name of the lab test that patient 55247 last received since 125 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55247 ) and datetime(labevents.charttime) >= datetime(current_time,'-125 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 55247}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9dfb64cf7bd90ed6a79bc4b"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test patient 18316 last had since 147 months ago?", "template": "what was the name of the lab test that patient 18316 last received since 147 month ago?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18316 ) and datetime(labevents.charttime) >= datetime(current_time,'-147 month') order by labevents.charttime desc limit 1 )", "value": {"patient_id": 18316}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97ac58cf2020f11c3e2a7464"}, {"db_id": "mimic_iii", "question": "tell me the first lab test that was given to patient 18517 on their last hospital encounter?", "template": "what was the name of the lab test that patient 18517 first received on the last hospital visit?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1 )", "value": {"patient_id": 18517}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-first] received [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96aa409c5bed35137c8d4ee7"}, {"db_id": "mimic_iii", "question": "what was the name of the lab test which patient 28099 received for the last time?", "template": "what was the name of the lab test that patient 28099 last received?", "query": "select d_labitems.label from d_labitems where d_labitems.itemid in ( select labevents.itemid from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28099 ) order by labevents.charttime desc limit 1 )", "value": {"patient_id": 28099}, "q_tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1] received [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the lab test that patient {patient_id} [time_filter_exact1:exact-last] received [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c2582783ba31a206e92077ce"}, {"db_id": "mimic_iii", "question": "what is the maximum base excess value of patient 19412 during this month?", "template": "what was the maximum base excess value of patient 19412 this month?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 19412, "lab_name": "base excess"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "009ec546ec23ce0e9975b9a7"}, {"db_id": "mimic_iii", "question": "what is the average potassium, whole blood value in 05/this year for patient 12367?", "template": "what was the average potassium, whole blood value of patient 12367 in 05/this year?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12367 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium, whole blood' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '05'", "value": {"patient_id": 12367, "lab_name": "potassium, whole blood"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "407888a1b9cebd0fe943c4a6"}, {"db_id": "mimic_iii", "question": "tell me patient 27703's average neutrophils value in a month before?", "template": "what was the average neutrophils value of patient 27703 last month?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"patient_id": 27703, "lab_name": "neutrophils"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d90b9c88b383f884a20efdd"}, {"db_id": "mimic_iii", "question": "what is in the current hospital encounter maximum vancomycin value of patient 57050?", "template": "what was the maximum vancomycin value of patient 57050 on the current hospital visit?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'vancomycin' )", "value": {"patient_id": 57050, "lab_name": "vancomycin"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36e00a9d8e679db1a58aa461"}, {"db_id": "mimic_iii", "question": "oh what is the average value of chloride, whole blood on patient 45321 in 04/2103?", "template": "what was the average chloride, whole blood value of patient 45321 in 04/2103?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 45321 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride, whole blood' ) and strftime('%y-%m',labevents.charttime) = '2103-04'", "value": {"patient_id": 45321, "lab_name": "chloride, whole blood"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8ba892bede5a506234b7b78d"}, {"db_id": "mimic_iii", "question": "in 10/this year, what was the minimum bands value for patient 23002?", "template": "what was the minimum bands value of patient 23002 in 10/this year?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23002 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bands' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '10'", "value": {"patient_id": 23002, "lab_name": "bands"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a73e108c0974eda57d336c9"}, {"db_id": "mimic_iii", "question": "what is patient 22648's minimum value of urea nitrogen, urine in this month?", "template": "what was the minimum urea nitrogen, urine value of patient 22648 this month?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen, urine' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"lab_name": "urea nitrogen, urine", "patient_id": 22648}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1da103e6c543ad32961aef94"}, {"db_id": "mimic_iii", "question": "what was the minimum value of patient 12726's base excess this month?", "template": "what was the minimum base excess value of patient 12726 this month?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 12726, "lab_name": "base excess"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "388b6b855d57d8478a62fa52"}, {"db_id": "mimic_iii", "question": "what is patient 3939's maximum alveolar-arterial gradient value?", "template": "what was the maximum alveolar-arterial gradient value of patient 3939?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3939 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'alveolar-arterial gradient' )", "value": {"lab_name": "alveolar-arterial gradient", "patient_id": 3939}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e87ddd9bff09209d8bec4dd"}, {"db_id": "mimic_iii", "question": "what is the minimum value of lymphocytes in patient 10765's body?", "template": "what was the minimum lymphocytes value of patient 10765?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10765 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lymphocytes' )", "value": {"patient_id": 10765, "lab_name": "lymphocytes"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ac5e7b1a0e6469983575ce3"}, {"db_id": "mimic_iii", "question": "so what's the maximum neutrophils value of patient 64519 in 07/2104?", "template": "what was the maximum neutrophils value of patient 64519 in 07/2104?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64519 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and strftime('%y-%m',labevents.charttime) = '2104-07'", "value": {"lab_name": "neutrophils", "patient_id": 64519}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f0ac1a7ee95981e0ad3177b7"}, {"db_id": "mimic_iii", "question": "what's patient 7698's minimum value of ph in a month before?", "template": "what was the minimum ph value of patient 7698 last month?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"patient_id": 7698, "lab_name": "ph"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "183102824dfad8130e59119e"}, {"db_id": "mimic_iii", "question": "what was the minimum creatinine, body fluid value for patient 60347 until 08/2104.", "template": "what was the minimum creatinine, body fluid value of patient 60347 until 08/2104?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60347 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine, body fluid' ) and strftime('%y-%m',labevents.charttime) <= '2104-08'", "value": {"lab_name": "creatinine, body fluid", "patient_id": 60347}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3289e58599f17f6954f7b503"}, {"db_id": "mimic_iii", "question": "hey what was patient 10855's average lactate value this month?", "template": "what was the average lactate value of patient 10855 this month?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 10855, "lab_name": "lactate"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a30b22a62451d4551a1ad31b"}, {"db_id": "mimic_iii", "question": "what is the average value of ph in patient 10266's body in the last hospital visit?", "template": "what was the average ph value of patient 10266 on the last hospital visit?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10266 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' )", "value": {"patient_id": 10266, "lab_name": "ph"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "36397297fc409fe00dfeefb8"}, {"db_id": "mimic_iii", "question": "what is the average value of osmolality, measured in patient 40059's body during this month?", "template": "what was the average osmolality, measured value of patient 40059 this month?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'osmolality, measured' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"lab_name": "osmolality, measured", "patient_id": 40059}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87bf2c1a0fbfb992cb5f8869"}, {"db_id": "mimic_iii", "question": "what's patient 13054's average value of vancomycin since 12/2105?", "template": "what was the average vancomycin value of patient 13054 since 12/2105?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'vancomycin' ) and strftime('%y-%m',labevents.charttime) >= '2105-12'", "value": {"patient_id": 13054, "lab_name": "vancomycin"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a47a1cf2f9e97306cf6008a"}, {"db_id": "mimic_iii", "question": "what is patient 44848's maximum value of metamyelocytes in 04/this year?", "template": "what was the maximum metamyelocytes value of patient 44848 in 04/this year?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 44848 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'metamyelocytes' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '04'", "value": {"lab_name": "metamyelocytes", "patient_id": 44848}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb7fe15de757702b8b7a7690"}, {"db_id": "mimic_iii", "question": "what was the maximum hemoglobin value for patient 9619 until 05/2102.", "template": "what was the maximum hemoglobin value of patient 9619 until 05/2102?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9619 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and strftime('%y-%m',labevents.charttime) <= '2102-05'", "value": {"patient_id": 9619, "lab_name": "hemoglobin"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf14e74bc24c07cac035434b"}, {"db_id": "mimic_iii", "question": "hey what was patient 27703's average c-reactive protein value the last month?", "template": "what was the average c-reactive protein value of patient 27703 last month?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'c-reactive protein' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"lab_name": "c-reactive protein", "patient_id": 27703}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34baab1024a19e2a2f9520fd"}, {"db_id": "mimic_iii", "question": "oh what is the minimum value of thyroid stimulating hormone on patient 46480 on their last hospital encounter?", "template": "what was the minimum thyroid stimulating hormone value of patient 46480 on the last hospital visit?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 46480 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'thyroid stimulating hormone' )", "value": {"lab_name": "thyroid stimulating hormone", "patient_id": 46480}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c292fb73188f6760ec773b13"}, {"db_id": "mimic_iii", "question": "what was the average value of patient 433's potassium in 02/last year?", "template": "what was the average potassium value of patient 433 in 02/last year?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '02'", "value": {"lab_name": "potassium", "patient_id": 433}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea9c911c52f285513b6f5c9a"}, {"db_id": "mimic_iii", "question": "what was the average bicarbonate value for patient 808 in this month.", "template": "what was the average bicarbonate value of patient 808 this month?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 808, "lab_name": "bicarbonate"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d350d198849a0699647c383"}, {"db_id": "mimic_iii", "question": "what was the maximum value of patient 52456's free calcium last month?", "template": "what was the maximum free calcium value of patient 52456 last month?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52456 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'free calcium' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"patient_id": 52456, "lab_name": "free calcium"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "364762ad02fd83614c02a2df"}, {"db_id": "mimic_iii", "question": "what is the average wbc, other fluid value of patient 26922 since 118 months ago?", "template": "what was the average wbc, other fluid value of patient 26922 since 118 month ago?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26922 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'wbc, other fluid' ) and datetime(labevents.charttime) >= datetime(current_time,'-118 month')", "value": {"lab_name": "wbc, other fluid", "patient_id": 26922}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4222ae76fb1b8cce0f917c8e"}, {"db_id": "mimic_iii", "question": "what's patient 6536's minimum value of atypical lymphocytes since 02/2103?", "template": "what was the minimum atypical lymphocytes value of patient 6536 since 02/2103?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6536 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'atypical lymphocytes' ) and strftime('%y-%m',labevents.charttime) >= '2103-02'", "value": {"lab_name": "atypical lymphocytes", "patient_id": 6536}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8128e792577aae9c7bd572bd"}, {"db_id": "mimic_iii", "question": "tell me patient 20207's average sodium value?", "template": "what was the average sodium value of patient 20207?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20207 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' )", "value": {"patient_id": 20207, "lab_name": "sodium"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af0b60d0e902e22f1d6320fa"}, {"db_id": "mimic_iii", "question": "what was the average value of patient 76005's rapamycin since 87 months ago?", "template": "what was the average rapamycin value of patient 76005 since 87 month ago?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76005 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rapamycin' ) and datetime(labevents.charttime) >= datetime(current_time,'-87 month')", "value": {"lab_name": "rapamycin", "patient_id": 76005}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b5663c39ce76e20ba14e2cc"}, {"db_id": "mimic_iii", "question": "what was the maximum thyroxine (t4) value for patient 86791?", "template": "what was the maximum thyroxine (t4) value of patient 86791?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86791 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'thyroxine (t4)' )", "value": {"lab_name": "thyroxine (t4)", "patient_id": 86791}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4be6a60d26ce68d382fb6189"}, {"db_id": "mimic_iii", "question": "what's patient 27362's maximum value of bicarbonate in 06/last year?", "template": "what was the maximum bicarbonate value of patient 27362 in 06/last year?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '06'", "value": {"lab_name": "bicarbonate", "patient_id": 27362}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3c5f27b7d54773b1832082f0"}, {"db_id": "mimic_iii", "question": "what is the average urea nitrogen, urine value of patient 12775 on the current hospital visit?", "template": "what was the average urea nitrogen, urine value of patient 12775 on the current hospital visit?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen, urine' )", "value": {"patient_id": 12775, "lab_name": "urea nitrogen, urine"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d84b31d8a74fb5c8f0448d6"}, {"db_id": "mimic_iii", "question": "what's patient 76327's average value of osmolality, measured in 12/this year?", "template": "what was the average osmolality, measured value of patient 76327 in 12/this year?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'osmolality, measured' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12'", "value": {"patient_id": 76327, "lab_name": "osmolality, measured"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63adcd8ccd63d03b3611b24c"}, {"db_id": "mimic_iii", "question": "what was the maximum value of patient 28484's wbc count on their first hospital visit?", "template": "what was the maximum wbc count value of patient 28484 on the first hospital visit?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'wbc count' )", "value": {"lab_name": "wbc count", "patient_id": 28484}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29d202c2949d48bbe94015ce"}, {"db_id": "mimic_iii", "question": "during the current hospital visit, what was the average bicarbonate value for patient 4401?", "template": "what was the average bicarbonate value of patient 4401 on the current hospital visit?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' )", "value": {"patient_id": 4401, "lab_name": "bicarbonate"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "00f60d71ab8b3638116cf3db"}, {"db_id": "mimic_iii", "question": "what's patient 77980's average value of red blood cells until 33 months ago?", "template": "what was the average red blood cells value of patient 77980 until 33 month ago?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77980 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and datetime(labevents.charttime) <= datetime(current_time,'-33 month')", "value": {"patient_id": 77980, "lab_name": "red blood cells"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7cd907c89188ed0fd11b75bc"}, {"db_id": "mimic_iii", "question": "tell me patient 20801's minimum potassium, whole blood value in 10/2102?", "template": "what was the minimum potassium, whole blood value of patient 20801 in 10/2102?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20801 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium, whole blood' ) and strftime('%y-%m',labevents.charttime) = '2102-10'", "value": {"patient_id": 20801, "lab_name": "potassium, whole blood"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a05e0cd6ab91507c97c1e8b"}, {"db_id": "mimic_iii", "question": "what is the average value of ptt in patient 55503's body in 11/last year?", "template": "what was the average ptt value of patient 55503 in 11/last year?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55503 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '11'", "value": {"patient_id": 55503, "lab_name": "ptt"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b04cd6950d33e702892737ce"}, {"db_id": "mimic_iii", "question": "so what's the average cholesterol ratio (total/hdl) value of patient 64538 until 67 months ago?", "template": "what was the average cholesterol ratio (total/hdl) value of patient 64538 until 67 month ago?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64538 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'cholesterol ratio (total/hdl)' ) and datetime(labevents.charttime) <= datetime(current_time,'-67 month')", "value": {"lab_name": "cholesterol ratio (total/hdl)", "patient_id": 64538}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8926c7ea10abdcfece29fbe6"}, {"db_id": "mimic_iii", "question": "what is the average mchc value of patient 16066 in 01/2104?", "template": "what was the average mchc value of patient 16066 in 01/2104?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16066 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and strftime('%y-%m',labevents.charttime) = '2104-01'", "value": {"patient_id": 16066, "lab_name": "mchc"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b6da4c14166f194d7f85a27"}, {"db_id": "mimic_iii", "question": "what is patient 52456's minimum value of lipase last month?", "template": "what was the minimum lipase value of patient 52456 last month?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52456 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lipase' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month')", "value": {"patient_id": 52456, "lab_name": "lipase"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dce17ebc4b3c284114edb78e"}, {"db_id": "mimic_iii", "question": "what is the minimum value of hematocrit in patient 14467's body in the current hospital encounter?", "template": "what was the minimum hematocrit value of patient 14467 on the current hospital visit?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' )", "value": {"lab_name": "hematocrit", "patient_id": 14467}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56a171e128fdf5eb8eb8121e"}, {"db_id": "mimic_iii", "question": "what is the average macrophages value until 08/2104 for patient 1798?", "template": "what was the average macrophages value of patient 1798 until 08/2104?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1798 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'macrophages' ) and strftime('%y-%m',labevents.charttime) <= '2104-08'", "value": {"lab_name": "macrophages", "patient_id": 1798}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "137b178be1d1b1fbdc07318c"}, {"db_id": "mimic_iii", "question": "what is patient 1902's minimum value of absolute cd3 count since 1 month ago?", "template": "what was the minimum absolute cd3 count value of patient 1902 since 1 month ago?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'absolute cd3 count' ) and datetime(labevents.charttime) >= datetime(current_time,'-1 month')", "value": {"lab_name": "absolute cd3 count", "patient_id": 1902}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12a297fd041b8220142b069b"}, {"db_id": "mimic_iii", "question": "hey what was patient 1902's maximum absolute cd3 count value since 139 months ago?", "template": "what was the maximum absolute cd3 count value of patient 1902 since 139 month ago?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'absolute cd3 count' ) and datetime(labevents.charttime) >= datetime(current_time,'-139 month')", "value": {"lab_name": "absolute cd3 count", "patient_id": 1902}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbc897978178a69d2c3ca343"}, {"db_id": "mimic_iii", "question": "on the last hospital visit, what was the average antithrombin value for patient 92063?", "template": "what was the average antithrombin value of patient 92063 on the last hospital visit?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92063 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'antithrombin' )", "value": {"lab_name": "antithrombin", "patient_id": 92063}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ebdf347e5aef78d76665c1c"}, {"db_id": "mimic_iii", "question": "what's patient 74392's minimum value of bilirubin, direct?", "template": "what was the minimum bilirubin, direct value of patient 74392?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74392 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, direct' )", "value": {"patient_id": 74392, "lab_name": "bilirubin, direct"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ce1c04110dba10644abe746"}, {"db_id": "mimic_iii", "question": "what is on the first hospital encounter average lactate dehydrogenase, ascites value of patient 88079?", "template": "what was the average lactate dehydrogenase, ascites value of patient 88079 on the first hospital visit?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88079 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate dehydrogenase, ascites' )", "value": {"lab_name": "lactate dehydrogenase, ascites", "patient_id": 88079}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ad859d80621b50ed321a835"}, {"db_id": "mimic_iii", "question": "what was the average rdw value for patient 58932?", "template": "what was the average rdw value of patient 58932?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58932 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' )", "value": {"patient_id": 58932, "lab_name": "rdw"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8275390feb5cda83ace491b3"}, {"db_id": "mimic_iii", "question": "during the last hospital visit, what was the minimum rdw value for patient 86792?", "template": "what was the minimum rdw value of patient 86792 on the last hospital visit?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86792 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' )", "value": {"patient_id": 86792, "lab_name": "rdw"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d34b8fb3097c66a657d982e4"}, {"db_id": "mimic_iii", "question": "what is the minimum value of specific gravity in patient 16572's body until 66 months ago?", "template": "what was the minimum specific gravity value of patient 16572 until 66 month ago?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'specific gravity' ) and datetime(labevents.charttime) <= datetime(current_time,'-66 month')", "value": {"patient_id": 16572, "lab_name": "specific gravity"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e79faa1c4be758b8132c48e0"}, {"db_id": "mimic_iii", "question": "what is patient 13806's minimum uric acid, urine value since 108 months ago?", "template": "what was the minimum uric acid, urine value of patient 13806 since 108 month ago?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13806 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'uric acid, urine' ) and datetime(labevents.charttime) >= datetime(current_time,'-108 month')", "value": {"lab_name": "uric acid, urine", "patient_id": 13806}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30573e093b59b76d27db996f"}, {"db_id": "mimic_iii", "question": "oh what is the average value of creatinine on patient 64881 since 53 months ago?", "template": "what was the average creatinine value of patient 64881 since 53 month ago?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64881 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and datetime(labevents.charttime) >= datetime(current_time,'-53 month')", "value": {"patient_id": 64881, "lab_name": "creatinine"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e1a40744efb7855b30f1477"}, {"db_id": "mimic_iii", "question": "what is the maximum magnesium value in 03/last year for patient 3911?", "template": "what was the maximum magnesium value of patient 3911 in 03/last year?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3911 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '03'", "value": {"patient_id": 3911, "lab_name": "magnesium"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d7c2d6e761e71238cc7bf446"}, {"db_id": "mimic_iii", "question": "hey what was patient 86792's average chloride value until 10 months ago?", "template": "what was the average chloride value of patient 86792 until 10 month ago?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86792 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and datetime(labevents.charttime) <= datetime(current_time,'-10 month')", "value": {"patient_id": 86792, "lab_name": "chloride"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4a9ca24c2e40568629b117c"}, {"db_id": "mimic_iii", "question": "what's patient 51675's maximum value of monocytes until 40 months ago?", "template": "what was the maximum monocytes value of patient 51675 until 40 month ago?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51675 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'monocytes' ) and datetime(labevents.charttime) <= datetime(current_time,'-40 month')", "value": {"patient_id": 51675, "lab_name": "monocytes"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57ab04bd4add25015ac3dfac"}, {"db_id": "mimic_iii", "question": "what was the minimum creatinine value for patient 87232 in this hospital visit.", "template": "what was the minimum creatinine value of patient 87232 on the current hospital visit?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' )", "value": {"patient_id": 87232, "lab_name": "creatinine"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b2d09a84d3af73b59a0c74b"}, {"db_id": "mimic_iii", "question": "hey what was patient 6215's average phenytoin, free value during the first hospital visit?", "template": "what was the average phenytoin, free value of patient 6215 on the first hospital visit?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6215 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phenytoin, free' )", "value": {"lab_name": "phenytoin, free", "patient_id": 6215}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45e1b65c3b12349a82ff5c67"}, {"db_id": "mimic_iii", "question": "what is the average value of reticulocyte count, automated in patient 15794's body during this month?", "template": "what was the average reticulocyte count, automated value of patient 15794 this month?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'reticulocyte count, automated' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"lab_name": "reticulocyte count, automated", "patient_id": 15794}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59b56a1ec9bb0872deeb7484"}, {"db_id": "mimic_iii", "question": "what is patient 13686's average calcium, total value in 07/this year?", "template": "what was the average calcium, total value of patient 13686 in 07/this year?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13686 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '07'", "value": {"patient_id": 13686, "lab_name": "calcium, total"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3129156df8ccc8dc9d78b47a"}, {"db_id": "mimic_iii", "question": "tell me patient 65582's average metamyelocytes value in this month?", "template": "what was the average metamyelocytes value of patient 65582 this month?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'metamyelocytes' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"lab_name": "metamyelocytes", "patient_id": 65582}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "312912d24d9b4011caf876ea"}, {"db_id": "mimic_iii", "question": "what is patient 64983's maximum po2 value in 10/this year?", "template": "what was the maximum po2 value of patient 64983 in 10/this year?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64983 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '10'", "value": {"patient_id": 64983, "lab_name": "po2"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9083d24e343fb2a1f74c418d"}, {"db_id": "mimic_iii", "question": "what's patient 51497's average value of ptt in 07/2105?", "template": "what was the average ptt value of patient 51497 in 07/2105?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51497 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and strftime('%y-%m',labevents.charttime) = '2105-07'", "value": {"patient_id": 51497, "lab_name": "ptt"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a7eebb761b11c64d86597cc"}, {"db_id": "mimic_iii", "question": "hey what was patient 54700's maximum calculated total co2 value when they came to the hospital last time?", "template": "what was the maximum calculated total co2 value of patient 54700 on the last hospital visit?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54700 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' )", "value": {"lab_name": "calculated total co2", "patient_id": 54700}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfdab8e3bb358001c2c3c657"}, {"db_id": "mimic_iii", "question": "what was the minimum platelet count value for patient 65786.", "template": "what was the minimum platelet count value of patient 65786?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65786 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' )", "value": {"patient_id": 65786, "lab_name": "platelet count"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5653e36c16dbf6149ca973f1"}, {"db_id": "mimic_iii", "question": "since 11 months ago, what was the maximum potassium value for patient 47460?", "template": "what was the maximum potassium value of patient 47460 since 11 month ago?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47460 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and datetime(labevents.charttime) >= datetime(current_time,'-11 month')", "value": {"patient_id": 47460, "lab_name": "potassium"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e84393ea089a4582a5d1cfb0"}, {"db_id": "mimic_iii", "question": "until 03/2104, what was the average mcv value for patient 69289?", "template": "what was the average mcv value of patient 69289 until 03/2104?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 69289 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) and strftime('%y-%m',labevents.charttime) <= '2104-03'", "value": {"patient_id": 69289, "lab_name": "mcv"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82cb7bea2d6a3fc3a12e1c68"}, {"db_id": "mimic_iii", "question": "what was the maximum value of patient 22648's monocytes in the current hospital encounter?", "template": "what was the maximum monocytes value of patient 22648 on the current hospital visit?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'monocytes' )", "value": {"patient_id": 22648, "lab_name": "monocytes"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "92991759409e385f56632148"}, {"db_id": "mimic_iii", "question": "what is patient 17944's maximum value of osmolality, urine since 80 months ago?", "template": "what was the maximum osmolality, urine value of patient 17944 since 80 month ago?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17944 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'osmolality, urine' ) and datetime(labevents.charttime) >= datetime(current_time,'-80 month')", "value": {"lab_name": "osmolality, urine", "patient_id": 17944}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe164486b64963691ca01135"}, {"db_id": "mimic_iii", "question": "what is patient 2004's minimum sodium, urine value until 09/2105?", "template": "what was the minimum sodium, urine value of patient 2004 until 09/2105?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2004 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium, urine' ) and strftime('%y-%m',labevents.charttime) <= '2105-09'", "value": {"lab_name": "sodium, urine", "patient_id": 2004}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5edbe4ba86a07dc67c054007"}, {"db_id": "mimic_iii", "question": "so what's the average urea nitrogen, urine value of patient 12775 on this hospital encounter?", "template": "what was the average urea nitrogen, urine value of patient 12775 on the current hospital visit?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urea nitrogen, urine' )", "value": {"patient_id": 12775, "lab_name": "urea nitrogen, urine"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4eb3f5e689bfd6b1f413e54"}, {"db_id": "mimic_iii", "question": "what is during the first hospital encounter maximum neutrophils value of patient 99647?", "template": "what was the maximum neutrophils value of patient 99647 on the first hospital visit?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' )", "value": {"patient_id": 99647, "lab_name": "neutrophils"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dbf7eb22e853100681cddbf8"}, {"db_id": "mimic_iii", "question": "what is minimum anion gap value of patient 65467?", "template": "what was the minimum anion gap value of patient 65467?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65467 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' )", "value": {"lab_name": "anion gap", "patient_id": 65467}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8a2dfaa4f863e09f2b029d8"}, {"db_id": "mimic_iii", "question": "what is patient 52736's minimum albumin value?", "template": "what was the minimum albumin value of patient 52736?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52736 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'albumin' )", "value": {"patient_id": 52736, "lab_name": "albumin"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "092a6640dfef26944971e4f8"}, {"db_id": "mimic_iii", "question": "tell me patient 10624's minimum bands value this month?", "template": "what was the minimum bands value of patient 10624 this month?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bands' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 10624, "lab_name": "bands"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f016b67128d3add36d25aab5"}, {"db_id": "mimic_iii", "question": "what is until 04/2105 maximum albumin, body fluid value of patient 31300?", "template": "what was the maximum albumin, body fluid value of patient 31300 until 04/2105?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'albumin, body fluid' ) and strftime('%y-%m',labevents.charttime) <= '2105-04'", "value": {"lab_name": "albumin, body fluid", "patient_id": 31300}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d87c5b89e95edc85f2c687e0"}, {"db_id": "mimic_iii", "question": "when they visited the hospital last time, what was the maximum homocysteine value for patient 57169?", "template": "what was the maximum homocysteine value of patient 57169 on the last hospital visit?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57169 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'homocysteine' )", "value": {"lab_name": "homocysteine", "patient_id": 57169}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e60f359d14598e1b81a6b4b8"}, {"db_id": "mimic_iii", "question": "what is in 06/2101 average pt value of patient 73206?", "template": "what was the average pt value of patient 73206 in 06/2101?", "query": "select avg(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73206 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and strftime('%y-%m',labevents.charttime) = '2101-06'", "value": {"patient_id": 73206, "lab_name": "pt"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "73c87a53909b5b7c26ae9847"}, {"db_id": "mimic_iii", "question": "what was the maximum value of patient 3929's mchc in this month?", "template": "what was the maximum mchc value of patient 3929 this month?", "query": "select max(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month')", "value": {"patient_id": 3929, "lab_name": "mchc"}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {lab_name} value of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1410562e944be7a3dd09c191"}, {"db_id": "mimic_iii", "question": "in 02/2105, what was the minimum osmolality, measured value for patient 89673?", "template": "what was the minimum osmolality, measured value of patient 89673 in 02/2105?", "query": "select min(labevents.valuenum) from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89673 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'osmolality, measured' ) and strftime('%y-%m',labevents.charttime) = '2105-02'", "value": {"lab_name": "osmolality, measured", "patient_id": 89673}, "q_tag": "what was the [agg_function] {lab_name} value of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {lab_name} value of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4cc8284c517ac058362caf91"}, {"db_id": "mimic_iii", "question": "what organism was found in patient 92788's first test of foot culture since 12/2105?", "template": "what was the organism name found in the first foot culture microbiology test of patient 92788 since 12/2105?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and microbiologyevents.spec_type_desc = 'foot culture' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) >= '2105-12' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "foot culture", "patient_id": 92788}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6cca67bc5280bb0ebd83071"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in the last microbiological examination of patient 65401's abscess in 06/this year?", "template": "what was the organism name found in the last abscess microbiology test of patient 65401 in 06/this year?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65401 ) and microbiologyevents.spec_type_desc = 'abscess' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '06' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "abscess", "patient_id": 65401}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d8e063d88243317327b5b4c2"}, {"db_id": "mimic_iii", "question": "what is the organism name found until 20 months ago in the last isolate microbiology test of patient 95470?", "template": "what was the organism name found in the last isolate microbiology test of patient 95470 until 20 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95470 ) and microbiologyevents.spec_type_desc = 'isolate' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) <= datetime(current_time,'-20 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "isolate", "patient_id": 95470}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2244a8e760d472a48edd8cf"}, {"db_id": "mimic_iii", "question": "what was the organism found in the last mini-bal microbiology test for patient 3369 until 04/2103?", "template": "what was the organism name found in the last mini-bal microbiology test of patient 3369 until 04/2103?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) and microbiologyevents.spec_type_desc = 'mini-bal' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) <= '2103-04' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "mini-bal", "patient_id": 3369}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b2476e78e1a39c7f1c2517f"}, {"db_id": "mimic_iii", "question": "what was the name of the organism detected in patient 71091's last urine microbiology test until 2 months ago?", "template": "what was the organism name found in the last urine microbiology test of patient 71091 until 2 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71091 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) <= datetime(current_time,'-2 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 71091, "culture_name": "urine"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47a7944b916d3949f4ca9ff2"}, {"db_id": "mimic_iii", "question": "on their last hospital visit, what is the name of the organism found first blood culture microbiology test of patient 23721?", "template": "what was the organism name found in the first blood culture microbiology test of patient 23721 on the last hospital visit?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23721 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'blood culture' and microbiologyevents.org_name is not null order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 23721, "culture_name": "blood culture"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "41703b18c36389bd99fa9c2b"}, {"db_id": "mimic_iii", "question": "what was the organism that was found in the last microbiology test of patient 24894's blood culture (post-mortem)?", "template": "what was the organism name found in the last blood culture (post-mortem) microbiology test of patient 24894?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24894 ) and microbiologyevents.spec_type_desc = 'blood culture (post-mortem)' and microbiologyevents.org_name is not null order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "blood culture (post-mortem)", "patient_id": 24894}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "060a6f3826902bc2ccc46f07"}, {"db_id": "mimic_iii", "question": "what was the name of the organism at the last sputum test of patient 26886 on the first hospital encounter?", "template": "what was the organism name found in the last sputum microbiology test of patient 26886 on the first hospital visit?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26886 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 26886, "culture_name": "sputum"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3312ffa43f50acac9fd3184f"}, {"db_id": "mimic_iii", "question": "what was the organism found in patient 25997's first test of blood culture since 79 months ago?", "template": "what was the organism name found in the first blood culture microbiology test of patient 25997 since 79 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25997 ) and microbiologyevents.spec_type_desc = 'blood culture' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) >= datetime(current_time,'-79 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 25997, "culture_name": "blood culture"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df99dd5de7df46ce84b35ff1"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in the first urine microbiology test of patient 97834 until 04/2103.", "template": "what was the organism name found in the first urine microbiology test of patient 97834 until 04/2103?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97834 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) <= '2103-04' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 97834, "culture_name": "urine"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d6c5521217ff44990b7afe7"}, {"db_id": "mimic_iii", "question": "what was the organism name found since 69 months ago in patient 26612's first urine microbiology test?", "template": "what was the organism name found in the first urine microbiology test of patient 26612 since 69 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26612 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) >= datetime(current_time,'-69 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 26612, "culture_name": "urine"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f3429fe33cbd94e1cb55db7"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in the last urine microbiology test of patient 17462 in 12/this year?", "template": "what was the organism name found in the last urine microbiology test of patient 17462 in 12/this year?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '12' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 17462, "culture_name": "urine"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "41e1615ff95caa788622408c"}, {"db_id": "mimic_iii", "question": "what organism was found during the first pleural fluid test of patient 17398 until 40 months ago?", "template": "what was the organism name found in the first pleural fluid microbiology test of patient 17398 until 40 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 ) and microbiologyevents.spec_type_desc = 'pleural fluid' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) <= datetime(current_time,'-40 month') order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "pleural fluid", "patient_id": 17398}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "beb68006e6925aaf0a29ea3e"}, {"db_id": "mimic_iii", "question": "what was the organism found in the last bronchoalveolar lavage test of patient 97395 in this month?", "template": "what was the organism name found in the last bronchoalveolar lavage microbiology test of patient 97395 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 ) and microbiologyevents.spec_type_desc = 'bronchoalveolar lavage' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "bronchoalveolar lavage", "patient_id": 97395}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f02b50fd1a55399785d9f335"}, {"db_id": "mimic_iii", "question": "what was the organism detected in patient 65582's first fluid received in blood culture bottles microbiology test in this month?", "template": "what was the organism name found in the first fluid received in blood culture bottles microbiology test of patient 65582 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and microbiologyevents.spec_type_desc = 'fluid received in blood culture bottles' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "fluid received in blood culture bottles", "patient_id": 65582}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d9151e9c683e0ca10045a854"}, {"db_id": "mimic_iii", "question": "what was the organism name of the last bile microbiology test of patient 7107 since 07/2105?", "template": "what was the organism name found in the last bile microbiology test of patient 7107 since 07/2105?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7107 ) and microbiologyevents.spec_type_desc = 'bile' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) >= '2105-07' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 7107, "culture_name": "bile"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c99a0b7ebe07f5d2a49d423d"}, {"db_id": "mimic_iii", "question": "what is the name of organism in the first foreign body microbiology test of patient 24894 until 57 months ago?", "template": "what was the organism name found in the first foreign body microbiology test of patient 24894 until 57 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24894 ) and microbiologyevents.spec_type_desc = 'foreign body' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) <= datetime(current_time,'-57 month') order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "foreign body", "patient_id": 24894}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4cef670d258aff5255885e0"}, {"db_id": "mimic_iii", "question": "what was the organism found in the first blood culture of patient 65569?", "template": "what was the organism name found in the first blood culture microbiology test of patient 65569?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65569 ) and microbiologyevents.spec_type_desc = 'blood culture' and microbiologyevents.org_name is not null order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 65569, "culture_name": "blood culture"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1ec60cfdf971656c3187824"}, {"db_id": "mimic_iii", "question": "what was the the organism name found in the first pleural fluid test of patient 17398 until 40 months ago?", "template": "what was the organism name found in the first pleural fluid microbiology test of patient 17398 until 40 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 ) and microbiologyevents.spec_type_desc = 'pleural fluid' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) <= datetime(current_time,'-40 month') order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "pleural fluid", "patient_id": 17398}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a010586db8befa17c758509"}, {"db_id": "mimic_iii", "question": "what was the name of the organism that was found on the last blood culture microbiology test patient 15905 received?", "template": "what was the organism name found in the last blood culture microbiology test of patient 15905?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15905 ) and microbiologyevents.spec_type_desc = 'blood culture' and microbiologyevents.org_name is not null order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 15905, "culture_name": "blood culture"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "98ea1142e81e930adf406577"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in patient 64538 last sputum microbiology test in 03/2100.", "template": "what was the organism name found in the last sputum microbiology test of patient 64538 in 03/2100?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64538 ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) = '2100-03' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "sputum", "patient_id": 64538}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6bf85f2dee1165bd3da926be"}, {"db_id": "mimic_iii", "question": "what organism has been found in the first mini-bal exam of patient 31854 during this hospital encounter?", "template": "what was the organism name found in the first mini-bal microbiology test of patient 31854 on the current hospital visit?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 and admissions.dischtime is null ) and microbiologyevents.spec_type_desc = 'mini-bal' and microbiologyevents.org_name is not null order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "mini-bal", "patient_id": 31854}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d770f17ac14be225282a94a"}, {"db_id": "mimic_iii", "question": "what was the name of the organism that was found during the last swab test of patient 62983 until 29 months ago?", "template": "what was the organism name found in the last swab microbiology test of patient 62983 until 29 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62983 ) and microbiologyevents.spec_type_desc = 'swab' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) <= datetime(current_time,'-29 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 62983, "culture_name": "swab"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "afb930cdd7eb402e296d1e22"}, {"db_id": "mimic_iii", "question": "whats the name of the organism found in the last blood culture test of patient 31482 in 12/this year?", "template": "what was the organism name found in the last blood culture microbiology test of patient 31482 in 12/this year?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 ) and microbiologyevents.spec_type_desc = 'blood culture' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '12' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 31482, "culture_name": "blood culture"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70d43e944840e7c8e4e9417e"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found during the first mini-bal microbiology examination of patient 31854 this month?", "template": "what was the organism name found in the first mini-bal microbiology test of patient 31854 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and microbiologyevents.spec_type_desc = 'mini-bal' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "mini-bal", "patient_id": 31854}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e704763ea18af1d5b6546b4"}, {"db_id": "mimic_iii", "question": "what was the organism that was discovered in the last sputum microbiology test of patient 12775 this month?", "template": "what was the organism name found in the last sputum microbiology test of patient 12775 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 12775, "culture_name": "sputum"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5bc1b9dae5abab54b5af104f"}, {"db_id": "mimic_iii", "question": "what was the name of the organism that was found this month in the last test of the microbiology of the urine of patient 18677?", "template": "what was the organism name found in the last urine microbiology test of patient 18677 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 18677, "culture_name": "urine"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "499fb779855653ac0a9eca61"}, {"db_id": "mimic_iii", "question": "what was the organism found in the first sputum microbiological test of patient 92642 until 05/2100?", "template": "what was the organism name found in the first sputum microbiology test of patient 92642 until 05/2100?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92642 ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) <= '2100-05' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 92642, "culture_name": "sputum"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c635147e53ba850dbc87542"}, {"db_id": "mimic_iii", "question": "what was the organism that was detected during patient 74624's last catheter tip-iv test in their last hospital visit?", "template": "what was the organism name found in the last catheter tip-iv microbiology test of patient 74624 on the last hospital visit?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74624 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'catheter tip-iv' and microbiologyevents.org_name is not null order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 74624, "culture_name": "catheter tip-iv"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39d5359ec181761abd2a094d"}, {"db_id": "mimic_iii", "question": "in 10/2101, what organism was found in patient 23061's first urine test?", "template": "what was the organism name found in the first urine microbiology test of patient 23061 in 10/2101?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23061 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) = '2101-10' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "urine", "patient_id": 23061}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b46b6438565b00d4e75efeb0"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in patient 24894's first blood culture (post-mortem) test, which took place in their last hospital encounter?", "template": "what was the organism name found in the first blood culture (post-mortem) microbiology test of patient 24894 on the last hospital visit?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24894 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'blood culture (post-mortem)' and microbiologyevents.org_name is not null order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "blood culture (post-mortem)", "patient_id": 24894}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30c2de53bcfe63f816860608"}, {"db_id": "mimic_iii", "question": "what is the name of the organism that was found in the last swab test of patient 25814 this month?", "template": "what was the organism name found in the last swab microbiology test of patient 25814 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) and microbiologyevents.spec_type_desc = 'swab' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 25814, "culture_name": "swab"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ccbf83df2b2a2d591861acf2"}, {"db_id": "mimic_iii", "question": "what is the organism name found in the last urine,kidney test of patient 65582 during this month?", "template": "what was the organism name found in the last urine,kidney microbiology test of patient 65582 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and microbiologyevents.spec_type_desc = 'urine,kidney' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "urine,kidney", "patient_id": 65582}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "612343cf7812537acfd8d3f7"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in the microbiology test of the first urine,kidney of patient 63676 in 04/this year?", "template": "what was the organism name found in the first urine,kidney microbiology test of patient 63676 in 04/this year?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63676 ) and microbiologyevents.spec_type_desc = 'urine,kidney' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '04' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "urine,kidney", "patient_id": 63676}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bab639901765476e6724adce"}, {"db_id": "mimic_iii", "question": "tell me the name of the organism found in the last blood culture microbiology test on patient 15968 in 08/2100?", "template": "what was the organism name found in the last blood culture microbiology test of patient 15968 in 08/2100?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15968 ) and microbiologyevents.spec_type_desc = 'blood culture' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) = '2100-08' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 15968, "culture_name": "blood culture"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6fc5f52ed141f48a3ca7b8d6"}, {"db_id": "mimic_iii", "question": "what was the organism found in patient 8324's first microbiology test of the sputum in 07/last year?", "template": "what was the organism name found in the first sputum microbiology test of patient 8324 in 07/last year?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8324 ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '07' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 8324, "culture_name": "sputum"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a5ef9fb8f3e43f65f59b72d"}, {"db_id": "mimic_iii", "question": "tell me the name of the organism found in patient 92788's first foot culture microbiology tests since 07/2105?", "template": "what was the organism name found in the first foot culture microbiology test of patient 92788 since 07/2105?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and microbiologyevents.spec_type_desc = 'foot culture' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) >= '2105-07' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "foot culture", "patient_id": 92788}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43bb64a630aa56afc512783a"}, {"db_id": "mimic_iii", "question": "tell me the name of the organism that was detected in the first catheter tip-iv test of patient 74392?", "template": "what was the organism name found in the first catheter tip-iv microbiology test of patient 74392?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74392 ) and microbiologyevents.spec_type_desc = 'catheter tip-iv' and microbiologyevents.org_name is not null order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 74392, "culture_name": "catheter tip-iv"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f8eaef68ff6383a4064d4cd"}, {"db_id": "mimic_iii", "question": "what was the name of an organism which was found in the last sputum microbiology test of patient 22648 during their current hospital encounter?", "template": "what was the organism name found in the last sputum microbiology test of patient 22648 on the current hospital visit?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 and admissions.dischtime is null ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "sputum", "patient_id": 22648}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ee683fb1be504a564f94763"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found at the last pleural fluid test of patient 23070 since 20 months ago?", "template": "what was the organism name found in the last pleural fluid microbiology test of patient 23070 since 20 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) and microbiologyevents.spec_type_desc = 'pleural fluid' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) >= datetime(current_time,'-20 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "pleural fluid", "patient_id": 23070}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "171412e69ddf59b1c051dc94"}, {"db_id": "mimic_iii", "question": "what is the organism that was detected in patient 53176's last urine microbiology test this month?", "template": "what was the organism name found in the last urine microbiology test of patient 53176 this month?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 53176, "culture_name": "urine"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "534d7b5424f9891e6b193db3"}, {"db_id": "mimic_iii", "question": "what was the name of the organism to be found in the first urine test of patient 5878 in 01/2103?", "template": "what was the organism name found in the first urine microbiology test of patient 5878 in 01/2103?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5878 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) = '2103-01' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "urine", "patient_id": 5878}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "98df884e905f0a3c37fdc6dc"}, {"db_id": "mimic_iii", "question": "what is the name of the organism found in the first swab microbiology test of patient 31325 in 06/last year?", "template": "what was the organism name found in the first swab microbiology test of patient 31325 in 06/last year?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) and microbiologyevents.spec_type_desc = 'swab' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '06' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "swab", "patient_id": 31325}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-first] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58095d162ec6da9b3ce4888c"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found on the last urine microbiology test of patient 1457 in 02/last year?", "template": "what was the organism name found in the last urine microbiology test of patient 1457 in 02/last year?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1457 ) and microbiologyevents.spec_type_desc = 'urine' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '02' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 1457, "culture_name": "urine"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4dfd5607abca1c6316b4c579"}, {"db_id": "mimic_iii", "question": "what is the name of the organism in patient 20898's last sputum microbiology test since 12/2105?", "template": "what was the organism name found in the last sputum microbiology test of patient 20898 since 12/2105?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) >= '2105-12' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 20898, "culture_name": "sputum"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a821400dc9fe9b03ba069c1a"}, {"db_id": "mimic_iii", "question": "what was the name of the organism to be found in the last eye test of patient 23760 during the first hospital encounter?", "template": "what was the organism name found in the last eye microbiology test of patient 23760 on the first hospital visit?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23760 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'eye' and microbiologyevents.org_name is not null order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "eye", "patient_id": 23760}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e494a65aca13b37b518677f2"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in 12/2105 in the last fluid received in blood culture bottles microbiology test of patient 49176?", "template": "what was the organism name found in the last fluid received in blood culture bottles microbiology test of patient 49176 in 12/2105?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 ) and microbiologyevents.spec_type_desc = 'fluid received in blood culture bottles' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) = '2105-12' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "fluid received in blood culture bottles", "patient_id": 49176}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a2ccf94a9b198f9912d45ff"}, {"db_id": "mimic_iii", "question": "what was the name of the organism that was found in the last sputum test of patient 15125, since 01/2103?", "template": "what was the organism name found in the last sputum microbiology test of patient 15125 since 01/2103?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15125 ) and microbiologyevents.spec_type_desc = 'sputum' and microbiologyevents.org_name is not null and strftime('%y-%m',microbiologyevents.charttime) >= '2103-01' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 15125, "culture_name": "sputum"}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4826801b2a98085b7e96127b"}, {"db_id": "mimic_iii", "question": "what was the name of the organism found in the microbiology test of the last throat culture of patient 4469 since 168 months ago?", "template": "what was the organism name found in the last throat culture microbiology test of patient 4469 since 168 month ago?", "query": "select microbiologyevents.org_name from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4469 ) and microbiologyevents.spec_type_desc = 'throat culture' and microbiologyevents.org_name is not null and datetime(microbiologyevents.charttime) >= datetime(current_time,'-168 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "throat culture", "patient_id": 4469}, "q_tag": "what was the organism name found in the [time_filter_exact1] {culture_name} microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the organism name found in the [time_filter_exact1:exact-last] {culture_name} microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "618da8a86029e25bf5fb6bc2"}, {"db_id": "mimic_iii", "question": "what specimen test was given to patient 28443 in the current hospital visit for the last time?", "template": "what was the name of the specimen that patient 28443 was last tested on the current hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 and admissions.dischtime is null ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 28443}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d785f606a5883ea647242bbc"}, {"db_id": "mimic_iii", "question": "what specimen tests were given to patient 51858 for the last time in their current hospital encounter?", "template": "what was the name of the specimen that patient 51858 was last tested on the current hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 and admissions.dischtime is null ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 51858}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2b9665422822b2b9ec449af"}, {"db_id": "mimic_iii", "question": "what specimen tests did patient 31300 receive since 68 months ago for the last time?", "template": "what was the name of the specimen that patient 31300 was last tested since 68 month ago?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 ) and datetime(microbiologyevents.charttime) >= datetime(current_time,'-68 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 31300}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "486db4e770c37da5b3476da1"}, {"db_id": "mimic_iii", "question": "what was the name of the first specimen test that patient 70267 received in 12/this year?", "template": "what was the name of the specimen that patient 70267 was first tested in 12/this year?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '12' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 70267}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "209786c44329bb2f8050b0cd"}, {"db_id": "mimic_iii", "question": "what specimen test was first given until 08/2105 to patient 10686?", "template": "what was the name of the specimen that patient 10686 was first tested until 08/2105?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10686 ) and strftime('%y-%m',microbiologyevents.charttime) <= '2105-08' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 10686}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfb0c6123b30087cd331610d"}, {"db_id": "mimic_iii", "question": "what's the name of the specimen test that patient 73693 last got last month?", "template": "what was the name of the specimen that patient 73693 was last tested last month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73693 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 73693}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "934dad01db3fd68875417f0b"}, {"db_id": "mimic_iii", "question": "what is the name of the specimen test that patient 40833 received in 10/last year for the last time?", "template": "what was the name of the specimen that patient 40833 was last tested in 10/last year?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40833 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '10' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 40833}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc6adbcf4146387c2b2aae75"}, {"db_id": "mimic_iii", "question": "what is the name of the specimen test which patient 5878 has last received on the last hospital encounter?", "template": "what was the name of the specimen that patient 5878 was last tested on the last hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5878 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 5878}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "382169e26a03031361bd8cb4"}, {"db_id": "mimic_iii", "question": "tell me the name of the specimen test patient 1862 received for the last time during their last hospital encounter?", "template": "what was the name of the specimen that patient 1862 was last tested on the last hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1862 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 1862}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e76cde3e282d8ef78babf59"}, {"db_id": "mimic_iii", "question": "on their first hospital encounter, what specimen test did patient 94122 receive for the first time?", "template": "what was the name of the specimen that patient 94122 was first tested on the first hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94122 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 94122}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1ceffac94c6b39947678d957"}, {"db_id": "mimic_iii", "question": "what was the name of the specimen test that patient 12572 received for the last time until 19 months ago?", "template": "what was the name of the specimen that patient 12572 was last tested until 19 month ago?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12572 ) and datetime(microbiologyevents.charttime) <= datetime(current_time,'-19 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 12572}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "daea93791b235ee902e50218"}, {"db_id": "mimic_iii", "question": "what specimen tests did patient 13897 undergo for the last time until 11/2101?", "template": "what was the name of the specimen that patient 13897 was last tested until 11/2101?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13897 ) and strftime('%y-%m',microbiologyevents.charttime) <= '2101-11' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 13897}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e99559e6844e911616b01f59"}, {"db_id": "mimic_iii", "question": "tell me the last specimen test given to patient 51177 in 10/2105?", "template": "what was the name of the specimen that patient 51177 was last tested in 10/2105?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) and strftime('%y-%m',microbiologyevents.charttime) = '2105-10' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 51177}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93756007d7c8fd4ca204f86a"}, {"db_id": "mimic_iii", "question": "tell me the name of the last specimen test patient 26612 had received in 12/2102?", "template": "what was the name of the specimen that patient 26612 was last tested in 12/2102?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26612 ) and strftime('%y-%m',microbiologyevents.charttime) = '2102-12' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 26612}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2fd80fc95e24aeb55fcc13c"}, {"db_id": "mimic_iii", "question": "what was the name of the specimen test that patient 85895 has gotten the first the last month?", "template": "what was the name of the specimen that patient 85895 was first tested last month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 85895}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8217a3441151def6a8f7d9ce"}, {"db_id": "mimic_iii", "question": "tell me the name of the last specimen test that patient 4758 in 07/this year received?", "template": "what was the name of the specimen that patient 4758 was last tested in 07/this year?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4758 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '07' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 4758}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4442028aeb07f8fcf867b2ef"}, {"db_id": "mimic_iii", "question": "what is the first specimen test given to patient 7375 in 04/2100?", "template": "what was the name of the specimen that patient 7375 was first tested in 04/2100?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 ) and strftime('%y-%m',microbiologyevents.charttime) = '2100-04' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 7375}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca097c923eaf2943098918ce"}, {"db_id": "mimic_iii", "question": "what was the name of the last specimen test which patient 17398 has received during the last hospital visit?", "template": "what was the name of the specimen that patient 17398 was last tested on the last hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 17398}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37d48b06ddfc4138696e753c"}, {"db_id": "mimic_iii", "question": "what is the name of the specimen test that patient 52898 last got on this hospital encounter?", "template": "what was the name of the specimen that patient 52898 was last tested on the current hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 52898}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6479c98bc7abecb3cbb296c"}, {"db_id": "mimic_iii", "question": "what was the name of that first specimen test patient 83466 got since 05/2101?", "template": "what was the name of the specimen that patient 83466 was first tested since 05/2101?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83466 ) and strftime('%y-%m',microbiologyevents.charttime) >= '2101-05' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 83466}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ffab4edce154105de3b60e9e"}, {"db_id": "mimic_iii", "question": "tell me the name of the specimen test that patient 6170 first received during this month?", "template": "what was the name of the specimen that patient 6170 was first tested this month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 6170}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "902d20e483765e1327b4bf8e"}, {"db_id": "mimic_iii", "question": "what's the name of the specimen test that was first given to patient 40967 during the last hospital encounter?", "template": "what was the name of the specimen that patient 40967 was first tested on the last hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40967 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 40967}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "abda4a76bef89e242c4af0c5"}, {"db_id": "mimic_iii", "question": "what is the specimen test that patient 72032 was given for the last time?", "template": "what was the name of the specimen that patient 72032 was last tested?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72032 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 72032}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:null]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "323f24451d144c24af87a2ba"}, {"db_id": "mimic_iii", "question": "what were the specimen tests that patient 97733 last had in this hospital encounter?", "template": "what was the name of the specimen that patient 97733 was last tested on the current hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 and admissions.dischtime is null ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 97733}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e53fd10c6cd2f70e8fdeefa8"}, {"db_id": "mimic_iii", "question": "what specimen test has been given this month to patient 26286 for the first time?", "template": "what was the name of the specimen that patient 26286 was first tested this month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26286 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 26286}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8bacfb1dac743cc57eab39f"}, {"db_id": "mimic_iii", "question": "what specimen tests were given to patient 15945 in 12/this year for the last time?", "template": "what was the name of the specimen that patient 15945 was last tested in 12/this year?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '12' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 15945}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aea30b0783beaa653298ba64"}, {"db_id": "mimic_iii", "question": "what was the name of the specimen test that patient 61683 had received the first time until 09/2104?", "template": "what was the name of the specimen that patient 61683 was first tested until 09/2104?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61683 ) and strftime('%y-%m',microbiologyevents.charttime) <= '2104-09' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 61683}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b9cc900f0069e4d704a55ce"}, {"db_id": "mimic_iii", "question": "what were the names of the specimen test that patient 9519 first received on the last hospital visit?", "template": "what was the name of the specimen that patient 9519 was first tested on the last hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9519 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 9519}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "44755dcfd8e08995a5a59a5f"}, {"db_id": "mimic_iii", "question": "what was the specimen test that patient 58028 last received until 02/2104?", "template": "what was the name of the specimen that patient 58028 was last tested until 02/2104?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58028 ) and strftime('%y-%m',microbiologyevents.charttime) <= '2104-02' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 58028}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b3fd8c9cf939de3c42b606de"}, {"db_id": "mimic_iii", "question": "tell me the first specimen test that patient 76327 received during this hospital visit?", "template": "what was the name of the specimen that patient 76327 was first tested on the current hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 and admissions.dischtime is null ) order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 76327}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "550a6bb53673969f17325c62"}, {"db_id": "mimic_iii", "question": "tell me the name of the specimen test that patient 15794 had last received in this month?", "template": "what was the name of the specimen that patient 15794 was last tested this month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 15794}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b31fcd7f3d3e6364cbd462b"}, {"db_id": "mimic_iii", "question": "tell me the name of the specimen test patient 23070 first got during a month before?", "template": "what was the name of the specimen that patient 23070 was first tested last month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 23070}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "596d6d9490d328058690a324"}, {"db_id": "mimic_iii", "question": "what was the first specimen test of patient 31510 in 06/this year?", "template": "what was the name of the specimen that patient 31510 was first tested in 06/this year?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31510 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '06' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 31510}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22c82d81963b54ae8a009d54"}, {"db_id": "mimic_iii", "question": "what was the name of the specimen test that patient 65582 had last received in this month?", "template": "what was the name of the specimen that patient 65582 was last tested this month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 65582}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9873132c7771369c4cb890e3"}, {"db_id": "mimic_iii", "question": "what was the first specimen test that was given to patient 55624 until 37 months ago?", "template": "what was the name of the specimen that patient 55624 was first tested until 37 month ago?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55624 ) and datetime(microbiologyevents.charttime) <= datetime(current_time,'-37 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 55624}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90b9b8ef0a59e074e9c8b888"}, {"db_id": "mimic_iii", "question": "tell me the name of the last specimen test that was given to patient 370 in 03/last year?", "template": "what was the name of the specimen that patient 370 was last tested in 03/last year?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 370 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '03' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 370}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18972e0ddda0d1574207de29"}, {"db_id": "mimic_iii", "question": "what specimen test was given to patient 97330 for the last time since 09/2103?", "template": "what was the name of the specimen that patient 97330 was last tested since 09/2103?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 ) and strftime('%y-%m',microbiologyevents.charttime) >= '2103-09' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 97330}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf2ee4c522b645a5153b6ba4"}, {"db_id": "mimic_iii", "question": "tell me the name of the specimen test that patient 73362 had first received since 124 months ago?", "template": "what was the name of the specimen that patient 73362 was first tested since 124 month ago?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73362 ) and datetime(microbiologyevents.charttime) >= datetime(current_time,'-124 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 73362}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "939318893aa30c65cd4971c0"}, {"db_id": "mimic_iii", "question": "what is the specimen test that patient 49654 was given for the last time in 06/this year?", "template": "what was the name of the specimen that patient 49654 was last tested in 06/this year?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49654 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '06' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 49654}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1c339f6210b204db15d18b07"}, {"db_id": "mimic_iii", "question": "what specimen test was given for the last time to patient 16088 on the first hospital visit?", "template": "what was the name of the specimen that patient 16088 was last tested on the first hospital visit?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 16088}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-last] tested [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33a34e71ccda5158ea88c736"}, {"db_id": "mimic_iii", "question": "what were the specimen tests that patient 52456 first had in the last month?", "template": "what was the name of the specimen that patient 52456 was first tested last month?", "query": "select microbiologyevents.spec_type_desc from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52456 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 52456}, "q_tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1] tested [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the specimen that patient {patient_id} was [time_filter_exact1:exact-first] tested [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d2453e70a6285a588db8b9e3"}, {"db_id": "mimic_iii", "question": "what was the name of the last intake that patient 15821 on the last intensive care unit visit had?", "template": "what was the name of the intake that patient 15821 last had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15821 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 15821}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e38288b9b8473057d03e10b"}, {"db_id": "mimic_iii", "question": "the first intake that patient 2004 had on 07/18/last year what is the name of it?", "template": "what was the name of the intake that patient 2004 first had on 07/18/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2004 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '07-18' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 2004}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f2c3edd75e93e062af141c7"}, {"db_id": "mimic_iii", "question": "what is the last thing patient 10211 had for intake on 04/05/last year?", "template": "what was the name of the intake that patient 10211 last had on 04/05/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10211 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '04-05' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 10211}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6cac7bb92db305eccedad099"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake that patient 12927 had on this month/28.", "template": "what was the name of the intake that patient 12927 first had on this month/28?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '28' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 12927}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cfc32693cb7b7cfe1c73d496"}, {"db_id": "mimic_iii", "question": "what was patient 23929's intake for the first time on the last icu visit?", "template": "what was the name of the intake that patient 23929 first had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23929 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 23929}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6509686fcb7f010cdd4daa30"}, {"db_id": "mimic_iii", "question": "what did patient 31854 last have as an intake today?", "template": "what was the name of the intake that patient 31854 last had today?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 31854}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb9e9ad89d61df08dcbcafcd"}, {"db_id": "mimic_iii", "question": "what was the last thing patient 17010 received for intake until 192 days ago?", "template": "what was the name of the intake that patient 17010 last had until 192 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17010 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-192 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 17010}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3bbda01732029782f386e82"}, {"db_id": "mimic_iii", "question": "what intake did patient 462 take since 02/05/2104 for the first time?", "template": "what was the name of the intake that patient 462 first had since 02/05/2104?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 462 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2104-02-05' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 462}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:abs-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "503b5d17c599f140366950b4"}, {"db_id": "mimic_iii", "question": "tell me the first intake that was given to patient 19691 until 1516 days ago?", "template": "what was the name of the intake that patient 19691 first had until 1516 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19691 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1516 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 19691}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c7bd9bc0b0379e06dbf72b33"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 20713 on the last intensive care unit visit first had?", "template": "what was the name of the intake that patient 20713 first had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20713 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 20713}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "620cdc5afb9990cde8121990"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 7112 has last had today?", "template": "what was the name of the intake that patient 7112 last had today?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 7112}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed071fb75e8bba361e2a9739"}, {"db_id": "mimic_iii", "question": "what was the last intake that patient 28443 had received on this month/29?", "template": "what was the name of the intake that patient 28443 last had on this month/29?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '29' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 28443}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d787cf1a6afd942d6776a17"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake of patient 28443 that they had during yesterday?", "template": "what was the name of the intake that patient 28443 first had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 28443}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "68a7dfd11e447bca3f813ac1"}, {"db_id": "mimic_iii", "question": "what did patient 7112 receive during the previous day as their last intake?", "template": "what was the name of the intake that patient 7112 last had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 7112}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e274f9fcf18ea81e59c37baf"}, {"db_id": "mimic_iii", "question": "what was patient 28443's last intake on this month/22.", "template": "what was the name of the intake that patient 28443 last had on this month/22?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '22' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 28443}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "26fbcd8efc7d4ce16d91d155"}, {"db_id": "mimic_iii", "question": "tell me the name of the intake that patient 14154 had for the last time on 12/26/this year?", "template": "what was the name of the intake that patient 14154 last had on 12/26/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14154 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-26' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 14154}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5b08c32d734ed74afa85ad1f"}, {"db_id": "mimic_iii", "question": "what intake did patient 25951 have the last time on 06/15/this year.", "template": "what was the name of the intake that patient 25951 last had on 06/15/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25951 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '06-15' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 25951}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c1cfafb2330c87e983f4ad9"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 9833 had a last?", "template": "what was the name of the intake that patient 9833 last had?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9833 ) ) order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 9833}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47cd6324a2997c8fa6c4c8ed"}, {"db_id": "mimic_iii", "question": "what was the last intake given to patient 14458 on 09/15/last year.", "template": "what was the name of the intake that patient 14458 last had on 09/15/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14458 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '09-15' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 14458}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d5febf577374ddcf8242c48"}, {"db_id": "mimic_iii", "question": "what was the name of the intake, patient 15447 first had on the current icu visit?", "template": "what was the name of the intake that patient 15447 first had on the current icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 15447}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e7d9947e6aed169fc00dccf"}, {"db_id": "mimic_iii", "question": "what was the name of the last intake that patient 4401 has had on 12/29/2105?", "template": "what was the name of the intake that patient 4401 last had on 12/29/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2105-12-29' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 4401}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0d3486dc60aaaf17ffdf856"}, {"db_id": "mimic_iii", "question": "what was the first intake of patient 29741 for the patient until 04/26/2105?", "template": "what was the name of the intake that patient 29741 first had until 04/26/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29741 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-04-26' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 29741}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:abs-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9ef2a5fe2978915fa2c4afb"}, {"db_id": "mimic_iii", "question": "what is the name of the intake that patient 1784 first had today?", "template": "what was the name of the intake that patient 1784 first had today?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1784 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 1784}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "72ac37fe59348104d9d07352"}, {"db_id": "mimic_iii", "question": "the last intake patient 28443 had on this month/19 what was the name of that?", "template": "what was the name of the intake that patient 28443 last had on this month/19?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '19' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 28443}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e235a7fc7276610adacf5ee6"}, {"db_id": "mimic_iii", "question": "what is the name of patient 27465's first intake on the last icu visit?", "template": "what was the name of the intake that patient 27465 first had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27465 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 27465}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "94f65c6aa240b68387749090"}, {"db_id": "mimic_iii", "question": "what is the first thing patient 4368 had for intake since 1798 days ago?", "template": "what was the name of the intake that patient 4368 first had since 1798 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-1798 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 4368}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dc370d7424e0dc27d688d6a2"}, {"db_id": "mimic_iii", "question": "what was the last intake of patient 26793 for the patient on 02/08/this year?", "template": "what was the name of the intake that patient 26793 last had on 02/08/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26793 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '02-08' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 26793}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0841bb81ba89e04d0a7f3b52"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake that patient 9983 has had on the last intensive care unit visit?", "template": "what was the name of the intake that patient 9983 first had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9983 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 9983}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c17ab5cd224ef0e418fe0b5c"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake of patient 23070 that they had on last month/30?", "template": "what was the name of the intake that patient 23070 first had on last month/30?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '30' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 23070}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8959c03367d955f79b4dd5a6"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 23070 has first had on last month/29?", "template": "what was the name of the intake that patient 23070 first had on last month/29?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '29' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 23070}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1ed0abdcc1044697b846361"}, {"db_id": "mimic_iii", "question": "what is the name of the intake that patient 16368 last had on the first icu visit?", "template": "what was the name of the intake that patient 16368 last had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16368 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 16368}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "923654f2e7883fb11c6b8c08"}, {"db_id": "mimic_iii", "question": "tell me the name of the intake that patient 30826 had for the last time on this month/27?", "template": "what was the name of the intake that patient 30826 last had on this month/27?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '27' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 30826}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b2d81b7bca32baeea5edd0f8"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 31696 on 07/22/2104 first had?", "template": "what was the name of the intake that patient 31696 first had on 07/22/2104?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31696 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2104-07-22' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 31696}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:abs-day-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0b2c66e58eb12bccc4fc40e"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 26350 has last had until 09/30/2105?", "template": "what was the name of the intake that patient 26350 last had until 09/30/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26350 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-09-30' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 26350}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "551736502e989068215f98ab"}, {"db_id": "mimic_iii", "question": "what did patient 23070 receive on the first icu visit as their last intake?", "template": "what was the name of the intake that patient 23070 last had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 23070}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50b2c76ddefe719ef98d82d3"}, {"db_id": "mimic_iii", "question": "tell me the name of the intake that patient 23066 had for the first time until 617 days ago?", "template": "what was the name of the intake that patient 23066 first had until 617 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23066 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-617 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 23066}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b28c2924f273d79e94676953"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 17953 had a last on the first icu visit?", "template": "what was the name of the intake that patient 17953 last had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17953 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 17953}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f9411146c751576cec02111b"}, {"db_id": "mimic_iii", "question": "what intake did patient 4401 take today for the first time?", "template": "what was the name of the intake that patient 4401 first had today?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 4401}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e72032da78017b1369813e1b"}, {"db_id": "mimic_iii", "question": "what is the name of patient 1561's last intake yesterday?", "template": "what was the name of the intake that patient 1561 last had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 1561}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d8f6df2ebd30cd2e320b37d0"}, {"db_id": "mimic_iii", "question": "what was the name of the last intake that patient 739 yesterday had?", "template": "what was the name of the intake that patient 739 last had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 739}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9808c897d9d6a02252aff03b"}, {"db_id": "mimic_iii", "question": "what intake did patient 21003 have the last time since 687 days ago.", "template": "what was the name of the intake that patient 21003 last had since 687 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21003 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-687 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 21003}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75afe1e2a05d6754eeaada15"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake that patient 19175 had on last month/03.", "template": "what was the name of the intake that patient 19175 first had on last month/03?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '03' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 19175}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d2492657844e22c874381d6"}, {"db_id": "mimic_iii", "question": "what was the name of the intake that patient 7524 had a first until 02/04/2104?", "template": "what was the name of the intake that patient 7524 first had until 02/04/2104?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7524 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2104-02-04' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 7524}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:abs-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9736d7de73cd4a884930fc0f"}, {"db_id": "mimic_iii", "question": "what intake did patient 13848 take until 02/18/2104 for the last time?", "template": "what was the name of the intake that patient 13848 last had until 02/18/2104?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13848 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2104-02-18' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 13848}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f127ad6f4f37ceb2db806e66"}, {"db_id": "mimic_iii", "question": "what is the name of the intake that patient 30044 first had until 1547 days ago?", "template": "what was the name of the intake that patient 30044 first had until 1547 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1547 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 30044}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4296b946f1795cc0e7a74968"}, {"db_id": "mimic_iii", "question": "what was the last thing patient 20603 received for intake since 987 days ago?", "template": "what was the name of the intake that patient 20603 last had since 987 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20603 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-987 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 20603}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64183aca2d636b779d63e0db"}, {"db_id": "mimic_iii", "question": "what is the first thing patient 7742 had for intake on the last intensive care unit visit?", "template": "what was the name of the intake that patient 7742 first had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7742 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 7742}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b28771cdb9e2c29cc5d2b6ba"}, {"db_id": "mimic_iii", "question": "what was patient 4269's intake for the first time until 32 days ago?", "template": "what was the name of the intake that patient 4269 first had until 32 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4269 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-32 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 4269}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa8b9a1637a7ddb33d093b17"}, {"db_id": "mimic_iii", "question": "what was the name of the last intake of patient 17667 that they had since 12/26/2105?", "template": "what was the name of the intake that patient 17667 last had since 12/26/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2105-12-26' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 17667}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3808ef4882048432dca36487"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake that patient 3242 has had until 01/06/2104?", "template": "what was the name of the intake that patient 3242 first had until 01/06/2104?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3242 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2104-01-06' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 3242}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:abs-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4752912732128de75075446"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake of patient 8116 that they had today?", "template": "what was the name of the intake that patient 8116 first had today?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 8116}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ba3309812478333e69a69bc"}, {"db_id": "mimic_iii", "question": "what was the name of the first intake of patient 24921 that they had on 09/23/last year?", "template": "what was the name of the intake that patient 24921 first had on 09/23/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24921 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '09-23' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 24921}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51850ffa24ccc0b820c62d25"}, {"db_id": "mimic_iii", "question": "what is the first thing patient 14502 had for intake on the last intensive care unit visit?", "template": "what was the name of the intake that patient 14502 first had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14502 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 14502}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4feddbaeb74cf55c09a8f3ef"}, {"db_id": "mimic_iii", "question": "what is the last thing patient 16549 had for intake on 12/08/2102?", "template": "what was the name of the intake that patient 16549 last had on 12/08/2102?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16549 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2102-12-08' order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 16549}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e005fde297f830197b9de9da"}, {"db_id": "mimic_iii", "question": "what was the name of the last intake that patient 31300 has had since 1161 days ago?", "template": "what was the name of the intake that patient 31300 last had since 1161 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-1161 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 31300}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5fc556a17f5dc530cc98eee7"}, {"db_id": "mimic_iii", "question": "what was patient 16572's intake for the last time until 1926 days ago?", "template": "what was the name of the intake that patient 16572 last had until 1926 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1926 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 16572}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb5be3d8513c46a408b67e38"}, {"db_id": "mimic_iii", "question": "what was patient 29540's intake for the last time on the first icu visit?", "template": "what was the name of the intake that patient 29540 last had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29540 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 29540}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "875e401801189052e5bff3f1"}, {"db_id": "mimic_iii", "question": "what is the name of patient 4401's last intake during yesterday?", "template": "what was the name of the intake that patient 4401 last had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 4401}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b67ad2125a45e647f563ad81"}, {"db_id": "mimic_iii", "question": "what is the name of the intake that patient 19428 first had the previous day?", "template": "what was the name of the intake that patient 19428 first had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 19428}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af9dedf2b07d6e919d3d64a5"}, {"db_id": "mimic_iii", "question": "what was the first intake given to patient 20898 on this month/21.", "template": "what was the name of the intake that patient 20898 first had on this month/21?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '21' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 20898}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "612a46953109db96976a9c33"}, {"db_id": "mimic_iii", "question": "what was the last intake of patient 15794 for the patient during a day before?", "template": "what was the name of the intake that patient 15794 last had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1 )", "value": {"patient_id": 15794}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de28539d07788e8d55bb2148"}, {"db_id": "mimic_iii", "question": "what did patient 10811 first have as an intake on 02/07/last year?", "template": "what was the name of the intake that patient 10811 first had on 02/07/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10811 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '02-07' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 10811}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6539d4a4dc21a4966fd32b0b"}, {"db_id": "mimic_iii", "question": "what was the first intake that patient 29309 had received on 01/04/this year?", "template": "what was the name of the intake that patient 29309 first had on 01/04/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29309 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '01-04' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 29309}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b19f1481136867e3c9586c37"}, {"db_id": "mimic_iii", "question": "the first intake patient 366 had until 828 days ago what was the name of that?", "template": "what was the name of the intake that patient 366 first had until 828 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 366 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-828 day') order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 366}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aa6fd2c19bd5e8f6078ba8c7"}, {"db_id": "mimic_iii", "question": "what was patient 28443's first intake on this month/26.", "template": "what was the name of the intake that patient 28443 first had on this month/26?", "query": "select d_items.label from d_items where d_items.itemid in ( select inputevents_cv.itemid from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '26' order by inputevents_cv.charttime asc limit 1 )", "value": {"patient_id": 28443}, "q_tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the intake that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71ab66ada0ef40b4e2678373"}, {"db_id": "mimic_iii", "question": "what was the total amount of lactated ringers that patient 27703 had taken on 11/08/2105?", "template": "what was the total volume of lactated ringers intake that patient 27703 received on 11/08/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2105-11-08'", "value": {"intake_name": "lactated ringers", "patient_id": 27703}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb2017e8d8012bc5d19a1e0c"}, {"db_id": "mimic_iii", "question": "what's the total dose of d10nss that patient 24547 had received since 1446 days ago?", "template": "what was the total volume of d10nss intake that patient 24547 received since 1446 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24547 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd10nss' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-1446 day')", "value": {"intake_name": "d10nss", "patient_id": 24547}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22711d8ed05c270d1523743e"}, {"db_id": "mimic_iii", "question": "how much was the total intake of d5ns patient 12775 had received today?", "template": "what was the total volume of d5ns intake that patient 12775 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5ns' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"intake_name": "d5ns", "patient_id": 12775}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "070842870fa346b4ef9bfaf4"}, {"db_id": "mimic_iii", "question": "how much was the intake of lactated ringers that patient 13329 received on the last icu visit?", "template": "what was the total volume of lactated ringers intake that patient 13329 received on the last icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13329 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 13329, "intake_name": "lactated ringers"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "830f0d733fed3cf9910ee27e"}, {"db_id": "mimic_iii", "question": "what's the total po intake that patient 5142 has received on last month/02?", "template": "what was the total volume of po intake that patient 5142 received on last month/02?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'po intake' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '02'", "value": {"patient_id": 5142, "intake_name": "po intake"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c776ebabcd0ec11f7f4987d1"}, {"db_id": "mimic_iii", "question": "calculate the amount of albumin 5% patient 20898 has taken since 599 days ago.", "template": "what was the total volume of albumin 5% intake that patient 20898 received since 599 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'albumin 5%' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-599 day')", "value": {"intake_name": "albumin 5%", "patient_id": 20898}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71365776e76e29094f330c4d"}, {"db_id": "mimic_iii", "question": "tell me the total amount of pigtail infusion that patient 7165 has taken on the first intensive care unit visit?", "template": "what was the total volume of pigtail infusion intake that patient 7165 received on the first icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7165 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'pigtail infusion' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "pigtail infusion", "patient_id": 7165}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "85f2c52176e5e96ca0ec09ba"}, {"db_id": "mimic_iii", "question": "calculate the total intake of or ffp of patient 24921.", "template": "what was the total volume of or ffp intake that patient 24921 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24921 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'or ffp' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "or ffp", "patient_id": 24921}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "989c024ae7af251d09cab0d6"}, {"db_id": "mimic_iii", "question": "exactly what is the total amount of tpn w/lipids intake that patient 26350 has received?", "template": "what was the total volume of tpn w/lipids intake that patient 26350 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26350 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn w/lipids' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 26350, "intake_name": "tpn w/lipids"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4e3b3b494d29144596b25e2"}, {"db_id": "mimic_iii", "question": "what was the total number of d5/.45ns doses that patient 14054 received on last month/01?", "template": "what was the total volume of d5/.45ns intake that patient 14054 received on last month/01?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5/.45ns' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '01'", "value": {"intake_name": "d5/.45ns", "patient_id": 14054}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5e7bea17de94bff2b58c943"}, {"db_id": "mimic_iii", "question": "calculate the dose of impact that patient 7519 received until 1785 days ago.", "template": "what was the total volume of impact intake that patient 7519 received until 1785 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7519 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'impact' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1785 day')", "value": {"intake_name": "impact", "patient_id": 7519}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4278f36981896b578db37812"}, {"db_id": "mimic_iii", "question": "what is the total dose of br milk fs ng that patient 14397 received since 09/07/2105?", "template": "what was the total volume of br milk fs ng intake that patient 14397 received since 09/07/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'br milk fs ng' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2105-09-07'", "value": {"intake_name": "br milk fs ng", "patient_id": 14397}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "27e07aecfa96ad7d7f22e8e9"}, {"db_id": "mimic_iii", "question": "calculate the total dose of pregestimil ng in patient 17398 on 08/21/2102.", "template": "what was the total volume of pregestimil ng intake that patient 17398 received on 08/21/2102?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'pregestimil ng' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2102-08-21'", "value": {"intake_name": "pregestimil ng", "patient_id": 17398}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d7201049962e898b80bc833e"}, {"db_id": "mimic_iii", "question": "how much has been the total amount of promote w/fiber that patient 739 received on this month/19?", "template": "what was the total volume of promote w/fiber intake that patient 739 received on this month/19?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '19'", "value": {"intake_name": "promote w/fiber", "patient_id": 739}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "749bc333aa083df215436e5e"}, {"db_id": "mimic_iii", "question": "give the total amount of d15w given to patient 23475 until 594 days ago.", "template": "what was the total volume of d15w intake that patient 23475 received until 594 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23475 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd15w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-594 day')", "value": {"patient_id": 23475, "intake_name": "d15w"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8daecdf4469ac8e8f4d4163"}, {"db_id": "mimic_iii", "question": "what's the total amount of d5w w/20gm cagluc that patient 9566 had taken in the previous day?", "template": "what was the total volume of d5w w/20gm cagluc intake that patient 9566 received yesterday?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w w/20gm cagluc' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"intake_name": "d5w w/20gm cagluc", "patient_id": 9566}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfb4105db16e85e325ee9bd8"}, {"db_id": "mimic_iii", "question": "provide me with the total amount of impact that patient 17667 has taken since 06/18/2105.", "template": "what was the total volume of impact intake that patient 17667 received since 06/18/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'impact' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2105-06-18'", "value": {"patient_id": 17667, "intake_name": "impact"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2ab4e1dd9b6612927e3177b"}, {"db_id": "mimic_iii", "question": "what was the total dose of ketamine patient 15794 had taken?", "template": "what was the total volume of ketamine intake that patient 15794 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'ketamine' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "ketamine", "patient_id": 15794}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0145443b93797cbadfa53c38"}, {"db_id": "mimic_iii", "question": "tell me the amount of platelets patient 26886 was given until 1944 days ago.", "template": "what was the total volume of platelets intake that patient 26886 received until 1944 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26886 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'platelets' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1944 day')", "value": {"intake_name": "platelets", "patient_id": 26886}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e952be35d490e36a077fb28"}, {"db_id": "mimic_iii", "question": "in total what was the total amount of tpn d13.0 that patient 30044 had received until 1579 days ago?", "template": "what was the total volume of tpn d13.0 intake that patient 30044 received until 1579 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d13.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1579 day')", "value": {"patient_id": 30044, "intake_name": "tpn d13.0"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd2e6a3f5f254aef981580cd"}, {"db_id": "mimic_iii", "question": "what is the total amount of d5/.45ns given to patient 25733 today?", "template": "what was the total volume of d5/.45ns intake that patient 25733 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5/.45ns' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 25733, "intake_name": "d5/.45ns"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b8efffe6ece6597a2d4aff2"}, {"db_id": "mimic_iii", "question": "what is the overall intake of sc 26 po that patient 23070 has received until 12/20/2105?", "template": "what was the total volume of sc 26 po intake that patient 23070 received until 12/20/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'sc 26 po' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-12-20'", "value": {"patient_id": 23070, "intake_name": "sc 26 po"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3221e3d0340f889a78524c6a"}, {"db_id": "mimic_iii", "question": "what is the total amount of deliver 2.0 that patient 1561 had received on 12/31/this year?", "template": "what was the total volume of deliver 2.0 intake that patient 1561 received on 12/31/this year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'deliver 2.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-31'", "value": {"intake_name": "deliver 2.0", "patient_id": 1561}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e138d1fdafaca97368b1645"}, {"db_id": "mimic_iii", "question": "what was patient 7112's total dose of nepro today?", "template": "what was the total volume of nepro intake that patient 7112 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'nepro' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 7112, "intake_name": "nepro"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1129e2e117a1a05023739832"}, {"db_id": "mimic_iii", "question": "calculate the total amount of d5w consumed on 02/08/2104 for patient 26195.", "template": "what was the total volume of d5w intake that patient 26195 received on 02/08/2104?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26195 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2104-02-08'", "value": {"intake_name": "d5w", "patient_id": 26195}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55602406c44c6ad1621df492"}, {"db_id": "mimic_iii", "question": "what was the total br milk fs ng dose for patient 7698 on last month/05?", "template": "what was the total volume of br milk fs ng intake that patient 7698 received on last month/05?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'br milk fs ng' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '05'", "value": {"patient_id": 7698, "intake_name": "br milk fs ng"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a7728c212a8a9197238a86a"}, {"db_id": "mimic_iii", "question": "tell me the total amount of d5w patient 25590 received on 02/12/this year?", "template": "what was the total volume of d5w intake that patient 25590 received on 02/12/this year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25590 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '02-12'", "value": {"intake_name": "d5w", "patient_id": 25590}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d2ef9c6c197d888f470ea02"}, {"db_id": "mimic_iii", "question": "calculate the total amount of or ffp that patient 12775 took on this month/28.", "template": "what was the total volume of or ffp intake that patient 12775 received on this month/28?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'or ffp' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '28'", "value": {"intake_name": "or ffp", "patient_id": 12775}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad15abcc6fc9dac2cf357194"}, {"db_id": "mimic_iii", "question": "what is the total potassium intake until 12/05/2102 that patient 3677 has received?", "template": "what was the total volume of potassium intake that patient 3677 received until 12/05/2102?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3677 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'potassium' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2102-12-05'", "value": {"intake_name": "potassium", "patient_id": 3677}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "050a817bb22db69a0b7671b9"}, {"db_id": "mimic_iii", "question": "what were the total d5w doses patient 25668 had received until 1555 days ago?", "template": "what was the total volume of d5w intake that patient 25668 received until 1555 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1555 day')", "value": {"intake_name": "d5w", "patient_id": 25668}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4de00e04ba77dc890b379171"}, {"db_id": "mimic_iii", "question": "what is the amount of etoh grams/hour intake patient 27362 has received?", "template": "what was the total volume of etoh grams/hour intake that patient 27362 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'etoh grams/hour' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "etoh grams/hour", "patient_id": 27362}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e0ee44dc93e27bbd4aeff8c"}, {"db_id": "mimic_iii", "question": "what is the total sc 20 fe ng consumption amount that patient 3712 has received?", "template": "what was the total volume of sc 20 fe ng intake that patient 3712 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3712 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'sc 20 fe ng' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 3712, "intake_name": "sc 20 fe ng"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "83121a67a008aa524b831a31"}, {"db_id": "mimic_iii", "question": "what is the total tpn d13.0 dose that until 1579 days ago patient 30044 has received?", "template": "what was the total volume of tpn d13.0 intake that patient 30044 received until 1579 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d13.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1579 day')", "value": {"patient_id": 30044, "intake_name": "tpn d13.0"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f3f414b19e3a3ccabd93ba9d"}, {"db_id": "mimic_iii", "question": "what was the total intake of free water bolus that patient 1902 has received on the current icu visit?", "template": "what was the total volume of free water bolus intake that patient 1902 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'free water bolus' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 1902, "intake_name": "free water bolus"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7afce73ae41c134f58f9853d"}, {"db_id": "mimic_iii", "question": "what was the total amount of promote w/fiber intake that patient 11914 had?", "template": "what was the total volume of promote w/fiber intake that patient 11914 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11914 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 11914, "intake_name": "promote w/fiber"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ce844a5f6845daf7c856147"}, {"db_id": "mimic_iii", "question": "tell me the total dose of pe 24 fs ng that patient 8116 took today.", "template": "what was the total volume of pe 24 fs ng intake that patient 8116 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'pe 24 fs ng' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 8116, "intake_name": "pe 24 fs ng"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee9aa94f95811f8efd30d49b"}, {"db_id": "mimic_iii", "question": "tell me the amount of .9% normal saline that patient 25696 has received on 02/11/last year.", "template": "what was the total volume of .9% normal saline intake that patient 25696 received on 02/11/last year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25696 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '02-11'", "value": {"patient_id": 25696, "intake_name": ".9% normal saline"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "835b515d55771c8b00b2ba0c"}, {"db_id": "mimic_iii", "question": "give me the total quantity of br milk fs ng that patient 27703 has taken on last month/03.", "template": "what was the total volume of br milk fs ng intake that patient 27703 received on last month/03?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'br milk fs ng' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '03'", "value": {"patient_id": 27703, "intake_name": "br milk fs ng"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a8391d600906290f9274a11"}, {"db_id": "mimic_iii", "question": "get the total amount of .9% normal saline that patient 31510 has received on 05/31/this year.", "template": "what was the total volume of .9% normal saline intake that patient 31510 received on 05/31/this year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31510 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '05-31'", "value": {"patient_id": 31510, "intake_name": ".9% normal saline"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d33d7e3f00d3d4f99186fc43"}, {"db_id": "mimic_iii", "question": "tell me the amount of tpn d10.0 patient 31325 had received on 06/28/last year?", "template": "what was the total volume of tpn d10.0 intake that patient 31325 received on 06/28/last year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d10.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '06-28'", "value": {"patient_id": 31325, "intake_name": "tpn d10.0"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2eff88232ca8f72efeeb4d1"}, {"db_id": "mimic_iii", "question": "give me the total dose of po intake given to patient 1902 on the current intensive care unit visit.", "template": "what was the total volume of po intake that patient 1902 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'po intake' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 1902, "intake_name": "po intake"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "216e6585bf50cda68e14aff7"}, {"db_id": "mimic_iii", "question": "what is the total amount of d10w intake that patient 12885 had gotten until 12/30/2105?", "template": "what was the total volume of d10w intake that patient 12885 received until 12/30/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12885 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd10w' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-12-30'", "value": {"patient_id": 12885, "intake_name": "d10w"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28d5d06392ee400dad4a8512"}, {"db_id": "mimic_iii", "question": "what was the total amount of vanco enema of patient 11688 that had received since 2134 days ago?", "template": "what was the total volume of vanco enema intake that patient 11688 received since 2134 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11688 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'vanco enema' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-2134 day')", "value": {"intake_name": "vanco enema", "patient_id": 11688}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e9ac4c85827b9c7d323dedd"}, {"db_id": "mimic_iii", "question": "calculate patient 15107's total intake of lipids 20% on 11/23/2104.", "template": "what was the total volume of lipids 20% intake that patient 15107 received on 11/23/2104?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15107 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lipids 20%' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2104-11-23'", "value": {"patient_id": 15107, "intake_name": "lipids 20%"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "90ff941a2715a05d8fed7d22"}, {"db_id": "mimic_iii", "question": "calculate the total amount of patient 1372's impact w/fiber intake until 03/26/2103.", "template": "what was the total volume of impact w/fiber intake that patient 1372 received until 03/26/2103?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'impact w/fiber' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2103-03-26'", "value": {"patient_id": 1372, "intake_name": "impact w/fiber"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "341ae44d98c6c92a4054743c"}, {"db_id": "mimic_iii", "question": "tell me the total amount of tpn d11.0 that patient 30826 has taken on this month/27.", "template": "what was the total volume of tpn d11.0 intake that patient 30826 received on this month/27?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d11.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '27'", "value": {"patient_id": 30826, "intake_name": "tpn d11.0"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63e80e554213072b2a88afb3"}, {"db_id": "mimic_iii", "question": "what is the total amount of pe 24 fs po delivered until 907 days ago to patient 32168?", "template": "what was the total volume of pe 24 fs po intake that patient 32168 received until 907 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32168 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'pe 24 fs po' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-907 day')", "value": {"patient_id": 32168, "intake_name": "pe 24 fs po"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "13de3d71b6ab3185b0e50ef0"}, {"db_id": "mimic_iii", "question": "what is the total amount of peptamen for patient 18866 the previous day?", "template": "what was the total volume of peptamen intake that patient 18866 received yesterday?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'peptamen' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"intake_name": "peptamen", "patient_id": 18866}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7cc692aa23b77e6c7cc60362"}, {"db_id": "mimic_iii", "question": "calculate the total dosage of albumin 25% taken from patient 28443 since 11/17/2104.", "template": "what was the total volume of albumin 25% intake that patient 28443 received since 11/17/2104?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'albumin 25%' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2104-11-17'", "value": {"intake_name": "albumin 25%", "patient_id": 28443}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7267dadfb5e4b2f034292d9e"}, {"db_id": "mimic_iii", "question": "what is the amount of lactated ringers that patient 27703 received on 11/08/2105?", "template": "what was the total volume of lactated ringers intake that patient 27703 received on 11/08/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2105-11-08'", "value": {"intake_name": "lactated ringers", "patient_id": 27703}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4b3df8ee375f7d60f9177c46"}, {"db_id": "mimic_iii", "question": "tell me how many doses of probalance patient 25733 had consumed today.", "template": "what was the total volume of probalance intake that patient 25733 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'probalance' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"intake_name": "probalance", "patient_id": 25733}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9cafa48f0b8e50d6b47d68b0"}, {"db_id": "mimic_iii", "question": "what was the total amount of gastric meds that patient 1798 has been taking on 02/28/2101?", "template": "what was the total volume of gastric meds intake that patient 1798 received on 02/28/2101?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1798 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric meds' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2101-02-28'", "value": {"intake_name": "gastric meds", "patient_id": 1798}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a1b7e18c9d66194ee42b1a2e"}, {"db_id": "mimic_iii", "question": "what is the total amount of fentanyl base intake in patient 8098 on the last intensive care unit visit?", "template": "what was the total volume of fentanyl base intake that patient 8098 received on the last icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'fentanyl base' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 8098, "intake_name": "fentanyl base"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8fe0a3ba24880addd888aa71"}, {"db_id": "mimic_iii", "question": "what is the total ns fluid bolus dose that patient 31300 had received on the first intensive care unit visit?", "template": "what was the total volume of ns fluid bolus intake that patient 31300 received on the first icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'ns fluid bolus' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "ns fluid bolus", "patient_id": 31300}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a56e4204323029a81eb26363"}, {"db_id": "mimic_iii", "question": "give me the total amount of mvi that patient 1561 took the previous day.", "template": "what was the total volume of mvi intake that patient 1561 received yesterday?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'mvi' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 1561, "intake_name": "mvi"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e36c9f99dc23a3aa1506d0a"}, {"db_id": "mimic_iii", "question": "what were the total amount of d20w intake that patient 30171 had received on 05/30/2101?", "template": "what was the total volume of d20w intake that patient 30171 received on 05/30/2101?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30171 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd20w' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2101-05-30'", "value": {"patient_id": 30171, "intake_name": "d20w"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3981f3743927539dc66ddcb7"}, {"db_id": "mimic_iii", "question": "how much dose of promote w/fiber did patient 8016 receive on last month/28?", "template": "what was the total volume of promote w/fiber intake that patient 8016 received on last month/28?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '28'", "value": {"patient_id": 8016, "intake_name": "promote w/fiber"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8580eb2aee89f2540ed31361"}, {"db_id": "mimic_iii", "question": "give me the total doses of etoh grams/hour given to patient 27362.", "template": "what was the total volume of etoh grams/hour intake that patient 27362 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'etoh grams/hour' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "etoh grams/hour", "patient_id": 27362}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47185ac84d59b7ceefcb5ffc"}, {"db_id": "mimic_iii", "question": "tell me the amount of lactated ringers intake that patient 24971 had received on the first intensive care unit visit?", "template": "what was the total volume of lactated ringers intake that patient 24971 received on the first icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24971 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 24971, "intake_name": "lactated ringers"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "867673a4fa60cfce3d4041ec"}, {"db_id": "mimic_iii", "question": "what is the total amount of consumption of ph of ogt that patient 7073 has received?", "template": "what was the total volume of ph of ogt intake that patient 7073 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7073 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'ph of ogt' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "ph of ogt", "patient_id": 7073}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "263c6614065d163300abc135"}, {"db_id": "mimic_iii", "question": "what was the total replete w/fiber amount that patient 15447 had received on the current intensive care unit visit?", "template": "what was the total volume of replete w/fiber intake that patient 15447 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'replete w/fiber' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 15447, "intake_name": "replete w/fiber"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "02b3fc89c810461978403f88"}, {"db_id": "mimic_iii", "question": "what is the total d5w w/20gm cagluc intake until 752 days ago that patient 16879 has received?", "template": "what was the total volume of d5w w/20gm cagluc intake that patient 16879 received until 752 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16879 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w w/20gm cagluc' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-752 day')", "value": {"intake_name": "d5w w/20gm cagluc", "patient_id": 16879}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "598d2f723a4d8e0d6fc496f0"}, {"db_id": "mimic_iii", "question": "give me the total amount of d10w that patient 31854 took on this month/29.", "template": "what was the total volume of d10w intake that patient 31854 received on this month/29?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd10w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '29'", "value": {"intake_name": "d10w", "patient_id": 31854}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71e8f812797d43ea19af7946"}, {"db_id": "mimic_iii", "question": "what was the total amount of br milk fs po that patient 13329 has been taking on the first intensive care unit visit?", "template": "what was the total volume of br milk fs po intake that patient 13329 received on the first icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13329 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'br milk fs po' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 13329, "intake_name": "br milk fs po"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4df09ba603e2e5108a97b96b"}, {"db_id": "mimic_iii", "question": "calculate the amount of 7.7meq naacetate patient 7524 has taken on the last icu visit.", "template": "what was the total volume of 7.7meq naacetate intake that patient 7524 received on the last icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7524 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '7.7meq naacetate' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "7.7meq naacetate", "patient_id": 7524}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14a366192632dcc822256eda"}, {"db_id": "mimic_iii", "question": "what is the total dose of promote w/fiber that patient 19691 received on 09/30/2101?", "template": "what was the total volume of promote w/fiber intake that patient 19691 received on 09/30/2101?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19691 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2101-09-30'", "value": {"patient_id": 19691, "intake_name": "promote w/fiber"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58a3255924067015b953ba8c"}, {"db_id": "mimic_iii", "question": "tell me the amount of deliver 2.0 that patient 27703 has received on last month/05.", "template": "what was the total volume of deliver 2.0 intake that patient 27703 received on last month/05?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'deliver 2.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '05'", "value": {"intake_name": "deliver 2.0", "patient_id": 27703}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c765c7c4de1442302fc2c290"}, {"db_id": "mimic_iii", "question": "what is the total dose of sc 24 fe ng that patient 6170 received on the current intensive care unit visit?", "template": "what was the total volume of sc 24 fe ng intake that patient 6170 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'sc 24 fe ng' and d_items.linksto = 'inputevents_cv' )", "value": {"intake_name": "sc 24 fe ng", "patient_id": 6170}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e748a0d2e105847bdc94a01"}, {"db_id": "mimic_iii", "question": "how much dose of lactated ringers did patient 24894 receive on 11/29/2100?", "template": "what was the total volume of lactated ringers intake that patient 24894 received on 11/29/2100?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24894 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lactated ringers' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2100-11-29'", "value": {"intake_name": "lactated ringers", "patient_id": 24894}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "13db943df4bde2329276309d"}, {"db_id": "mimic_iii", "question": "tell me the amount of d5w patient 15447 was given on the current icu visit.", "template": "what was the total volume of d5w intake that patient 15447 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 15447, "intake_name": "d5w"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f765a7b587c27dcd6badcac"}, {"db_id": "mimic_iii", "question": "tell me how many doses of tpn d15.0 patient 20441 had consumed on 02/25/this year.", "template": "what was the total volume of tpn d15.0 intake that patient 20441 received on 02/25/this year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d15.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '02-25'", "value": {"intake_name": "tpn d15.0", "patient_id": 20441}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d1f2e48c8844aa80389ed775"}, {"db_id": "mimic_iii", "question": "what was the total amount of protonix of patient 15794 that had received on the current icu visit?", "template": "what was the total volume of protonix intake that patient 15794 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'protonix' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 15794, "intake_name": "protonix"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3781bc85fced480c98297189"}, {"db_id": "mimic_iii", "question": "what was the total replete w/fiber dose for patient 22517?", "template": "what was the total volume of replete w/fiber intake that patient 22517 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22517 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'replete w/fiber' and d_items.linksto = 'inputevents_cv' )", "value": {"patient_id": 22517, "intake_name": "replete w/fiber"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c659f5d2e6fbedf99285a134"}, {"db_id": "mimic_iii", "question": "what is the total amount of nepro intake in patient 269 on 11/22/2100?", "template": "what was the total volume of nepro intake that patient 269 received on 11/22/2100?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 269 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'nepro' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2100-11-22'", "value": {"patient_id": 269, "intake_name": "nepro"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb4e84631f654e47e81b95f7"}, {"db_id": "mimic_iii", "question": "what was the total amount of pe 24 fs po that patient 18866 had taken today?", "template": "what was the total volume of pe 24 fs po intake that patient 18866 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'pe 24 fs po' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 18866, "intake_name": "pe 24 fs po"}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5db1e75d095fb0c26d35f312"}, {"db_id": "mimic_iii", "question": "what's the total dose of na acetate/heparin that patient 1902 had received since 06/26/2102?", "template": "what was the total volume of na acetate/heparin intake that patient 1902 received since 06/26/2102?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'na acetate/heparin' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2102-06-26'", "value": {"intake_name": "na acetate/heparin", "patient_id": 1902}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42bb82f47a9dd07240433eb0"}, {"db_id": "mimic_iii", "question": "give the total amount of glucagon given to patient 22897 until 11/27/2104.", "template": "what was the total volume of glucagon intake that patient 22897 received until 11/27/2104?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22897 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'glucagon' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2104-11-27'", "value": {"intake_name": "glucagon", "patient_id": 22897}, "q_tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {intake_name} intake that patient {patient_id} received [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ac759213ee1230a822f4b11"}, {"db_id": "mimic_iii", "question": "tell me the total amount of input patient 25869 has received since 01/03/2101?", "template": "what was the total volume of intake that patient 25869 received since 01/03/2101?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25869 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2101-01-03'", "value": {"patient_id": 25869}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "377d12de09e97e6eecc436f5"}, {"db_id": "mimic_iii", "question": "calculate the total amount of input of patient 5142 on last month/03.", "template": "what was the total volume of intake that patient 5142 received on last month/03?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '03'", "value": {"patient_id": 5142}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ada379f38da0c052dd3dd3a0"}, {"db_id": "mimic_iii", "question": "what is the total amount of input that patient 28966 was receiving on 11/16/2100?", "template": "what was the total volume of intake that patient 28966 received on 11/16/2100?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2100-11-16'", "value": {"patient_id": 28966}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f42ed763fb2f76b8258b75d"}, {"db_id": "mimic_iii", "question": "tell me the amount of input that patient 26350 has been given until 999 days ago?", "template": "what was the total volume of intake that patient 26350 received until 999 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26350 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-999 day')", "value": {"patient_id": 26350}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16a8eef65f4962156fe25871"}, {"db_id": "mimic_iii", "question": "what is the total amount of input patient 10855 has received on 12/22/this year?", "template": "what was the total volume of intake that patient 10855 received on 12/22/this year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-22'", "value": {"patient_id": 10855}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d527b1ba8e0f014722039f3"}, {"db_id": "mimic_iii", "question": "tell me the total of patient 8116's input on the current intensive care unit visit?", "template": "what was the total volume of intake that patient 8116 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) and icustays.outtime is null )", "value": {"patient_id": 8116}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f6201686a184c970d4b2aaf7"}, {"db_id": "mimic_iii", "question": "tell me the total of patient 12927's inputs during a day before?", "template": "what was the total volume of intake that patient 12927 received yesterday?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 12927}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c6353a24adc73b20b48faa6"}, {"db_id": "mimic_iii", "question": "what is the total amount of input that patient 4401 during a day before has received?", "template": "what was the total volume of intake that patient 4401 received yesterday?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 4401}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b5f67d0c82da7e17198e6a8a"}, {"db_id": "mimic_iii", "question": "what has been the total amount of input patient 25312 received on 12/29/last year?", "template": "what was the total volume of intake that patient 25312 received on 12/29/last year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-29'", "value": {"patient_id": 25312}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d724bfbddbd03644d2b214b7"}, {"db_id": "mimic_iii", "question": "calculate the total of patient 25312's input on 12/27/2104.", "template": "what was the total volume of intake that patient 25312 received on 12/27/2104?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2104-12-27'", "value": {"patient_id": 25312}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9806ab8abe54fbfd2de81ed2"}, {"db_id": "mimic_iii", "question": "calculate the total amount of patient 9294's inputs.", "template": "what was the total volume of intake that patient 9294 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9294 ) )", "value": {"patient_id": 9294}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d2b1e28e420278dcaba76a6"}, {"db_id": "mimic_iii", "question": "how much was the total amount patient 30460 had received?", "template": "what was the total volume of intake that patient 30460 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30460 ) )", "value": {"patient_id": 30460}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "13d4e57d217d3b6f160ac437"}, {"db_id": "mimic_iii", "question": "what is the amount of input patient 21134 has received?", "template": "what was the total volume of intake that patient 21134 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21134 ) )", "value": {"patient_id": 21134}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ca070e53ab75e9ab1a90ed5"}, {"db_id": "mimic_iii", "question": "what was the total amount of input of patient 11362 on the first intensive care unit visit?", "template": "what was the total volume of intake that patient 11362 received on the first icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 11362}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b4f298c43c76ed16462279ca"}, {"db_id": "mimic_iii", "question": "calculate the number of inputs patient 18757 had.", "template": "what was the total volume of intake that patient 18757 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18757 ) )", "value": {"patient_id": 18757}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "60ac133d8a281a5dd1a8c0e8"}, {"db_id": "mimic_iii", "question": "what was the total amount of input patient 16169 has received on the first icu visit?", "template": "what was the total volume of intake that patient 16169 received on the first icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16169 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 16169}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "130d4c40e7fd27cf87e192f7"}, {"db_id": "mimic_iii", "question": "what is the total number of input patient 16088 has received since 05/13/2104?", "template": "what was the total volume of intake that patient 16088 received since 05/13/2104?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2104-05-13'", "value": {"patient_id": 16088}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "601c04429c5175d004961c22"}, {"db_id": "mimic_iii", "question": "what was the total amount of the input patient 14621 had received on 06/22/2105?", "template": "what was the total volume of intake that patient 14621 received on 06/22/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14621 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2105-06-22'", "value": {"patient_id": 14621}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "daf349c88961652ea7a48a6d"}, {"db_id": "mimic_iii", "question": "tell me the total amount of input that patient 5828 had received today?", "template": "what was the total volume of intake that patient 5828 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 5828}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee62a7883f5632e4ad24dcd2"}, {"db_id": "mimic_iii", "question": "what was the total input amount that patient 9151 has received until 736 days ago?", "template": "what was the total volume of intake that patient 9151 received until 736 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9151 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-736 day')", "value": {"patient_id": 9151}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a0fa73e77e92ef7bc141133"}, {"db_id": "mimic_iii", "question": "what was the total of patient 273's input until 43 days ago?", "template": "what was the total volume of intake that patient 273 received until 43 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 273 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-43 day')", "value": {"patient_id": 273}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a333690d19ca38b59d25c40d"}, {"db_id": "mimic_iii", "question": "calculate the total of patient 594's input amounts since 01/11/2104.", "template": "what was the total volume of intake that patient 594 received since 01/11/2104?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2104-01-11'", "value": {"patient_id": 594}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4b399ddd255b206ffe7657a"}, {"db_id": "mimic_iii", "question": "what's the total amount of input of patient 433 on 02/17/last year?", "template": "what was the total volume of intake that patient 433 received on 02/17/last year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '02-17'", "value": {"patient_id": 433}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1d58abf3f016ec7db5cc6bf"}, {"db_id": "mimic_iii", "question": "calculate the total sum for patient 25733's input today.", "template": "what was the total volume of intake that patient 25733 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 25733}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99a93159f143a5ed7ca9b2f2"}, {"db_id": "mimic_iii", "question": "what's the number of inputs patient 15447 has received today?", "template": "what was the total volume of intake that patient 15447 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 15447}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50e6847ffa04bc38b0b32f5c"}, {"db_id": "mimic_iii", "question": "calculate the total amount of the input from patient 19428 since 12/07/2105.", "template": "what was the total volume of intake that patient 19428 received since 12/07/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2105-12-07'", "value": {"patient_id": 19428}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d5f9a53d8709efb02b9a027"}, {"db_id": "mimic_iii", "question": "tell me the total amount of input that patient 12307 got on the last intensive care unit visit?", "template": "what was the total volume of intake that patient 12307 received on the last icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12307 ) and icustays.outtime is not null order by icustays.intime desc limit 1 )", "value": {"patient_id": 12307}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-icu-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "171201c97178373aa824a136"}, {"db_id": "mimic_iii", "question": "calculate the total amount of input patient 3273 receives on the last icu visit.", "template": "what was the total volume of intake that patient 3273 received on the last icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3273 ) and icustays.outtime is not null order by icustays.intime desc limit 1 )", "value": {"patient_id": 3273}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-icu-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "06de6ff3822122bebc3e6103"}, {"db_id": "mimic_iii", "question": "tell me the total amount that patient 2004 had received since 1020 days ago?", "template": "what was the total volume of intake that patient 2004 received since 1020 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2004 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-1020 day')", "value": {"patient_id": 2004}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "129a4a0298f43c13abad3651"}, {"db_id": "mimic_iii", "question": "what is the total amount of input which patient 28447 has received on this month/29?", "template": "what was the total volume of intake that patient 28447 received on this month/29?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '29'", "value": {"patient_id": 28447}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-this_month]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ab2e745554ee228eb863ec9"}, {"db_id": "mimic_iii", "question": "tell me the sum of patient 3273's input since 07/10/2101.", "template": "what was the total volume of intake that patient 3273 received since 07/10/2101?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3273 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2101-07-10'", "value": {"patient_id": 3273}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "386b752c1d1aa36ecaf1f44f"}, {"db_id": "mimic_iii", "question": "tell me the total amount of patient 31854's inputs on the current icu visit?", "template": "what was the total volume of intake that patient 31854 received on the current icu visit?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) and icustays.outtime is null )", "value": {"patient_id": 31854}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-icu-cur]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74cf8b0bc9ded0957dae8c3a"}, {"db_id": "mimic_iii", "question": "what was the amount of inputs patient 26286 had received on this month/12?", "template": "what was the total volume of intake that patient 26286 received on this month/12?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26286 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '12'", "value": {"patient_id": 26286}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-this_month]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0597322ae72c4f9430187523"}, {"db_id": "mimic_iii", "question": "what was the total amount of input that patient 2753 received until 38 days ago?", "template": "what was the total volume of intake that patient 2753 received until 38 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2753 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-38 day')", "value": {"patient_id": 2753}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "490610d95848a6d7b163a599"}, {"db_id": "mimic_iii", "question": "calculate the total amount of input patient 12775 had today.", "template": "what was the total volume of intake that patient 12775 received today?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 12775}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "976d2510bd07f442b51cd75f"}, {"db_id": "mimic_iii", "question": "tell me the total amount of input that patient 5310 has received on last month/01?", "template": "what was the total volume of intake that patient 5310 received on last month/01?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5310 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '01'", "value": {"patient_id": 5310}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-last_month]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63444a3d935f2775f2a2da3e"}, {"db_id": "mimic_iii", "question": "what was the total of the input of patient 11362 on 11/24/this year?", "template": "what was the total volume of intake that patient 11362 received on 11/24/this year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '11-24'", "value": {"patient_id": 11362}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ea9d2949abd59d48335dd0f"}, {"db_id": "mimic_iii", "question": "what is the totality of patient 27591's input until 1567 days ago?", "template": "what was the total volume of intake that patient 27591 received until 1567 day ago?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27591 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1567 day')", "value": {"patient_id": 27591}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cc382efe341300b3828e186"}, {"db_id": "mimic_iii", "question": "what is the total amount of input patient 5878 had received?", "template": "what was the total volume of intake that patient 5878 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5878 ) )", "value": {"patient_id": 5878}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8673ba9fd38a5e5cf731e29f"}, {"db_id": "mimic_iii", "question": "tell me the total sum of inputs patient 24029 has received on 05/14/last year?", "template": "what was the total volume of intake that patient 24029 received on 05/14/last year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24029 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '05-14'", "value": {"patient_id": 24029}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e0c2cd783bb76e217a6df53"}, {"db_id": "mimic_iii", "question": "give me the total amount of patient 594's input on 05/10/2105?", "template": "what was the total volume of intake that patient 594 received on 05/10/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2105-05-10'", "value": {"patient_id": 594}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "35443316ca6171e28e5d71f5"}, {"db_id": "mimic_iii", "question": "what is the total amount of input until 12/28/2105 patient 23061 had received?", "template": "what was the total volume of intake that patient 23061 received until 12/28/2105?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23061 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-12-28'", "value": {"patient_id": 23061}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e0b00c147e852e58ba7ca00"}, {"db_id": "mimic_iii", "question": "calculate the total amount of the input from patient 9619.", "template": "what was the total volume of intake that patient 9619 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9619 ) )", "value": {"patient_id": 9619}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0edfc50f3e2ec51975a738b7"}, {"db_id": "mimic_iii", "question": "what's the number of inputs patient 16368 has received?", "template": "what was the total volume of intake that patient 16368 received?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16368 ) )", "value": {"patient_id": 16368}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e8035e10b654fe57b5e7f1c"}, {"db_id": "mimic_iii", "question": "what is the total amount of input that patient 19096 on 07/06/this year has received?", "template": "what was the total volume of intake that patient 19096 received on 07/06/this year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19096 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '07-06'", "value": {"patient_id": 19096}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8f4b533dc3f3b5368d999bc8"}, {"db_id": "mimic_iii", "question": "tell me the total of patient 7524's inputs on 02/08/last year?", "template": "what was the total volume of intake that patient 7524 received on 02/08/last year?", "query": "select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7524 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '02-08'", "value": {"patient_id": 7524}, "q_tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of intake that patient {patient_id} received [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8064869c6d71a3b3574d5e3a"}, {"db_id": "mimic_iii", "question": "what was the first thing patient 99883 had as output on the current intensive care unit visit?", "template": "what was the name of the output that patient 99883 first had on the current icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99883 ) and icustays.outtime is null ) order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 99883}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-cur]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa1f067d3b780815a5aa99c7"}, {"db_id": "mimic_iii", "question": "what were the names of the output that patient 43779 had first on this month/15?", "template": "what was the name of the output that patient 43779 first had on this month/15?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43779 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '15' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 43779}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_month]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c337c2931e170d6a784264c3"}, {"db_id": "mimic_iii", "question": "what was the first output that patient 15107 has had on the first intensive care unit visit?", "template": "what was the name of the output that patient 15107 first had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15107 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 15107}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "159e2b36b7eee6902347bddb"}, {"db_id": "mimic_iii", "question": "what did patient 87733 first have as an output until 947 days ago?", "template": "what was the name of the output that patient 87733 first had until 947 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87733 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-947 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 87733}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ce219a50761b76fdc085157"}, {"db_id": "mimic_iii", "question": "tell me the name of the output patient 10855 had first during a day before?", "template": "what was the name of the output that patient 10855 first had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 10855}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c6b53890ac76a298e6c33954"}, {"db_id": "mimic_iii", "question": "what was the 'output' patient 17694 got since 367 days ago for the last time?", "template": "what was the name of the output that patient 17694 last had since 367 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17694 ) ) and datetime(outputevents.charttime) >= datetime(current_time,'-367 day') order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 17694}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51a59405ad589ffc3e9e2d65"}, {"db_id": "mimic_iii", "question": "what was the name of the output which patient 10855 had for the first time on this month/25?", "template": "what was the name of the output that patient 10855 first had on this month/25?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '25' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 10855}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_month]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e3cd4e33eec48bf81792dfd"}, {"db_id": "mimic_iii", "question": "what was the name of the last of the outputs that patient 52898 had on 08/20/this year?", "template": "what was the name of the output that patient 52898 last had on 08/20/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '08-20' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 52898}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31b082c422aee3c2ddcc5425"}, {"db_id": "mimic_iii", "question": "what was the last output on 12/31/this year for patient 55360?", "template": "what was the name of the output that patient 55360 last had on 12/31/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-31' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 55360}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b79c3e5fd02049158d870017"}, {"db_id": "mimic_iii", "question": "what were the last outputs of patient 26817 on the first intensive care unit visit?", "template": "what was the name of the output that patient 26817 last had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 26817}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a81a6de69ab865967cdf13e"}, {"db_id": "mimic_iii", "question": "what did patient 95280 have first as the output on the first icu visit?", "template": "what was the name of the output that patient 95280 first had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95280 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 95280}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "167c8cc5b9e69788ce5f1e26"}, {"db_id": "mimic_iii", "question": "what was the name of the output patient 31854 first had in yesterday.", "template": "what was the name of the output that patient 31854 first had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 31854}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f49ee943e1880035eeb4b394"}, {"db_id": "mimic_iii", "question": "what's the output of patient 23938 for the last time on the first intensive care unit visit?", "template": "what was the name of the output that patient 23938 last had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23938 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 23938}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea15c202e0a6557cca79f745"}, {"db_id": "mimic_iii", "question": "what is the output that patient 52456 first had on last month/06?", "template": "what was the name of the output that patient 52456 first had on last month/06?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52456 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '06' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 52456}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_month]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b0f687966097cce7a588b2d"}, {"db_id": "mimic_iii", "question": "what is the name of the output that patient 808 first got until 06/02/2105?", "template": "what was the name of the output that patient 808 first had until 06/02/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2105-06-02' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 808}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c6f1adc2baece01404d8408"}, {"db_id": "mimic_iii", "question": "what is patient 57023's last output on last month/24?", "template": "what was the name of the output that patient 57023 last had on last month/24?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57023 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '24' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 57023}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-last_month]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e05c9be8ae124893fe131012"}, {"db_id": "mimic_iii", "question": "tell me the name of an output that patient 53863 has last had until 03/15/2101?", "template": "what was the name of the output that patient 53863 last had until 03/15/2101?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53863 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2101-03-15' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 53863}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f49deccd03f739ca70dd0dd7"}, {"db_id": "mimic_iii", "question": "tell me the name of the output patient 94229 had for the last time today?", "template": "what was the name of the output that patient 94229 last had today?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 94229}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-this]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a649789f5eb6bf95b1be70ee"}, {"db_id": "mimic_iii", "question": "what was patient 85895's first output on last month/05?", "template": "what was the name of the output that patient 85895 first had on last month/05?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '05' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 85895}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_month]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d9f3966a50f0b610b93fe4e"}, {"db_id": "mimic_iii", "question": "what was the name of the output the last time patient 51177 had since 08/01/2101?", "template": "what was the name of the output that patient 51177 last had since 08/01/2101?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2101-08-01' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 51177}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a645dbeaba1f400ed271c8f"}, {"db_id": "mimic_iii", "question": "what was the name of the output which patient 70267 had first had on the current intensive care unit visit?", "template": "what was the name of the output that patient 70267 first had on the current icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 ) and icustays.outtime is null ) order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 70267}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-icu-cur]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a82dce5340e9a998eddd6afb"}, {"db_id": "mimic_iii", "question": "what was the name of the outputs that patient 1561 first had yesterday?", "template": "what was the name of the output that patient 1561 first had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 1561}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c77a278796476ac4e5a6abd"}, {"db_id": "mimic_iii", "question": "what was the name of the output, which patient 8888 had first in a day before?", "template": "what was the name of the output that patient 8888 first had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 8888}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5b20e38e30068e65478e15a"}, {"db_id": "mimic_iii", "question": "tell me the first output of patient 31325 on 06/19/last year?", "template": "what was the name of the output that patient 31325 first had on 06/19/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '06-19' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 31325}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a39236286cbd86269401d9d9"}, {"db_id": "mimic_iii", "question": "tell me the name of the output patient 24029 had first on 05/15/last year?", "template": "what was the name of the output that patient 24029 first had on 05/15/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24029 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '05-15' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 24029}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d30959b6a0ffaf5450a7990"}, {"db_id": "mimic_iii", "question": "what was the name of the output patient 20862 last had since 09/05/2103.", "template": "what was the name of the output that patient 20862 last had since 09/05/2103?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20862 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2103-09-05' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 20862}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5245867a03f4024bf586789d"}, {"db_id": "mimic_iii", "question": "what was the name of the first of the outputs that patient 60219 had since 04/25/2103?", "template": "what was the name of the output that patient 60219 first had since 04/25/2103?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60219 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2103-04-25' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 60219}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1722da3773b8dee2c4e76038"}, {"db_id": "mimic_iii", "question": "what did patient 60136 last have as an output yesterday?", "template": "what was the name of the output that patient 60136 last had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 60136}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "79de628d08ccd95b0d168242"}, {"db_id": "mimic_iii", "question": "what was the name of the output the first time patient 23066 had since 2119 days ago?", "template": "what was the name of the output that patient 23066 first had since 2119 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23066 ) ) and datetime(outputevents.charttime) >= datetime(current_time,'-2119 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 23066}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "be8511f859dae228a324b553"}, {"db_id": "mimic_iii", "question": "what was the last output that patient 26995 has had on 11/28/2104?", "template": "what was the name of the output that patient 26995 last had on 11/28/2104?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26995 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2104-11-28' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 26995}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d6d35502c28646eebca6a48"}, {"db_id": "mimic_iii", "question": "what were the names of the output that patient 27172 had first on 09/12/this year?", "template": "what was the name of the output that patient 27172 first had on 09/12/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '09-12' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 27172}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd727ee0b5fb42d7e2536530"}, {"db_id": "mimic_iii", "question": "what was the last output that patient 69895 has had on 02/14/this year?", "template": "what was the name of the output that patient 69895 last had on 02/14/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 69895 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '02-14' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 69895}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b945585a779d2372bcb9f67a"}, {"db_id": "mimic_iii", "question": "what was the name of the outputs that patient 51177 last had since 08/01/2101?", "template": "what was the name of the output that patient 51177 last had since 08/01/2101?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2101-08-01' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 51177}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ba206b71ebe05fc9494599cd"}, {"db_id": "mimic_iii", "question": "what were the first outputs of patient 12885 on 06/28/last year?", "template": "what was the name of the output that patient 12885 first had on 06/28/last year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12885 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '06-28' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 12885}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3850ffe2a1398ada5729b08"}, {"db_id": "mimic_iii", "question": "what was the name of the output the last time patient 99647 had on the first intensive care unit visit?", "template": "what was the name of the output that patient 99647 last had on the first icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 99647}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5567152af29957cbc7beb217"}, {"db_id": "mimic_iii", "question": "what is patient 61339's last output until 524 days ago?", "template": "what was the name of the output that patient 61339 last had until 524 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61339 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-524 day') order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 61339}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee66c2c0f5ef0797c0d555b3"}, {"db_id": "mimic_iii", "question": "what was the last output that patient 23042 has had until 11/06/2104?", "template": "what was the name of the output that patient 23042 last had until 11/06/2104?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23042 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2104-11-06' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 23042}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "101ae74074b299bce060e184"}, {"db_id": "mimic_iii", "question": "what was the last output since 10/10/2100 for patient 25796?", "template": "what was the name of the output that patient 25796 last had since 10/10/2100?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25796 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2100-10-10' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 25796}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c2fe7d376d74365e9b5bed0a"}, {"db_id": "mimic_iii", "question": "what was the name of the output the first time patient 10431 had until 1582 days ago?", "template": "what was the name of the output that patient 10431 first had until 1582 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-1582 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 10431}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "533361804d78088b1fc56e31"}, {"db_id": "mimic_iii", "question": "tell me the last output of patient 28253 until 773 days ago?", "template": "what was the name of the output that patient 28253 last had until 773 day ago?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28253 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-773 day') order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 28253}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "086c34e22f603e26de682f45"}, {"db_id": "mimic_iii", "question": "what is the name of the output that patient 73713 first got on 05/14/this year?", "template": "what was the name of the output that patient 73713 first had on 05/14/this year?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '05-14' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 73713}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "625469ab367b398bd11f5ac9"}, {"db_id": "mimic_iii", "question": "what were the first outputs of patient 92788 on this month/24?", "template": "what was the name of the output that patient 92788 first had on this month/24?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '24' order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 92788}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:mix-day-this_month]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "edf0dbbeec47eea1422bd178"}, {"db_id": "mimic_iii", "question": "what was the last output on the last intensive care unit visit for patient 95280?", "template": "what was the name of the output that patient 95280 last had on the last icu visit?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95280 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 95280}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:rel-icu-last]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e894536d65216e44d9562314"}, {"db_id": "mimic_iii", "question": "tell me the last output of patient 56201 until 11/24/2105?", "template": "what was the name of the output that patient 56201 last had until 11/24/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56201 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2105-11-24' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 56201}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1bd714851cc2f5217781910b"}, {"db_id": "mimic_iii", "question": "what did patient 50065 last have as an output on 04/06/2105?", "template": "what was the name of the output that patient 50065 last had on 04/06/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 50065 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2105-04-06' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 50065}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a844e8dc3db59cfdf40e041"}, {"db_id": "mimic_iii", "question": "tell me the first output of patient 22648 a day before?", "template": "what was the name of the output that patient 22648 first had yesterday?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by outputevents.charttime asc limit 1 )", "value": {"patient_id": 22648}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-first] had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "40145f558619e2ac1275bfe0"}, {"db_id": "mimic_iii", "question": "what were the names of the output that patient 94229 had last since 12/07/2105?", "template": "what was the name of the output that patient 94229 last had since 12/07/2105?", "query": "select d_items.label from d_items where d_items.itemid in ( select outputevents.itemid from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2105-12-07' order by outputevents.charttime desc limit 1 )", "value": {"patient_id": 94229}, "q_tag": "what was the name of the output that patient {patient_id} [time_filter_exact1] had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the name of the output that patient {patient_id} [time_filter_exact1:exact-last] had [time_filter_global1:abs-day-since]?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "855327234de3df608fd827ab"}, {"db_id": "mimic_iii", "question": "tell me the total amount of gastric jejunostomy tube that patient 12927 had on this month/27.", "template": "what was the total volume of gastric jejunostomy tube output that patient 12927 had on this month/27?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric jejunostomy tube' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '27'", "value": {"output_name": "gastric jejunostomy tube", "patient_id": 12927}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb0f1725f353d980f51b33e6"}, {"db_id": "mimic_iii", "question": "what is the total chest tube #1 volume that patient 90663 had in the previous day?", "template": "what was the total volume of chest tube #1 output that patient 90663 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'chest tube #1' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 90663, "output_name": "chest tube #1"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82967713ee8208b1c2ceec72"}, {"db_id": "mimic_iii", "question": "tell me the total amount of jp lateral patient 64538 had until 03/02/2101?", "template": "what was the total volume of jp lateral output that patient 64538 had until 03/02/2101?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64538 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'jp lateral' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) <= '2101-03-02'", "value": {"output_name": "jp lateral", "patient_id": 64538}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d5c463821c63eb40671b364d"}, {"db_id": "mimic_iii", "question": "calculate the total volume of urine out foley patient 76327 was producing in the previous day.", "template": "what was the total volume of urine out foley output that patient 76327 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 76327, "output_name": "urine out foley"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14940bb5820c3643638bdba1"}, {"db_id": "mimic_iii", "question": "calculate the total or urine production for patient 6705 on the last icu visit.", "template": "what was the total volume of or urine output that patient 6705 had on the last icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6705 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'or urine' and d_items.linksto = 'outputevents' )", "value": {"output_name": "or urine", "patient_id": 6705}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9fe20d4446fa5dc0fcc2eeab"}, {"db_id": "mimic_iii", "question": "tell me the total amount of ultrafiltrate ultrafiltrate that patient 25523 produced on 06/06/2104?", "template": "what was the total volume of ultrafiltrate ultrafiltrate output that patient 25523 had on 06/06/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25523 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'ultrafiltrate ultrafiltrate' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) = '2104-06-06'", "value": {"output_name": "ultrafiltrate ultrafiltrate", "patient_id": 25523}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "24f3187abbb6d905b14bf922"}, {"db_id": "mimic_iii", "question": "tell me the total amount of foley output on this month/29 for patient 51858.", "template": "what was the total volume of foley output that patient 51858 had on this month/29?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '29'", "value": {"patient_id": 51858, "output_name": "foley"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84363ac4b80f8f8626af3600"}, {"db_id": "mimic_iii", "question": "what is the amount of sump #1 patient 52898 has since 01/12/2100?", "template": "what was the total volume of sump #1 output that patient 52898 had since 01/12/2100?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sump #1' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) >= '2100-01-12'", "value": {"output_name": "sump #1", "patient_id": 52898}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0afb4e9ade84c0ae9dab6a09"}, {"db_id": "mimic_iii", "question": "calculate the total amount of jackson pratt #1 output for patient 1902 on 12/30/this year.", "template": "what was the total volume of jackson pratt #1 output that patient 1902 had on 12/30/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'jackson pratt #1' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-30'", "value": {"output_name": "jackson pratt #1", "patient_id": 1902}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9c3e4608cf743cfce7f6e1b"}, {"db_id": "mimic_iii", "question": "calculate patient 7112's total sump #1 volume in the previous day.", "template": "what was the total volume of sump #1 output that patient 7112 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sump #1' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 7112, "output_name": "sump #1"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "082b7770895a696b797051a3"}, {"db_id": "mimic_iii", "question": "what was the total amount of foley that patient 9964 had on 12/29/this year.", "template": "what was the total volume of foley output that patient 9964 had on 12/29/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-29'", "value": {"output_name": "foley", "patient_id": 9964}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8399517f8567cbd31beadc45"}, {"db_id": "mimic_iii", "question": "tell me the total of the thoracentesis output of patient 85895.", "template": "what was the total volume of thoracentesis output that patient 85895 had?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'thoracentesis' and d_items.linksto = 'outputevents' )", "value": {"output_name": "thoracentesis", "patient_id": 85895}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09250a1e2bafd8dea27e4360"}, {"db_id": "mimic_iii", "question": "tell me the volume of drain out #1 jackson pratt patient 73693 had on last month/10?", "template": "what was the total volume of drain out #1 jackson pratt output that patient 73693 had on last month/10?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73693 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'drain out #1 jackson pratt' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '10'", "value": {"output_name": "drain out #1 jackson pratt", "patient_id": 73693}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1882498c626b8b6bcc4619be"}, {"db_id": "mimic_iii", "question": "what was the total amount of ostomy (output) output patient 96728 had on 06/30/2103?", "template": "what was the total volume of ostomy (output) output that patient 96728 had on 06/30/2103?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96728 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'ostomy (output)' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) = '2103-06-30'", "value": {"output_name": "ostomy (output)", "patient_id": 96728}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "475e6f36bb677d6356ed05ad"}, {"db_id": "mimic_iii", "question": "what is the total amount of stool out stool patient 7112 produced today?", "template": "what was the total volume of stool out stool output that patient 7112 had today?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'stool out stool' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"output_name": "stool out stool", "patient_id": 7112}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0181cfb8964b416ca94355b4"}, {"db_id": "mimic_iii", "question": "give me the total amount of wound vac #1 that patient 92788 produces since 06/28/2104.", "template": "what was the total volume of wound vac #1 output that patient 92788 had since 06/28/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'wound vac #1' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) >= '2104-06-28'", "value": {"output_name": "wound vac #1", "patient_id": 92788}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf30c0a776cac996ed25b327"}, {"db_id": "mimic_iii", "question": "what was the total of the cerebral drain r ventricular drain output that patient 94937 had on 12/27/last year?", "template": "what was the total volume of cerebral drain r ventricular drain output that patient 94937 had on 12/27/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94937 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'cerebral drain r ventricular drain' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '12-27'", "value": {"patient_id": 94937, "output_name": "cerebral drain r ventricular drain"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f41dc66fc2eb2e73b7d6a3d7"}, {"db_id": "mimic_iii", "question": "what was the amount of cerebral drain r ventricular drain output patient 8016 had had on last month/22?", "template": "what was the total volume of cerebral drain r ventricular drain output that patient 8016 had on last month/22?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'cerebral drain r ventricular drain' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '22'", "value": {"output_name": "cerebral drain r ventricular drain", "patient_id": 8016}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c3ab0416d0d83af35fdab3f7"}, {"db_id": "mimic_iii", "question": "what was the amount of drain out #3 jackson pratt patient 18223 had since 02/25/2103?", "template": "what was the total volume of drain out #3 jackson pratt output that patient 18223 had since 02/25/2103?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18223 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'drain out #3 jackson pratt' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) >= '2103-02-25'", "value": {"output_name": "drain out #3 jackson pratt", "patient_id": 18223}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8acfa1c7094422ba8f02f81c"}, {"db_id": "mimic_iii", "question": "what was the total drain out #4 wound vac output amount that patient 65582 had on the current intensive care unit visit?", "template": "what was the total volume of drain out #4 wound vac output that patient 65582 had on the current icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and icustays.outtime is null ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'drain out #4 wound vac' and d_items.linksto = 'outputevents' )", "value": {"output_name": "drain out #4 wound vac", "patient_id": 65582}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce92ef30e220c07563504ae6"}, {"db_id": "mimic_iii", "question": "tell me what was the total urine out void output of patient 27703 on last month/05.", "template": "what was the total volume of urine out void output that patient 27703 had on last month/05?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out void' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '05'", "value": {"patient_id": 27703, "output_name": "urine out void"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70f9aba928eaf15b3ecdc589"}, {"db_id": "mimic_iii", "question": "what is the total amount of pigtail #1 that patient 70267 was able to have on 12/27/2105?", "template": "what was the total volume of pigtail #1 output that patient 70267 had on 12/27/2105?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'pigtail #1' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) = '2105-12-27'", "value": {"patient_id": 70267, "output_name": "pigtail #1"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd3aa4da75bc50b3dfc24cfc"}, {"db_id": "mimic_iii", "question": "tell me what's the total urine out foley output of patient 90019.", "template": "what was the total volume of urine out foley output that patient 90019 had?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90019 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out foley' and d_items.linksto = 'outputevents' )", "value": {"patient_id": 90019, "output_name": "urine out foley"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51a418db489a9b7fa93a0080"}, {"db_id": "mimic_iii", "question": "how much is patient 62983's total stool out ileostomy output on the first icu visit?", "template": "what was the total volume of stool out ileostomy output that patient 62983 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62983 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'stool out ileostomy' and d_items.linksto = 'outputevents' )", "value": {"patient_id": 62983, "output_name": "stool out ileostomy"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f4baa13662e08853ed0dba9"}, {"db_id": "mimic_iii", "question": "tell me what patient 90663's or out ebl output was on this month/30.", "template": "what was the total volume of or out ebl output that patient 90663 had on this month/30?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'or out ebl' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '30'", "value": {"output_name": "or out ebl", "patient_id": 90663}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bafa71cc266357c050fad7ec"}, {"db_id": "mimic_iii", "question": "what was the amount of total urine out foley output patient 76327 had today?", "template": "what was the total volume of urine out foley output that patient 76327 had today?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 76327, "output_name": "urine out foley"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "66318ddacf2fede3d0cada1d"}, {"db_id": "mimic_iii", "question": "what was the total amount of gastric tube production that patient 55281 had had during the previous day?", "template": "what was the total volume of gastric tube output that patient 55281 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55281 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric tube' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"output_name": "gastric tube", "patient_id": 55281}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a47a88f98be545db627ab2f5"}, {"db_id": "mimic_iii", "question": "calculate the total foley output of patient 85895 on last month/09.", "template": "what was the total volume of foley output that patient 85895 had on last month/09?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '09'", "value": {"output_name": "foley", "patient_id": 85895}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "362342d1f015a9a6cd24727c"}, {"db_id": "mimic_iii", "question": "how did patient 4469's total right jp output come out since 1766 days ago?", "template": "what was the total volume of right jp output that patient 4469 had since 1766 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4469 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'right jp' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime) >= datetime(current_time,'-1766 day')", "value": {"output_name": "right jp", "patient_id": 4469}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2fa3d639d6313e3feda73e3a"}, {"db_id": "mimic_iii", "question": "tell me the total amount of foley patient 4368 produced on 06/02/this year.", "template": "what was the total volume of foley output that patient 4368 had on 06/02/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '06-02'", "value": {"patient_id": 4368, "output_name": "foley"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b938188c24c33d1b7e90355"}, {"db_id": "mimic_iii", "question": "what is the total quantity of or out pacu urine output patient 32592 had until 09/25/2104?", "template": "what was the total volume of or out pacu urine output that patient 32592 had until 09/25/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32592 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'or out pacu urine' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) <= '2104-09-25'", "value": {"patient_id": 32592, "output_name": "or out pacu urine"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec29aa4898813c338f1b18cd"}, {"db_id": "mimic_iii", "question": "tell me the total amount of chest tubes left pleural 1 output for patient 97330 in the previous day.", "template": "what was the total volume of chest tubes left pleural 1 output that patient 97330 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'chest tubes left pleural 1' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 97330, "output_name": "chest tubes left pleural 1"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ccc1d5ac8f0445561e30b58a"}, {"db_id": "mimic_iii", "question": "what is the amount of urine out ureteral stent #2 output patient 44625 has?", "template": "what was the total volume of urine out ureteral stent #2 output that patient 44625 had?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 44625 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out ureteral stent #2' and d_items.linksto = 'outputevents' )", "value": {"output_name": "urine out ureteral stent #2", "patient_id": 44625}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd865e2fae4bec652bd89239"}, {"db_id": "mimic_iii", "question": "tell me the amount of total drain out #2 jackson pratt that patient 6440 had since 03/10/2100.", "template": "what was the total volume of drain out #2 jackson pratt output that patient 6440 had since 03/10/2100?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6440 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'drain out #2 jackson pratt' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) >= '2100-03-10'", "value": {"patient_id": 6440, "output_name": "drain out #2 jackson pratt"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc24661f7f7d695ef63d7781"}, {"db_id": "mimic_iii", "question": "calculate the total amount of gastric nasogastric of patient 1272 since 05/06/2102.", "template": "what was the total volume of gastric nasogastric output that patient 1272 had since 05/06/2102?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1272 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric nasogastric' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) >= '2102-05-06'", "value": {"patient_id": 1272, "output_name": "gastric nasogastric"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9198dc61088ddcb11501f58a"}, {"db_id": "mimic_iii", "question": "tell me what the total drain out #2 jp lateral output of patient 65582 is on 12/02/this year.", "template": "what was the total volume of drain out #2 jp lateral output that patient 65582 had on 12/02/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'drain out #2 jp lateral' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-02'", "value": {"patient_id": 65582, "output_name": "drain out #2 jp lateral"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "425da99e731de67d9fcc75c0"}, {"db_id": "mimic_iii", "question": "what is the total quantity of urine out foley that patient 65759 had on last month/13?", "template": "what was the total volume of urine out foley output that patient 65759 had on last month/13?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65759 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '13'", "value": {"output_name": "urine out foley", "patient_id": 65759}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f53e804e815e9917ddff8621"}, {"db_id": "mimic_iii", "question": "tell me the total chest tubes cticu ct 1 output that patient 88191 has had on 09/18/2102?", "template": "what was the total volume of chest tubes cticu ct 1 output that patient 88191 had on 09/18/2102?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88191 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'chest tubes cticu ct 1' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) = '2102-09-18'", "value": {"output_name": "chest tubes cticu ct 1", "patient_id": 88191}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e9349c1191ca3ee275fafd4"}, {"db_id": "mimic_iii", "question": "what was the total output of patient 59797's jp #2 medial?", "template": "what was the total volume of jp #2 medial output that patient 59797 had?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59797 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'jp #2 medial' and d_items.linksto = 'outputevents' )", "value": {"output_name": "jp #2 medial", "patient_id": 59797}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5e1355d1dcd75453ed71775"}, {"db_id": "mimic_iii", "question": "tell me the amount of ostomy (output) that patient 20801 had on 04/02/last year?", "template": "what was the total volume of ostomy (output) output that patient 20801 had on 04/02/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20801 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'ostomy (output)' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '04-02'", "value": {"patient_id": 20801, "output_name": "ostomy (output)"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a93c8c4168f876d4fc1d175b"}, {"db_id": "mimic_iii", "question": "calculate the total drain out #1 other production for patient 3242 until 01/13/2104.", "template": "what was the total volume of drain out #1 other output that patient 3242 had until 01/13/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3242 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'drain out #1 other' and d_items.linksto = 'outputevents' ) and strftime('%y-%m-%d',outputevents.charttime) <= '2104-01-13'", "value": {"patient_id": 3242, "output_name": "drain out #1 other"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a621328eaf85d74942d9520"}, {"db_id": "mimic_iii", "question": "what is the total amount of urine out foley output that patient 83062 had had during yesterday?", "template": "what was the total volume of urine out foley output that patient 83062 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 83062, "output_name": "urine out foley"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db5815466fc2e4fd82dd04f0"}, {"db_id": "mimic_iii", "question": "tell me the total amount of chest tubes cticu ct 1 output for patient 20801 on 04/01/last year?", "template": "what was the total volume of chest tubes cticu ct 1 output that patient 20801 had on 04/01/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20801 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'chest tubes cticu ct 1' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '04-01'", "value": {"patient_id": 20801, "output_name": "chest tubes cticu ct 1"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "439112478985906491962d6c"}, {"db_id": "mimic_iii", "question": "what is the total production of urine out foley that patient 76327 has in yesterday?", "template": "what was the total volume of urine out foley output that patient 76327 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 ) ) and outputevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'urine out foley' and d_items.linksto = 'outputevents' ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 76327, "output_name": "urine out foley"}, "q_tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of {output_name} output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6037c8de59287fbbbe135b25"}, {"db_id": "mimic_iii", "question": "what was the total output for patient 14671 on this month/31?", "template": "what was the total volume of output that patient 14671 had on this month/31?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '31'", "value": {"patient_id": 14671}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_month]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1567f9d4695c2d103b8cd53"}, {"db_id": "mimic_iii", "question": "what was the total amount of output that patient 7519 has had until 1160 days ago?", "template": "what was the total volume of output that patient 7519 had until 1160 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7519 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-1160 day')", "value": {"patient_id": 7519}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b7a3e90c37b6281d4f4291d"}, {"db_id": "mimic_iii", "question": "what's the total output of patient 86791 on 08/28/last year?", "template": "what was the total volume of output that patient 86791 had on 08/28/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86791 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '08-28'", "value": {"patient_id": 86791}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "efab907d7a99c7a97509a2fa"}, {"db_id": "mimic_iii", "question": "what is the total amount of output that patient 73075 on 12/09/last year has had?", "template": "what was the total volume of output that patient 73075 had on 12/09/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73075 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '12-09'", "value": {"patient_id": 73075}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b41385d7b09c2c2d21f27c61"}, {"db_id": "mimic_iii", "question": "tell me the total of patient 80555's output on the current intensive care unit visit?", "template": "what was the total volume of output that patient 80555 had on the current icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 ) and icustays.outtime is null )", "value": {"patient_id": 80555}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-cur]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d80b4c4e1c24a1ed795798f9"}, {"db_id": "mimic_iii", "question": "what was the total amount of the output that patient 4401 had had on 12/29/this year?", "template": "what was the total volume of output that patient 4401 had on 12/29/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-29'", "value": {"patient_id": 4401}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52e9186201716e7f5cbf83a3"}, {"db_id": "mimic_iii", "question": "tell me what the total output on 12/18/2105 is for patient 28443.", "template": "what was the total volume of output that patient 28443 had on 12/18/2105?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2105-12-18'", "value": {"patient_id": 28443}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b99c25023a776dc92634abf"}, {"db_id": "mimic_iii", "question": "what was the total number of outputs patient 56490 had on 09/10/last year?", "template": "what was the total volume of output that patient 56490 had on 09/10/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56490 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '09-10'", "value": {"patient_id": 56490}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c24129a97884ffab0337fd52"}, {"db_id": "mimic_iii", "question": "show the total amount of patient 14413's output on 06/15/2105.", "template": "what was the total volume of output that patient 14413 had on 06/15/2105?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14413 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2105-06-15'", "value": {"patient_id": 14413}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8fcb2843e1dcf4ae0ab0277e"}, {"db_id": "mimic_iii", "question": "give me the total amount of output of patient 77213 until 10/31/2102.", "template": "what was the total volume of output that patient 77213 had until 10/31/2102?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77213 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2102-10-31'", "value": {"patient_id": 77213}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ecd4fb5ec4510d643f4006f"}, {"db_id": "mimic_iii", "question": "tell me the total amount of output that patient 13536 has had on 05/04/this year?", "template": "what was the total volume of output that patient 13536 had on 05/04/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13536 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '05-04'", "value": {"patient_id": 13536}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd6f8db5f319e8ca6cfcd5c4"}, {"db_id": "mimic_iii", "question": "what is the total amount of total output of patient 13686 on 07/28/this year?", "template": "what was the total volume of output that patient 13686 had on 07/28/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13686 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '07-28'", "value": {"patient_id": 13686}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a076d9cf8445a4d932d3ef8"}, {"db_id": "mimic_iii", "question": "what is the total quantity of output that patient 20898 has had on the current intensive care unit visit?", "template": "what was the total volume of output that patient 20898 had on the current icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and icustays.outtime is null )", "value": {"patient_id": 20898}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-cur]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64517aa2b7f2c53c33170634"}, {"db_id": "mimic_iii", "question": "tell me how much patient 40833's total output was on the first icu visit.", "template": "what was the total volume of output that patient 40833 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40833 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 40833}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d1d7b7d5af7676aea287b8e"}, {"db_id": "mimic_iii", "question": "what's the total amount of output patient 8116 had today?", "template": "what was the total volume of output that patient 8116 had today?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 8116}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cece25e437a65f1ab6f1f539"}, {"db_id": "mimic_iii", "question": "what was the amount of total output that patient 25312 had received on the first intensive care unit visit?", "template": "what was the total volume of output that patient 25312 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 25312}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "936bc6efecdfe7a602e20e91"}, {"db_id": "mimic_iii", "question": "what is the total output amount for patient 15794 on 12/29/this year?", "template": "what was the total volume of output that patient 15794 had on 12/29/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-29'", "value": {"patient_id": 15794}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a16a94f44a42b0f6abcfb00"}, {"db_id": "mimic_iii", "question": "until 11/04/2100 what was the total output of patient 3677?", "template": "what was the total volume of output that patient 3677 had until 11/04/2100?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3677 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2100-11-04'", "value": {"patient_id": 3677}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53e1ce807f2e4080d2dc3b68"}, {"db_id": "mimic_iii", "question": "what was the total number of outputs of patient 7533 until 09/20/2105?", "template": "what was the total volume of output that patient 7533 had until 09/20/2105?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7533 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2105-09-20'", "value": {"patient_id": 7533}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8259e20f26c7aa7a73234399"}, {"db_id": "mimic_iii", "question": "how much was the total output of patient 2127 until 1489 days ago?", "template": "what was the total volume of output that patient 2127 had until 1489 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2127 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-1489 day')", "value": {"patient_id": 2127}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "89644e2da7b4b728c697b98c"}, {"db_id": "mimic_iii", "question": "what is the total amount of output that patient 2002 has been getting on the first intensive care unit visit?", "template": "what was the total volume of output that patient 2002 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2002 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 2002}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c845da1013f44f2e81543d70"}, {"db_id": "mimic_iii", "question": "calculate the total output of patient 94293 on 01/05/2104.", "template": "what was the total volume of output that patient 94293 had on 01/05/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94293 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2104-01-05'", "value": {"patient_id": 94293}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca98a099d60ebfff2948ba89"}, {"db_id": "mimic_iii", "question": "what are the total outputs of patient 12927 on 12/30/this year?", "template": "what was the total volume of output that patient 12927 had on 12/30/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-30'", "value": {"patient_id": 12927}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "91f56f3a7be3ebef77b9e44f"}, {"db_id": "mimic_iii", "question": "what was the total output patient 2238 had received on 04/12/2104?", "template": "what was the total volume of output that patient 2238 had on 04/12/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2238 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2104-04-12'", "value": {"patient_id": 2238}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3da153e50901d09f2c09dca"}, {"db_id": "mimic_iii", "question": "calculate the total number of outputs from patient 20713.", "template": "what was the total volume of output that patient 20713 had?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20713 ) )", "value": {"patient_id": 20713}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bcb1541372b5ffee0ae50686"}, {"db_id": "mimic_iii", "question": "give me a total of patient 83062's output on this month/16.", "template": "what was the total volume of output that patient 83062 had on this month/16?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '16'", "value": {"patient_id": 83062}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_month]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e4f2513351c533903e84c00"}, {"db_id": "mimic_iii", "question": "what's the total output that patient 92846 has had today?", "template": "what was the total volume of output that patient 92846 had today?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 92846}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-this]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e9262ea1cfaaa786f3f50da"}, {"db_id": "mimic_iii", "question": "what was the total amount of output for patient 25814 since 775 days ago?", "template": "what was the total volume of output that patient 25814 had since 775 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) ) and datetime(outputevents.charttime) >= datetime(current_time,'-775 day')", "value": {"patient_id": 25814}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8adb2dc86bb2868a55598e59"}, {"db_id": "mimic_iii", "question": "what are the number of outputs patient 8814 had until 1910 days ago?", "template": "what was the total volume of output that patient 8814 had until 1910 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8814 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-1910 day')", "value": {"patient_id": 8814}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a78470ffc3b163462f059d70"}, {"db_id": "mimic_iii", "question": "tell me the total amount of output on 04/08/this year for patient 32163.", "template": "what was the total volume of output that patient 32163 had on 04/08/this year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32163 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '04-08'", "value": {"patient_id": 32163}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-this_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9880893eea87ae68972b970a"}, {"db_id": "mimic_iii", "question": "what's the total amount of output that patient 18457 has had on 10/04/2102?", "template": "what was the total volume of output that patient 18457 had on 10/04/2102?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18457 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2102-10-04'", "value": {"patient_id": 18457}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "996237946c26476aeb1b2c07"}, {"db_id": "mimic_iii", "question": "what is the total output of patient 8116 in a day before?", "template": "what was the total volume of output that patient 8116 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 8116}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "263e121ca0461eb6dc4aa3c9"}, {"db_id": "mimic_iii", "question": "what has been the total output that patient 3369 has had until 06/16/2105?", "template": "what was the total volume of output that patient 3369 had until 06/16/2105?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2105-06-16'", "value": {"patient_id": 3369}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd477c68cfee9bab2c779505"}, {"db_id": "mimic_iii", "question": "what's the total output amount for patient 31325 on 07/02/last year?", "template": "what was the total volume of output that patient 31325 had on 07/02/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '07-02'", "value": {"patient_id": 31325}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdac032e6aefd77ab6803ff7"}, {"db_id": "mimic_iii", "question": "tell me what patient 25733's total output is on the current icu visit?", "template": "what was the total volume of output that patient 25733 had on the current icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and icustays.outtime is null )", "value": {"patient_id": 25733}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-cur]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "700dba866cc58ed292f4e831"}, {"db_id": "mimic_iii", "question": "what was the total quantity of output from patient 9964 on the first icu visit?", "template": "what was the total volume of output that patient 9964 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 9964}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "efd558d716ba68c813bc7cb7"}, {"db_id": "mimic_iii", "question": "what was the total output of patient 85895 on last month/02?", "template": "what was the total volume of output that patient 85895 had on last month/02?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '02'", "value": {"patient_id": 85895}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-last_month]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "73a87b52fe6622699b4ef8f7"}, {"db_id": "mimic_iii", "question": "calculate the amount of output that patient 49369 has since 932 days ago.", "template": "what was the total volume of output that patient 49369 had since 932 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49369 ) ) and datetime(outputevents.charttime) >= datetime(current_time,'-932 day')", "value": {"patient_id": 49369}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "19593d9224d6b84743684353"}, {"db_id": "mimic_iii", "question": "what was the total amount of output patient 92846 had in the previous day?", "template": "what was the total volume of output that patient 92846 had yesterday?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 92846}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-last]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a3358a9c63a716eaee77075"}, {"db_id": "mimic_iii", "question": "give me the total of the output for patient 23929 on 08/25/last year.", "template": "what was the total volume of output that patient 23929 had on 08/25/last year?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23929 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '08-25'", "value": {"patient_id": 23929}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:mix-day-last_year]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d8c5db45b2262f7a184720c"}, {"db_id": "mimic_iii", "question": "calculate the total output since 1707 days ago for patient 12307.", "template": "what was the total volume of output that patient 12307 had since 1707 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12307 ) ) and datetime(outputevents.charttime) >= datetime(current_time,'-1707 day')", "value": {"patient_id": 12307}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-since]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "168e2a6663bcb83bdd112627"}, {"db_id": "mimic_iii", "question": "what is the total amount of output that patient 63849 has had?", "template": "what was the total volume of output that patient 63849 had?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63849 ) )", "value": {"patient_id": 63849}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:null]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75105862236dc297f6d5bb3c"}, {"db_id": "mimic_iii", "question": "what was patient 8098's total volume of output on the first intensive care unit visit?", "template": "what was the total volume of output that patient 8098 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 8098}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "322aaab820e760f4a6633f0e"}, {"db_id": "mimic_iii", "question": "tell me the total amount of patient 18316's output on 11/16/2103.", "template": "what was the total volume of output that patient 18316 had on 11/16/2103?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18316 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2103-11-16'", "value": {"patient_id": 18316}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5baa4265e1f8b2b6dd87f2dc"}, {"db_id": "mimic_iii", "question": "tell me the amount of output patient 7512 has had until 1384 days ago?", "template": "what was the total volume of output that patient 7512 had until 1384 day ago?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7512 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-1384 day')", "value": {"patient_id": 7512}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0ce7a173e3f952a2172b482"}, {"db_id": "mimic_iii", "question": "what was the total output that patient 62918 had on the first icu visit?", "template": "what was the total volume of output that patient 62918 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62918 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 62918}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50c9a6fc360987d657bfd8ab"}, {"db_id": "mimic_iii", "question": "what is the total amount of output of patient 19981 has had on the first icu visit?", "template": "what was the total volume of output that patient 19981 had on the first icu visit?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19981 ) and icustays.outtime is not null order by icustays.intime asc limit 1 )", "value": {"patient_id": 19981}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:rel-icu-first]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "07ef9f033609c7e08985491e"}, {"db_id": "mimic_iii", "question": "what is the total output amount for patient 98229 until 08/21/2104?", "template": "what was the total volume of output that patient 98229 had until 08/21/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98229 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2104-08-21'", "value": {"patient_id": 98229}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d568a310d1f281d0582574b"}, {"db_id": "mimic_iii", "question": "what's the total amount of output patient 64519 had on 07/17/2104?", "template": "what was the total volume of output that patient 64519 had on 07/17/2104?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64519 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2104-07-17'", "value": {"patient_id": 64519}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c7b700a8490ffa30094692a"}, {"db_id": "mimic_iii", "question": "what are the total outputs of patient 56201 on 02/10/2105?", "template": "what was the total volume of output that patient 56201 had on 02/10/2105?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56201 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2105-02-10'", "value": {"patient_id": 56201}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-in]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20d1d99bdc22e448d8084458"}, {"db_id": "mimic_iii", "question": "give me a total of patient 25312's output until 04/05/2105.", "template": "what was the total volume of output that patient 25312 had until 04/05/2105?", "query": "select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2105-04-05'", "value": {"patient_id": 25312}, "q_tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the total volume of output that patient {patient_id} had [time_filter_global1:abs-day-until]?", "department": "['-']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1eac28e84290e944a04b1050"}, {"db_id": "mimic_iii", "question": "give me the difference between the total amount of input and the total output of patient 4401 on this month/30.", "template": "what is the difference between the total volume of intake and output of patient 4401 on this month/30?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '30' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '30' )", "value": {"patient_id": 4401}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f2b90c282d1bf284bf59f383"}, {"db_id": "mimic_iii", "question": "what was the difference a day before between the total input and the output of patient 24132?", "template": "what is the difference between the total volume of intake and output of patient 24132 yesterday?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24132 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24132 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') )", "value": {"patient_id": 24132}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d7a92a0d24340dd803d9ec2e"}, {"db_id": "mimic_iii", "question": "tell me the difference between the input amount and the output amount of patient 5520?", "template": "what is the difference between the total volume of intake and output of patient 5520?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5520 ) ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5520 ) ) )", "value": {"patient_id": 5520}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc1596ae21b38b8693052acb"}, {"db_id": "mimic_iii", "question": "what is the difference between the total amount of input of patient and the output of patient 27703 on last month/08?", "template": "what is the difference between the total volume of intake and output of patient 27703 on last month/08?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '08' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '08' )", "value": {"patient_id": 27703}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e277a57d4fc72b5578722ec"}, {"db_id": "mimic_iii", "question": "calculate the difference between patient 8016's total output and the total input on last month/23.", "template": "what is the difference between the total volume of intake and output of patient 8016 on last month/23?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '23' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '23' )", "value": {"patient_id": 8016}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3fa58381b5daba3e2a27ed17"}, {"db_id": "mimic_iii", "question": "on last month/28 what was the difference between the total amount of input and output of patient 8016?", "template": "what is the difference between the total volume of intake and output of patient 8016 on last month/28?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '28' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '28' )", "value": {"patient_id": 8016}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e919894529ee81b31d99f0ce"}, {"db_id": "mimic_iii", "question": "tell me the difference between patient 9801's total input and the patient's total output since 1399 days ago.", "template": "what is the difference between the total volume of intake and output of patient 9801 since 1399 day ago?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9801 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-1399 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9801 ) ) and datetime(outputevents.charttime) >= datetime(current_time,'-1399 day') )", "value": {"patient_id": 9801}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71e55af0de0963c2f69497d1"}, {"db_id": "mimic_iii", "question": "today, what was the difference between the total amount of input and output of patient 19412?", "template": "what is the difference between the total volume of intake and output of patient 19412 today?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') )", "value": {"patient_id": 19412}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e9fa70ace4616018e26e07f"}, {"db_id": "mimic_iii", "question": "what is the difference between the total amount of input and output for patient 18866 on the current intensive care unit visit?", "template": "what is the difference between the total volume of intake and output of patient 18866 on the current icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) and icustays.outtime is null ) )", "value": {"patient_id": 18866}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d40a94335bab6c76dabf0a8c"}, {"db_id": "mimic_iii", "question": "calculate the difference between patient 9566's total amount of input and output on the current intensive care unit visit.", "template": "what is the difference between the total volume of intake and output of patient 9566 on the current icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) and icustays.outtime is null ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) and icustays.outtime is null ) )", "value": {"patient_id": 9566}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0e4a3eb7834d775c4bff5cd"}, {"db_id": "mimic_iii", "question": "give me the difference between the total amount of input and the output for patient 21468 on 03/25/this year.", "template": "what is the difference between the total volume of intake and output of patient 21468 on 03/25/this year?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21468 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '03-25' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21468 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '03-25' )", "value": {"patient_id": 21468}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d82d662e63198b8a7cf8e148"}, {"db_id": "mimic_iii", "question": "what was the difference between the total amount of output and input of patient 782 on 03/04/2103?", "template": "what is the difference between the total volume of intake and output of patient 782 on 03/04/2103?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 782 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2103-03-04' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 782 ) ) and strftime('%y-%m-%d',outputevents.charttime) = '2103-03-04' )", "value": {"patient_id": 782}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58d444444baef9b23af7f9c8"}, {"db_id": "mimic_iii", "question": "calculate the difference between the total input and the output of patient 16088 on the last icu visit.", "template": "what is the difference between the total volume of intake and output of patient 16088 on the last icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) )", "value": {"patient_id": 16088}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d9ab545c6dad58519069b73"}, {"db_id": "mimic_iii", "question": "give me the difference between the total amount of patient 14203's input and the output until 10/27/2101.", "template": "what is the difference between the total volume of intake and output of patient 14203 until 10/27/2101?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14203 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2101-10-27' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14203 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2101-10-27' )", "value": {"patient_id": 14203}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4129e81b2c76efc618f6941"}, {"db_id": "mimic_iii", "question": "how much is the difference between the total output and the total input of patient 3929 on this month/24?", "template": "what is the difference between the total volume of intake and output of patient 3929 on this month/24?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '24' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '24' )", "value": {"patient_id": 3929}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f74a8cec34c2c6eff9d5fdd5"}, {"db_id": "mimic_iii", "question": "calculate the difference between patient 28048's total input and the total output until 01/30/2104.", "template": "what is the difference between the total volume of intake and output of patient 28048 until 01/30/2104?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28048 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2104-01-30' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28048 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2104-01-30' )", "value": {"patient_id": 28048}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f5a194ff05b08441ece8a53"}, {"db_id": "mimic_iii", "question": "what was the difference between the total amount of patient 702's input and output?", "template": "what is the difference between the total volume of intake and output of patient 702?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 702 ) ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 702 ) ) )", "value": {"patient_id": 702}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59b4745eb39b53bb053287ab"}, {"db_id": "mimic_iii", "question": "tell me the difference between the total output of patient 1489 and the total input since 07/28/2102.", "template": "what is the difference between the total volume of intake and output of patient 1489 since 07/28/2102?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1489 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2102-07-28' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1489 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2102-07-28' )", "value": {"patient_id": 1489}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b7b6a806c602c7d8d8f7f1f5"}, {"db_id": "mimic_iii", "question": "what was the difference between the total input and output until 11/05/2105 for patient 14611?", "template": "what is the difference between the total volume of intake and output of patient 14611 until 11/05/2105?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14611 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-11-05' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14611 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2105-11-05' )", "value": {"patient_id": 14611}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ba4d50d21955f541b05294f"}, {"db_id": "mimic_iii", "question": "what is the difference between total output and total input of patient 10855 on this month/22?", "template": "what is the difference between the total volume of intake and output of patient 10855 on this month/22?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '22' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '22' )", "value": {"patient_id": 10855}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "50d738fe7c376a8fb742c780"}, {"db_id": "mimic_iii", "question": "tell me the difference between the total amount of input of patient 15447 on the current icu visit and the total amount of output of the patient?", "template": "what is the difference between the total volume of intake and output of patient 15447 on the current icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) and icustays.outtime is null ) )", "value": {"patient_id": 15447}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52c14c2e75e9c5cd37f280cb"}, {"db_id": "mimic_iii", "question": "tell me the difference between the input and output of patient 19427 on last month/19?", "template": "what is the difference between the total volume of intake and output of patient 19427 on last month/19?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19427 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '19' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19427 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '19' )", "value": {"patient_id": 19427}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c9ddf91d37495fef554fde6"}, {"db_id": "mimic_iii", "question": "give me the difference between the total input of patient 15794 and the total output on this month/22.", "template": "what is the difference between the total volume of intake and output of patient 15794 on this month/22?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '22' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '22' )", "value": {"patient_id": 15794}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c98abcc6f9267466b6eb63b7"}, {"db_id": "mimic_iii", "question": "tell me the difference between the total amount of input and the total output of patient 18457 on the last intensive care unit visit?", "template": "what is the difference between the total volume of intake and output of patient 18457 on the last icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18457 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18457 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) )", "value": {"patient_id": 18457}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6f9b0f8129fabf004863712"}, {"db_id": "mimic_iii", "question": "what is the difference between the total amount of input and output of patient 808 on the last icu visit?", "template": "what is the difference between the total volume of intake and output of patient 808 on the last icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 808 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) )", "value": {"patient_id": 808}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6378a0082ab92d70e103941f"}, {"db_id": "mimic_iii", "question": "tell me the difference between the total amount of input and output for patient 2753.", "template": "what is the difference between the total volume of intake and output of patient 2753?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2753 ) ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2753 ) ) )", "value": {"patient_id": 2753}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cc3d791b465d424ce07c96c"}, {"db_id": "mimic_iii", "question": "what is the difference between patient 30044's total number of inputs and outputs until 86 days ago?", "template": "what is the difference between the total volume of intake and output of patient 30044 until 86 day ago?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-86 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) ) and datetime(outputevents.charttime) <= datetime(current_time,'-86 day') )", "value": {"patient_id": 30044}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3b0a06cd1d85c36735d1a75"}, {"db_id": "mimic_iii", "question": "what was the difference between total input and total output of patient 9964 on this month/28?", "template": "what is the difference between the total volume of intake and output of patient 9964 on this month/28?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '28' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9964 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '28' )", "value": {"patient_id": 9964}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "efc534fc4787cf8f0aeff139"}, {"db_id": "mimic_iii", "question": "tell me what the difference was between patient 20603's input and output?", "template": "what is the difference between the total volume of intake and output of patient 20603?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20603 ) ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20603 ) ) )", "value": {"patient_id": 20603}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ccb2fa0618de30b335c51005"}, {"db_id": "mimic_iii", "question": "tell me the difference between the total amount of input of patient 18517 and output of the patient on the last icu visit?", "template": "what is the difference between the total volume of intake and output of patient 18517 on the last icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18517 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) )", "value": {"patient_id": 18517}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e0cac7cadc8bd5e9d2a87b5"}, {"db_id": "mimic_iii", "question": "give me the difference between patient 7698's total input and the total output on last month/04?", "template": "what is the difference between the total volume of intake and output of patient 7698 on last month/04?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '04' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '04' )", "value": {"patient_id": 7698}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9b64ac6ad5e9c163def10ca"}, {"db_id": "mimic_iii", "question": "provide the information about the difference between patient 28443's total input and the patient's total output during yesterday.", "template": "what is the difference between the total volume of intake and output of patient 28443 yesterday?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') )", "value": {"patient_id": 28443}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31241c04b07099b892b63a89"}, {"db_id": "mimic_iii", "question": "tell me the difference between the total amount of input and output from patient 31880 on 01/05/last year?", "template": "what is the difference between the total volume of intake and output of patient 31880 on 01/05/last year?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '01-05' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '01-05' )", "value": {"patient_id": 31880}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56489f09159150bf4eeba5f2"}, {"db_id": "mimic_iii", "question": "give me the difference between the total amount of input and output of patient 23070 on this month/15?", "template": "what is the difference between the total volume of intake and output of patient 23070 on this month/15?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '15' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '15' )", "value": {"patient_id": 23070}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd6dabbdd67d5874363e2e70"}, {"db_id": "mimic_iii", "question": "tell me the difference between the total amount of the input and the output for patient 29410 since 10/18/2100.", "template": "what is the difference between the total volume of intake and output of patient 29410 since 10/18/2100?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29410 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2100-10-18' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29410 ) ) and strftime('%y-%m-%d',outputevents.charttime) >= '2100-10-18' )", "value": {"patient_id": 29410}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ef8b52065b82432b490a077"}, {"db_id": "mimic_iii", "question": "what's the difference between the total input and output today for patient 4401?", "template": "what is the difference between the total volume of intake and output of patient 4401 today?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') )", "value": {"patient_id": 4401}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3fd6bcaa3e83edcd8cb09578"}, {"db_id": "mimic_iii", "question": "give me the difference between the total of the input and the output of patient 26057 on 12/27/this year.", "template": "what is the difference between the total volume of intake and output of patient 26057 on 12/27/this year?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26057 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-27' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26057 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-27' )", "value": {"patient_id": 26057}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e0f8313fb3127fc307b3cf8"}, {"db_id": "mimic_iii", "question": "what's the difference between the total output and the amount of input for patient 16088 since 182 days ago?", "template": "what is the difference between the total volume of intake and output of patient 16088 since 182 day ago?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-182 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) ) and datetime(outputevents.charttime) >= datetime(current_time,'-182 day') )", "value": {"patient_id": 16088}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4a2bd21e1f8024d9d4128dd"}, {"db_id": "mimic_iii", "question": "what's the difference between patient 5828's total output and total input in yesterday?", "template": "what is the difference between the total volume of intake and output of patient 5828 yesterday?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') )", "value": {"patient_id": 5828}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9b497ba986a423d2d6de0ce"}, {"db_id": "mimic_iii", "question": "tell me the difference between the amount of input and the amount of output until 10/06/2103 for patient 27451.", "template": "what is the difference between the total volume of intake and output of patient 27451 until 10/06/2103?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27451 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2103-10-06' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27451 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2103-10-06' )", "value": {"patient_id": 27451}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd8bfef92c798c2a4b30084e"}, {"db_id": "mimic_iii", "question": "what is the difference between the total amount of inputs and outputs of patient 14671 today?", "template": "what is the difference between the total volume of intake and output of patient 14671 today?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') )", "value": {"patient_id": 14671}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8f92bd520be674824aaa5d8"}, {"db_id": "mimic_iii", "question": "give me the difference between the total input and the output of patient 10855 on the current intensive care unit visit.", "template": "what is the difference between the total volume of intake and output of patient 10855 on the current icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) )", "value": {"patient_id": 10855}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "61b76e7111e81f958b13880e"}, {"db_id": "mimic_iii", "question": "what is the difference between the total input and output for patient 28048 until 01/30/2104?", "template": "what is the difference between the total volume of intake and output of patient 28048 until 01/30/2104?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28048 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2104-01-30' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28048 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2104-01-30' )", "value": {"patient_id": 28048}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4cc8978ed3464c2875388ec4"}, {"db_id": "mimic_iii", "question": "give me the difference between patient 28910's total output and the patient's total input on 04/21/last year.", "template": "what is the difference between the total volume of intake and output of patient 28910 on 04/21/last year?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28910 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '04-21' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28910 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',outputevents.charttime) = '04-21' )", "value": {"patient_id": 28910}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f220a1cccc6d06a8226dd13"}, {"db_id": "mimic_iii", "question": "calculate the difference between the total input and the output today for patient 15794.", "template": "what is the difference between the total volume of intake and output of patient 15794 today?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') )", "value": {"patient_id": 15794}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58be9d470232313740593efd"}, {"db_id": "mimic_iii", "question": "calculate the difference between patient 20898's total output and the total input amount on 12/24/this year.", "template": "what is the difference between the total volume of intake and output of patient 20898 on 12/24/this year?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-24' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and datetime(outputevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',outputevents.charttime) = '12-24' )", "value": {"patient_id": 20898}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8c02b4d300da1e923a69ea8"}, {"db_id": "mimic_iii", "question": "what is the difference between a patient's output and total input of patient 8005 on the last intensive care unit visit?", "template": "what is the difference between the total volume of intake and output of patient 8005 on the last icu visit?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8005 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8005 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) )", "value": {"patient_id": 8005}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d8462e3cd8f0350eddc5c5fc"}, {"db_id": "mimic_iii", "question": "give me the difference between the total input of patient 10431 and the output of the patient until 12/00/2105.", "template": "what is the difference between the total volume of intake and output of patient 10431 until 12/00/2105?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-12-00' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) ) and strftime('%y-%m-%d',outputevents.charttime) <= '2105-12-00' )", "value": {"patient_id": 10431}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dbc261cd0bf458effbe33092"}, {"db_id": "mimic_iii", "question": "what was the difference between the total input and the total output of patient 19412 in yesterday?", "template": "what is the difference between the total volume of intake and output of patient 19412 yesterday?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') )", "value": {"patient_id": 19412}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "690b70da7d2b8d4be16672b2"}, {"db_id": "mimic_iii", "question": "how much is the difference between the total amount of input and the output of patient 25814 on this month/28.", "template": "what is the difference between the total volume of intake and output of patient 25814 on this month/28?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '28' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',outputevents.charttime) = '28' )", "value": {"patient_id": 25814}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81b9f1a595cb6fd254e89145"}, {"db_id": "mimic_iii", "question": "what's the difference between the total output and the amount of input for patient 27703 on last month/09?", "template": "what is the difference between the total volume of intake and output of patient 27703 on last month/09?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '09' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '09' )", "value": {"patient_id": 27703}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "406c3e66f5310e4ffd9bd3de"}, {"db_id": "mimic_iii", "question": "give me the difference between the total of the input and the output of patient 24132 yesterday.", "template": "what is the difference between the total volume of intake and output of patient 24132 yesterday?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24132 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24132 ) ) and datetime(outputevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') )", "value": {"patient_id": 24132}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8efde816e29161dd669054cf"}, {"db_id": "mimic_iii", "question": "calculate the difference between patient 8016's total input and the patient's output on last month/23.", "template": "what is the difference between the total volume of intake and output of patient 8016 on last month/23?", "query": "select ( select sum(inputevents_cv.amount) from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '23' ) - ( select sum(outputevents.value) from outputevents where outputevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and datetime(outputevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',outputevents.charttime) = '23' )", "value": {"patient_id": 8016}, "q_tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is the difference between the total volume of intake and output of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e7f400365963b133aff4021d"}, {"db_id": "mimic_iii", "question": "i mean what was the first arterial bp mean for patient 1462 since 1247 days ago?", "template": "what was the first measured arterial bp mean of patient 1462 since 1247 day ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1462 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-1247 day') order by chartevents.charttime asc limit 1", "value": {"patient_id": 1462, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52b4a7f01f13e465defedf13"}, {"db_id": "mimic_iii", "question": "what was patient 17435's first arterial bp mean on the first intensive care unit visit.", "template": "what was the first measured arterial bp mean of patient 17435 on the first icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17435 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 17435, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf6816304f052fe61133c91e"}, {"db_id": "mimic_iii", "question": "what is patient 23969's first arterial bp [systolic] on the last intensive care unit visit?", "template": "what was the first measured arterial bp [systolic] of patient 23969 on the last icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23969 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 23969, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8112e8a25b19cc7c37694716"}, {"db_id": "mimic_iii", "question": "what was the first value of the temperature c (calc) of patient 15447 today?", "template": "what was the first measured temperature c (calc) of patient 15447 today?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15447 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by chartevents.charttime asc limit 1", "value": {"vital_name": "temperature c (calc)", "patient_id": 15447}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7092372e4bfa3b0aa2353f12"}, {"db_id": "mimic_iii", "question": "what was the last heart rate value patient 26886 had?", "template": "what was the last measured heart rate of patient 26886?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26886 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"vital_name": "heart rate", "patient_id": 26886}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d8e0c5f7bd34850020c59a9"}, {"db_id": "mimic_iii", "question": "what was the last value of arterial bp [diastolic] patient 11064 had on the last icu visit.", "template": "what was the last measured arterial bp [diastolic] of patient 11064 on the last icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11064 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 11064}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdb7280ff60d817dee392d7b"}, {"db_id": "mimic_iii", "question": "on last month/02', what was last arterial bp mean value of patient 14054?", "template": "what was the last measured arterial bp mean of patient 14054 on last month/02?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',chartevents.charttime) = '02' order by chartevents.charttime desc limit 1", "value": {"patient_id": 14054, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "778392cc812f979cec637677"}, {"db_id": "mimic_iii", "question": "so, what was the first temperature c (calc) of patient 4085 on 09/18/this year?", "template": "what was the first measured temperature c (calc) of patient 4085 on 09/18/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4085 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '09-18' order by chartevents.charttime asc limit 1", "value": {"vital_name": "temperature c (calc)", "patient_id": 4085}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e553a04e774d607c045e431"}, {"db_id": "mimic_iii", "question": "today, what was first value of arterial bp [systolic] for patient 14671?", "template": "what was the first measured arterial bp [systolic] of patient 14671 today?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by chartevents.charttime asc limit 1", "value": {"patient_id": 14671, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "300afd81318f15f8f017cd6f"}, {"db_id": "mimic_iii", "question": "so what was the first arterial bp mean for patient 10624 on this month/20?", "template": "what was the first measured arterial bp mean of patient 10624 on this month/20?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '20' order by chartevents.charttime asc limit 1", "value": {"vital_name": "arterial bp mean", "patient_id": 10624}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e0e92996f0c6df94226141e"}, {"db_id": "mimic_iii", "question": "what was last value of heart rate of patient 14467 today?", "template": "what was the last measured heart rate of patient 14467 today?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14467 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by chartevents.charttime desc limit 1", "value": {"vital_name": "heart rate", "patient_id": 14467}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c014fd055f9dd2864505a8c"}, {"db_id": "mimic_iii", "question": "since 04/26/2105, what was first arterial bp [systolic] for patient 31854?", "template": "what was the first measured arterial bp [systolic] of patient 31854 since 04/26/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) >= '2105-04-26' order by chartevents.charttime asc limit 1", "value": {"patient_id": 31854, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc39028a9a09abec39d05e4c"}, {"db_id": "mimic_iii", "question": "what's the first arterial bp [diastolic] of patient 12775 on this month/30?", "template": "what was the first measured arterial bp [diastolic] of patient 12775 on this month/30?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '30' order by chartevents.charttime asc limit 1", "value": {"patient_id": 12775, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6d009632e5fffe7f6527021"}, {"db_id": "mimic_iii", "question": " what was the last value of heart rate of patient 1784?", "template": "what was the last measured heart rate of patient 1784?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1784 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 1784, "vital_name": "heart rate"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a27e811e335b3e67e9bc03dc"}, {"db_id": "mimic_iii", "question": "what was the first arterial bp [systolic] of patient 29309 since 09/18/2104.", "template": "what was the first measured arterial bp [systolic] of patient 29309 since 09/18/2104?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29309 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) >= '2104-09-18' order by chartevents.charttime asc limit 1", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 29309}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d2f1e5480484a1ad95748d8"}, {"db_id": "mimic_iii", "question": "what was the last value of the heart rate of patient 3229 since 35 days ago.", "template": "what was the last measured heart rate of patient 3229 since 35 day ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3229 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-35 day') order by chartevents.charttime desc limit 1", "value": {"patient_id": 3229, "vital_name": "heart rate"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f04d0d9ac2eb042f3001f641"}, {"db_id": "mimic_iii", "question": "i'd like to know what was patient 9566's first heart rate on this month/24?", "template": "what was the first measured heart rate of patient 9566 on this month/24?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '24' order by chartevents.charttime asc limit 1", "value": {"vital_name": "heart rate", "patient_id": 9566}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51cd087b9df77b4d3a07fac5"}, {"db_id": "mimic_iii", "question": "what was patient 9619's first value of the arterial bp mean until 08/02/2102?", "template": "what was the first measured arterial bp mean of patient 9619 until 08/02/2102?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9619 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2102-08-02' order by chartevents.charttime asc limit 1", "value": {"patient_id": 9619, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "590b35b52dcc7601e2fcd958"}, {"db_id": "mimic_iii", "question": "what's the first value of the arterial bp [diastolic] of patient 4269?", "template": "what was the first measured arterial bp [diastolic] of patient 4269?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4269 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 4269}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32d9ab4a8d5ed109bf66b39b"}, {"db_id": "mimic_iii", "question": "what was the last heart rate in patient 15794's body on the current icu visit?", "template": "what was the last measured heart rate of patient 15794 on the current icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"vital_name": "heart rate", "patient_id": 15794}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-cur]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc3812867a7c0fff1d3ff4a5"}, {"db_id": "mimic_iii", "question": "what's last arterial bp [diastolic] value of patient 4368 on 05/28/2105?", "template": "what was the last measured arterial bp [diastolic] of patient 4368 on 05/28/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) = '2105-05-28' order by chartevents.charttime desc limit 1", "value": {"patient_id": 4368, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "532d09e7360486971bb4ee68"}, {"db_id": "mimic_iii", "question": "on 11/25/last year, what was the last value of arterial bp [diastolic] for patient 11688?", "template": "what was the last measured arterial bp [diastolic] of patient 11688 on 11/25/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11688 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '11-25' order by chartevents.charttime desc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 11688}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9bc8981a5c792645e8cd552"}, {"db_id": "mimic_iii", "question": "what is the last value of patient 20034's arterial bp [systolic] on the first intensive care unit visit?", "template": "what was the last measured arterial bp [systolic] of patient 20034 on the first icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20034 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 20034, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bae957abe65527051c26b8d0"}, {"db_id": "mimic_iii", "question": "until 12/30/2105, what was first arterial bp [diastolic] for patient 26175?", "template": "what was the first measured arterial bp [diastolic] of patient 26175 until 12/30/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26175 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2105-12-30' order by chartevents.charttime asc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 26175}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3e602bf3ae248f7e10faa77"}, {"db_id": "mimic_iii", "question": "i mean what was the first arterial bp [diastolic] for patient 19412 yesterday?", "template": "what was the first measured arterial bp [diastolic] of patient 19412 yesterday?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by chartevents.charttime asc limit 1", "value": {"patient_id": 19412, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b67b2880dc49ce80fe1ff7b7"}, {"db_id": "mimic_iii", "question": "until 05/26/2100, what was the first value of arterial bp mean for patient 20165?", "template": "what was the first measured arterial bp mean of patient 20165 until 05/26/2100?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20165 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2100-05-26' order by chartevents.charttime asc limit 1", "value": {"patient_id": 20165, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c98b2b41a4ac5a24b9179a5"}, {"db_id": "mimic_iii", "question": "what's first temperature c (calc) value of patient 10855 on this month/13?", "template": "what was the first measured temperature c (calc) of patient 10855 on this month/13?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '13' order by chartevents.charttime asc limit 1", "value": {"vital_name": "temperature c (calc)", "patient_id": 10855}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b3dcf5764547c61e85e140f9"}, {"db_id": "mimic_iii", "question": "i'd like to know what was patient 2238's last heart rate on the first intensive care unit visit?", "template": "what was the last measured heart rate of patient 2238 on the first icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2238 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 2238, "vital_name": "heart rate"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46467326ab2397052b060311"}, {"db_id": "mimic_iii", "question": "on last month/25 what was the last value of arterial bp [diastolic] of patient 8016?", "template": "what was the last measured arterial bp [diastolic] of patient 8016 on last month/25?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',chartevents.charttime) = '25' order by chartevents.charttime desc limit 1", "value": {"patient_id": 8016, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d381ab5779e3b03233ff00d7"}, {"db_id": "mimic_iii", "question": "what was the first arterial bp [systolic] value patient 594 had since 271 days ago?", "template": "what was the first measured arterial bp [systolic] of patient 594 since 271 day ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-271 day') order by chartevents.charttime asc limit 1", "value": {"patient_id": 594, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0ef6e81c0a6d05befc616ae"}, {"db_id": "mimic_iii", "question": "what was the first value of the arterial bp [diastolic] of patient 27703 on last month/02?", "template": "what was the first measured arterial bp [diastolic] of patient 27703 on last month/02?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',chartevents.charttime) = '02' order by chartevents.charttime asc limit 1", "value": {"patient_id": 27703, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25530cbecaeee1dd483ed749"}, {"db_id": "mimic_iii", "question": "so, what was the last arterial bp [diastolic] of patient 26849 on 08/11/last year?", "template": "what was the last measured arterial bp [diastolic] of patient 26849 on 08/11/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26849 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '08-11' order by chartevents.charttime desc limit 1", "value": {"patient_id": 26849, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ec4ec80fb9cbacc6dce4872"}, {"db_id": "mimic_iii", "question": "what was the last value of the temperature c (calc) of patient 2518 today?", "template": "what was the last measured temperature c (calc) of patient 2518 today?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2518 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by chartevents.charttime desc limit 1", "value": {"vital_name": "temperature c (calc)", "patient_id": 2518}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22e3a5355cfd2ded5d3579a7"}, {"db_id": "mimic_iii", "question": "today, what was the first value of heart rate for patient 8888?", "template": "what was the first measured heart rate of patient 8888 today?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by chartevents.charttime asc limit 1", "value": {"vital_name": "heart rate", "patient_id": 8888}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e72bea363cd313c4b3f2503"}, {"db_id": "mimic_iii", "question": "what's first arterial bp [diastolic] value of patient 19352 on 07/27/2103?", "template": "what was the first measured arterial bp [diastolic] of patient 19352 on 07/27/2103?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19352 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) = '2103-07-27' order by chartevents.charttime asc limit 1", "value": {"patient_id": 19352, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2a1790c9db4dee3a5d47e2f"}, {"db_id": "mimic_iii", "question": "what was the last value of the arterial bp [diastolic] of patient 28775 until 05/26/2105.", "template": "what was the last measured arterial bp [diastolic] of patient 28775 until 05/26/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28775 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2105-05-26' order by chartevents.charttime desc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 28775}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0f909ff0c2aa2a4499921b8"}, {"db_id": "mimic_iii", "question": "so, what was the last heart rate of patient 28443 in the previous day?", "template": "what was the last measured heart rate of patient 28443 yesterday?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by chartevents.charttime desc limit 1", "value": {"vital_name": "heart rate", "patient_id": 28443}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "722f6d7856080bb16063f0fc"}, {"db_id": "mimic_iii", "question": "what was the first value of the arterial bp [diastolic] of patient 23070 on 12/04/this year.", "template": "what was the first measured arterial bp [diastolic] of patient 23070 on 12/04/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '12-04' order by chartevents.charttime asc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 23070}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0a27b97b166ffab57f8f079"}, {"db_id": "mimic_iii", "question": "i mean what was the last temperature c (calc) for patient 4401 during the previous day?", "template": "what was the last measured temperature c (calc) of patient 4401 yesterday?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by chartevents.charttime desc limit 1", "value": {"patient_id": 4401, "vital_name": "temperature c (calc)"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c3982cd1070c20a41f7cb186"}, {"db_id": "mimic_iii", "question": "what's last arterial bp mean value of patient 24220 on the first intensive care unit visit?", "template": "what was the last measured arterial bp mean of patient 24220 on the first icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24220 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 24220, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb812cff6b0ce68806d80205"}, {"db_id": "mimic_iii", "question": "what was patient 15794's first temperature c (calc) during the previous day.", "template": "what was the first measured temperature c (calc) of patient 15794 yesterday?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by chartevents.charttime asc limit 1", "value": {"vital_name": "temperature c (calc)", "patient_id": 15794}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "942eb11f6010d3d3b86cb02b"}, {"db_id": "mimic_iii", "question": "i mean what was the first arterial bp mean for patient 16066 on 01/09/last year?", "template": "what was the first measured arterial bp mean of patient 16066 on 01/09/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16066 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '01-09' order by chartevents.charttime asc limit 1", "value": {"patient_id": 16066, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a45488ce36aa4c875a8486b"}, {"db_id": "mimic_iii", "question": "on 09/08/last year, what was the last value of arterial bp [diastolic] for patient 15754?", "template": "what was the last measured arterial bp [diastolic] of patient 15754 on 09/08/last year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15754 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '09-08' order by chartevents.charttime desc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 15754}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aa085a79e78c7f05eabdbe67"}, {"db_id": "mimic_iii", "question": "until 08/24/2105, what was the first value of arterial bp [diastolic] for patient 23938?", "template": "what was the first measured arterial bp [diastolic] of patient 23938 until 08/24/2105?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23938 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2105-08-24' order by chartevents.charttime asc limit 1", "value": {"patient_id": 23938, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e05031255b0275253c30d1b"}, {"db_id": "mimic_iii", "question": "what is the first value of patient 11362's temperature c (calc) on last month/24?", "template": "what was the first measured temperature c (calc) of patient 11362 on last month/24?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',chartevents.charttime) = '24' order by chartevents.charttime asc limit 1", "value": {"vital_name": "temperature c (calc)", "patient_id": 11362}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dc84f948ce581228ae7568ad"}, {"db_id": "mimic_iii", "question": "what was patient 16169's last heart rate until 1239 days ago.", "template": "what was the last measured heart rate of patient 16169 until 1239 day ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16169 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-1239 day') order by chartevents.charttime desc limit 1", "value": {"patient_id": 16169, "vital_name": "heart rate"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3309cd4b070ac59e107c8cdc"}, {"db_id": "mimic_iii", "question": "so, what was the last heart rate of patient 7241?", "template": "what was the last measured heart rate of patient 7241?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7241 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 7241, "vital_name": "heart rate"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5b2cc24ad20e2f1ba17ac5c4"}, {"db_id": "mimic_iii", "question": "what was patient 3097's last arterial bp [systolic] since 426 days ago.", "template": "what was the last measured arterial bp [systolic] of patient 3097 since 426 day ago?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3097 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-426 day') order by chartevents.charttime desc limit 1", "value": {"patient_id": 3097, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e10954a0c7d1db87230e18ca"}, {"db_id": "mimic_iii", "question": "what was the last value of the arterial bp [diastolic] of patient 32026 on 03/19/this year?", "template": "what was the last measured arterial bp [diastolic] of patient 32026 on 03/19/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32026 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '03-19' order by chartevents.charttime desc limit 1", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 32026}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4fd6815b55d8c5ec72dced8"}, {"db_id": "mimic_iii", "question": "what's the first temperature c (calc) of patient 9566 today?", "template": "what was the first measured temperature c (calc) of patient 9566 today?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by chartevents.charttime asc limit 1", "value": {"patient_id": 9566, "vital_name": "temperature c (calc)"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd8720fce712a6b287e6c91c"}, {"db_id": "mimic_iii", "question": "what was the last arterial bp mean of patient 19428 on the current intensive care unit visit.", "template": "what was the last measured arterial bp mean of patient 19428 on the current icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 19428, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-cur]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "06f518a23d024e8e6ba84e62"}, {"db_id": "mimic_iii", "question": "what was last value of temperature c (calc) of patient 21977 on the first intensive care unit visit?", "template": "what was the last measured temperature c (calc) of patient 21977 on the first icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21977 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 21977, "vital_name": "temperature c (calc)"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a4c68b810c800ea2fb737cc"}, {"db_id": "mimic_iii", "question": "what was the last arterial bp [systolic] value patient 6705 had?", "template": "what was the last measured arterial bp [systolic] of patient 6705?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6705 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1", "value": {"patient_id": 6705, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c16cd2e20e4c804513c6747e"}, {"db_id": "mimic_iii", "question": "what was the first value of arterial bp [systolic] patient 2514 had on 07/08/this year.", "template": "what was the first measured arterial bp [systolic] of patient 2514 on 07/08/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2514 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '07-08' order by chartevents.charttime asc limit 1", "value": {"patient_id": 2514, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0eb9da1408335da4de64642"}, {"db_id": "mimic_iii", "question": "today, what was last arterial bp mean for patient 19428?", "template": "what was the last measured arterial bp mean of patient 19428 today?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by chartevents.charttime desc limit 1", "value": {"patient_id": 19428, "vital_name": "arterial bp mean"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9713f64ae3b97016fee24265"}, {"db_id": "mimic_iii", "question": "on 07/19/2104, what was first value of sao2 for patient 2004?", "template": "what was the first measured sao2 of patient 2004 on 07/19/2104?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2004 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) = '2104-07-19' order by chartevents.charttime asc limit 1", "value": {"patient_id": 2004, "vital_name": "sao2"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cefff7e5aa75a7b296b10633"}, {"db_id": "mimic_iii", "question": "what was the first value of heart rate patient 28443 had on this month/29.", "template": "what was the first measured heart rate of patient 28443 on this month/29?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '29' order by chartevents.charttime asc limit 1", "value": {"patient_id": 28443, "vital_name": "heart rate"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d2c6777cffba1b94fe5e784"}, {"db_id": "mimic_iii", "question": "what's the last temperature c (calc) of patient 2514 on 07/11/this year?", "template": "what was the last measured temperature c (calc) of patient 2514 on 07/11/this year?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2514 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '07-11' order by chartevents.charttime desc limit 1", "value": {"vital_name": "temperature c (calc)", "patient_id": 2514}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] measured {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ae219ef8597ffaf31cacf5c"}, {"db_id": "mimic_iii", "question": "what's the first heart rate of patient 2004 on the first intensive care unit visit?", "template": "what was the first measured heart rate of patient 2004 on the first icu visit?", "query": "select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2004 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1", "value": {"patient_id": 2004, "vital_name": "heart rate"}, "q_tag": "what was the [time_filter_exact1] measured {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] measured {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['other', 'physician', 'health_records', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9136ab6ea2a56e10ac9ba9bc"}, {"db_id": "mimic_iii", "question": "what was the maximum arterial bp [diastolic] during the previous day for patient 18866.", "template": "what was the maximum arterial bp [diastolic] of patient 18866 yesterday?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 18866}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ebd6bd0f10b2a5d46ed798e"}, {"db_id": "mimic_iii", "question": "whats patient 31473 average heart rate?", "template": "what was the average heart rate of patient 31473?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31473 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "heart rate", "patient_id": 31473}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1ac573eed3a2f06cfe23631d"}, {"db_id": "mimic_iii", "question": "what was the maximum value for arterial bp mean for patient 9294 on this month/09?", "template": "what was the maximum arterial bp mean of patient 9294 on this month/09?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9294 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '09'", "value": {"patient_id": 9294, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb8cb2708ad4b96eb92816da"}, {"db_id": "mimic_iii", "question": "what is the maximum arterial bp mean of patient 16904 on the first intensive care unit visit?", "template": "what was the maximum arterial bp mean of patient 16904 on the first icu visit?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16904 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 16904, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74319ecc7bd56630c611c257"}, {"db_id": "mimic_iii", "question": "since 955 days ago, what is average value of arterial bp [diastolic] for patient 31880?", "template": "what was the average arterial bp [diastolic] of patient 31880 since 955 day ago?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-955 day')", "value": {"patient_id": 31880, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4083327b40faf85e0e6f2e5"}, {"db_id": "mimic_iii", "question": "on the first icu visit what is the minimum arterial bp [diastolic] of patient 18742?", "template": "what was the minimum arterial bp [diastolic] of patient 18742 on the first icu visit?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18742 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "arterial bp [diastolic]", "patient_id": 18742}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30c094f22aa3844dbecf97c2"}, {"db_id": "mimic_iii", "question": "on last month/05, what was the average value of the heart rate of patient 27703?", "template": "what was the average heart rate of patient 27703 on last month/05?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',chartevents.charttime) = '05'", "value": {"patient_id": 27703, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ffcedee9478efed6e5a0e76"}, {"db_id": "mimic_iii", "question": "until 1090 days ago what was the maximum value of heart rate of patient 23042?", "template": "what was the maximum heart rate of patient 23042 until 1090 day ago?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23042 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-1090 day')", "value": {"vital_name": "heart rate", "patient_id": 23042}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "149cc1ad016bf86a930f76b1"}, {"db_id": "mimic_iii", "question": "tell me the maximum sao2 in patient 4368 on 05/24/this year?", "template": "what was the maximum sao2 of patient 4368 on 05/24/this year?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '05-24'", "value": {"vital_name": "sao2", "patient_id": 4368}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "557527210c9beb5853746532"}, {"db_id": "mimic_iii", "question": "what was patient 25815's minimum sao2,?", "template": "what was the minimum sao2 of patient 25815?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25815 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "sao2", "patient_id": 25815}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d8fda307c9e06ce9f84270d"}, {"db_id": "mimic_iii", "question": "what is the average value of the sao2 of patient 20898 today?", "template": "what was the average sao2 of patient 20898 today?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"vital_name": "sao2", "patient_id": 20898}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb7863305e33bd37bd4d9dcd"}, {"db_id": "mimic_iii", "question": "what is patient 19412's average sao2 at since 12/23/2105?", "template": "what was the average sao2 of patient 19412 since 12/23/2105?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) >= '2105-12-23'", "value": {"patient_id": 19412, "vital_name": "sao2"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "251a73190c8c4668ef66f7cc"}, {"db_id": "mimic_iii", "question": "what was patient 25668's arterial bp mean average on 07/21/2100?", "template": "what was the average arterial bp mean of patient 25668 on 07/21/2100?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25668 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) = '2100-07-21'", "value": {"patient_id": 25668, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "839d7c9025881acf3ad8d850"}, {"db_id": "mimic_iii", "question": "i was wondering what patient 15754's average value of temperature c (calc) on 09/05/2104 was?", "template": "what was the average temperature c (calc) of patient 15754 on 09/05/2104?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15754 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) = '2104-09-05'", "value": {"patient_id": 15754, "vital_name": "temperature c (calc)"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "76a831cd4a3f74fcaec43729"}, {"db_id": "mimic_iii", "question": "what is the maximum value of heart rate of patient 10855 on 12/27/this year?", "template": "what was the maximum heart rate of patient 10855 on 12/27/this year?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '12-27'", "value": {"patient_id": 10855, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "113c9dde307ef66ea349edb8"}, {"db_id": "mimic_iii", "question": "on this month/26 what was minimum arterial bp [diastolic] of patient 18866?", "template": "what was the minimum arterial bp [diastolic] of patient 18866 on this month/26?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '26'", "value": {"patient_id": 18866, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "441fb77a18fc72dd748757a6"}, {"db_id": "mimic_iii", "question": "tell me the average sao2 of patient 7742 on the first intensive care unit visit?", "template": "what was the average sao2 of patient 7742 on the first icu visit?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7742 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "sao2", "patient_id": 7742}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "007ab00ec9c81a0e2265f5f3"}, {"db_id": "mimic_iii", "question": "tell me patient 17694's average value of heart rate since 1708 days ago?", "template": "what was the average heart rate of patient 17694 since 1708 day ago?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17694 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-1708 day')", "value": {"patient_id": 17694, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "409aa464d46400c69d146749"}, {"db_id": "mimic_iii", "question": "tell me the average temperature c (calc) for patient 7476's body on 11/06/last year?", "template": "what was the average temperature c (calc) of patient 7476 on 11/06/last year?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7476 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '11-06'", "value": {"vital_name": "temperature c (calc)", "patient_id": 7476}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65cb7673cc3eac0f9e87e6d5"}, {"db_id": "mimic_iii", "question": "on 06/22/last year', what was average arterial bp [diastolic] of patient 25523?", "template": "what was the average arterial bp [diastolic] of patient 25523 on 06/22/last year?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25523 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [diastolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '06-22'", "value": {"patient_id": 25523, "vital_name": "arterial bp [diastolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ab1f3996cf37e4498d2f269"}, {"db_id": "mimic_iii", "question": "today what was the heart rate maximum value of patient 1784?", "template": "what was the maximum heart rate of patient 1784 today?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1784 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 1784, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0d19c40e895869179280d4c"}, {"db_id": "mimic_iii", "question": "what is patient 3125's average arterial bp mean, since 12/15/2105?", "template": "what was the average arterial bp mean of patient 3125 since 12/15/2105?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) >= '2105-12-15'", "value": {"patient_id": 3125, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ae1d0b85c087d64937574fe6"}, {"db_id": "mimic_iii", "question": "until 698 days ago what is the maximum arterial bp mean of patient 15905?", "template": "what was the maximum arterial bp mean of patient 15905 until 698 day ago?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15905 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-698 day')", "value": {"vital_name": "arterial bp mean", "patient_id": 15905}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "853ebc9e4334ab99ffd32fec"}, {"db_id": "mimic_iii", "question": "what was the average sao2 on 01/06/last year for patient 3242.", "template": "what was the average sao2 of patient 3242 on 01/06/last year?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3242 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '01-06'", "value": {"vital_name": "sao2", "patient_id": 3242}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fccd515014abf5fdf1c69107"}, {"db_id": "mimic_iii", "question": "since 05/13/2105 what was the heart rate average value of patient 18866?", "template": "what was the average heart rate of patient 18866 since 05/13/2105?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) >= '2105-05-13'", "value": {"vital_name": "heart rate", "patient_id": 18866}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cf56167bf5ca40283265fc2"}, {"db_id": "mimic_iii", "question": "what is patient 25312's average arterial bp mean at since 1968 days ago?", "template": "what was the average arterial bp mean of patient 25312 since 1968 day ago?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-1968 day')", "value": {"patient_id": 25312, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd3bf738bcd6dccf51127ba8"}, {"db_id": "mimic_iii", "question": "tell me the maximum heart rate of patient 20033 on the first intensive care unit visit?", "template": "what was the maximum heart rate of patient 20033 on the first icu visit?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20033 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 20033, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d73c9dcd0fa907dca9a1c3ff"}, {"db_id": "mimic_iii", "question": "tell me the maximum heart rate for patient 6705's body on 09/19/last year?", "template": "what was the maximum heart rate of patient 6705 on 09/19/last year?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6705 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '09-19'", "value": {"patient_id": 6705, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6483ed002f80693a28f7259b"}, {"db_id": "mimic_iii", "question": "on 12/25/this year what was maximum arterial bp mean of patient 739?", "template": "what was the maximum arterial bp mean of patient 739 on 12/25/this year?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',chartevents.charttime) = '12-25'", "value": {"vital_name": "arterial bp mean", "patient_id": 739}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47c5d1f120c3bf89094ef697"}, {"db_id": "mimic_iii", "question": "tell me the average arterial bp [systolic] for patient 18677's body on 05/05/2102?", "template": "what was the average arterial bp [systolic] of patient 18677 on 05/05/2102?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) = '2102-05-05'", "value": {"patient_id": 18677, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ec1d17a5695f821df61219b"}, {"db_id": "mimic_iii", "question": "what is patient 18866's maximum arterial bp [systolic] at yesterday?", "template": "what was the maximum arterial bp [systolic] of patient 18866 yesterday?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 18866, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d81536f06b06d33ccda71ad"}, {"db_id": "mimic_iii", "question": "what is patient 28966's minimum heart rate, until 169 days ago?", "template": "what was the minimum heart rate of patient 28966 until 169 day ago?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-169 day')", "value": {"vital_name": "heart rate", "patient_id": 28966}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b3d6afe3e963b3b56fb1701"}, {"db_id": "mimic_iii", "question": "tell me the average arterial bp [systolic] of patient 16472 until 08/15/2105?", "template": "what was the average arterial bp [systolic] of patient 16472 until 08/15/2105?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16472 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2105-08-15'", "value": {"patient_id": 16472, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a28c8200f979eaa380d57472"}, {"db_id": "mimic_iii", "question": "on 08/04/last year', what was minimum arterial bp [systolic] of patient 29666?", "template": "what was the minimum arterial bp [systolic] of patient 29666 on 08/04/last year?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29666 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '08-04'", "value": {"vital_name": "arterial bp [systolic]", "patient_id": 29666}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e32e1602056426aeaa052593"}, {"db_id": "mimic_iii", "question": "what is the minimum heart rate of patient 8888 today?", "template": "what was the minimum heart rate of patient 8888 today?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8888 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"vital_name": "heart rate", "patient_id": 8888}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0595f00bf451c61245213932"}, {"db_id": "mimic_iii", "question": "what was patient 11823's arterial bp mean average on 11/27/last year?", "template": "what was the average arterial bp mean of patient 11823 on 11/27/last year?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11823 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '11-27'", "value": {"patient_id": 11823, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b26185688ad4381630608f64"}, {"db_id": "mimic_iii", "question": "i was wondering what patient 28443's minimum value of temperature c (calc) today was?", "template": "what was the minimum temperature c (calc) of patient 28443 today?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 28443, "vital_name": "temperature c (calc)"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d1ae4f3351e220d3997d1e61"}, {"db_id": "mimic_iii", "question": "tell me the maximum arterial bp [systolic] in patient 20801 on 03/22/last year?", "template": "what was the maximum arterial bp [systolic] of patient 20801 on 03/22/last year?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20801 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '03-22'", "value": {"patient_id": 20801, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "543bf5cf8c2e85d5dfa3dc17"}, {"db_id": "mimic_iii", "question": "what is patient 2002's average arterial bp mean,?", "template": "what was the average arterial bp mean of patient 2002?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2002 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "arterial bp mean", "patient_id": 2002}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f29f4dbf5301a4e9ab54e27"}, {"db_id": "mimic_iii", "question": "whats patient 3229 minimum arterial bp mean on the first icu visit?", "template": "what was the minimum arterial bp mean of patient 3229 on the first icu visit?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3229 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 3229, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6bdc23c760e4ab562ae487e"}, {"db_id": "mimic_iii", "question": "tell me the average sao2 in patient 5866?", "template": "what was the average sao2 of patient 5866?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5866 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "sao2", "patient_id": 5866}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "07b87e8e4eec89669c6c81aa"}, {"db_id": "mimic_iii", "question": "on this month/28 what was the arterial bp mean maximum value of patient 28447?", "template": "what was the maximum arterial bp mean of patient 28447 on this month/28?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '28'", "value": {"vital_name": "arterial bp mean", "patient_id": 28447}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5dc4c736c8e04ab3fff24fbf"}, {"db_id": "mimic_iii", "question": "tell me the minimum heart rate in patient 23070 since 10/21/2103?", "template": "what was the minimum heart rate of patient 23070 since 10/21/2103?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) >= '2103-10-21'", "value": {"vital_name": "heart rate", "patient_id": 23070}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b027ab2a2e90ffdd2ebe5ce"}, {"db_id": "mimic_iii", "question": "what is the maximum value of the heart rate of patient 10431 until 1941 days ago?", "template": "what was the maximum heart rate of patient 10431 until 1941 day ago?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) <= datetime(current_time,'-1941 day')", "value": {"patient_id": 10431, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "88c1eaf395dda447435390b9"}, {"db_id": "mimic_iii", "question": "i was wondering what patient 15754's minimum value of sao2 on the last icu visit was?", "template": "what was the minimum sao2 of patient 15754 on the last icu visit?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15754 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 15754, "vital_name": "sao2"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aa56609c19eb5e4d8711b3a9"}, {"db_id": "mimic_iii", "question": "what is patient 19428's maximum arterial bp [systolic] at on this month/27?", "template": "what was the maximum arterial bp [systolic] of patient 19428 on this month/27?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '27'", "value": {"patient_id": 19428, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18df1754f2aafa94512b079f"}, {"db_id": "mimic_iii", "question": "what is the average temperature c (calc) of patient 28447 on the current intensive care unit visit?", "template": "what was the average temperature c (calc) of patient 28447 on the current icu visit?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and icustays.outtime is null ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 28447, "vital_name": "temperature c (calc)"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78ded8ceaa45022fb29556a2"}, {"db_id": "mimic_iii", "question": "on this month/30, what is minimum value of sao2 for patient 7112?", "template": "what was the minimum sao2 of patient 7112 on this month/30?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '30'", "value": {"vital_name": "sao2", "patient_id": 7112}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b570fc969951af80991e5306"}, {"db_id": "mimic_iii", "question": "what is the average arterial bp mean of patient 25312 until 05/26/2105?", "template": "what was the average arterial bp mean of patient 25312 until 05/26/2105?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25312 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2105-05-26'", "value": {"patient_id": 25312, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9fef2c403d8ca1e1d5ec456"}, {"db_id": "mimic_iii", "question": "what is the average value of arterial bp mean of patient 19175 on last month/02?", "template": "what was the average arterial bp mean of patient 19175 on last month/02?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',chartevents.charttime) = '02'", "value": {"patient_id": 19175, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c216284c0abd8d1d9894cc8f"}, {"db_id": "mimic_iii", "question": "whats patient 12775 minimum arterial bp [systolic] during yesterday?", "template": "what was the minimum arterial bp [systolic] of patient 12775 yesterday?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 12775, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "001d29eccba897fab0eb9b70"}, {"db_id": "mimic_iii", "question": "on the first icu visit', what was minimum arterial bp [systolic] of patient 17667?", "template": "what was the minimum arterial bp [systolic] of patient 17667 on the first icu visit?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 17667, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8bb966f249ec17da320f5502"}, {"db_id": "mimic_iii", "question": "what is the maximum value of arterial bp mean of patient 655 on the last intensive care unit visit?", "template": "what was the maximum arterial bp mean of patient 655 on the last icu visit?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 655 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "arterial bp mean", "patient_id": 655}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3f530f7ab6b40bb7263dc3da"}, {"db_id": "mimic_iii", "question": "on 10/09/last year', what was minimum arterial bp mean of patient 28343?", "template": "what was the minimum arterial bp mean of patient 28343 on 10/09/last year?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28343 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',chartevents.charttime) = '10-09'", "value": {"vital_name": "arterial bp mean", "patient_id": 28343}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8d4d89e8a2a2b47380984a1"}, {"db_id": "mimic_iii", "question": "i was wondering what patient 5878's minimum value of heart rate since 1857 days ago was?", "template": "what was the minimum heart rate of patient 5878 since 1857 day ago?", "query": "select min(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5878 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime) >= datetime(current_time,'-1857 day')", "value": {"patient_id": 5878, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "", ""], "o_tag": ["", "minimum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:minimum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0092e5bc1cb591c135106158"}, {"db_id": "mimic_iii", "question": "i was wondering what patient 5828's average value of sao2 today was?", "template": "what was the average sao2 of patient 5828 today?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'sao2' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 5828, "vital_name": "sao2"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e79789dff8f756cfef57ba9"}, {"db_id": "mimic_iii", "question": "until 10/23/2105 what was maximum temperature c (calc) of patient 20862?", "template": "what was the maximum temperature c (calc) of patient 20862 until 10/23/2105?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20862 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'temperature c (calc)' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) <= '2105-10-23'", "value": {"patient_id": 20862, "vital_name": "temperature c (calc)"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8cfb2c78a46a6693753be73"}, {"db_id": "mimic_iii", "question": "tell me patient 26772's average value of heart rate on the last icu visit?", "template": "what was the average heart rate of patient 26772 on the last icu visit?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26772 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' )", "value": {"vital_name": "heart rate", "patient_id": 26772}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82c30d27e91873d03c70557e"}, {"db_id": "mimic_iii", "question": "what is the average value of the arterial bp mean of patient 739?", "template": "what was the average arterial bp mean of patient 739?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 739, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a206affb879ac9033f148c28"}, {"db_id": "mimic_iii", "question": "what is patient 26286's maximum heart rate at on this month/09?", "template": "what was the maximum heart rate of patient 26286 on this month/09?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26286 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',chartevents.charttime) = '09'", "value": {"patient_id": 26286, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d12062264df90c641195fc7b"}, {"db_id": "mimic_iii", "question": "what was the maximum arterial bp mean for patient 29635.", "template": "what was the maximum arterial bp mean of patient 29635?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29635 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp mean' and d_items.linksto = 'chartevents' )", "value": {"patient_id": 29635, "vital_name": "arterial bp mean"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab93df509dece824a380566c"}, {"db_id": "mimic_iii", "question": "what was the average value for arterial bp [systolic] for patient 4401 in the previous day?", "template": "what was the average arterial bp [systolic] of patient 4401 yesterday?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-1 day')", "value": {"patient_id": 4401, "vital_name": "arterial bp [systolic]"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62c7d05055d5991a56d2cbc4"}, {"db_id": "mimic_iii", "question": "what is the maximum heart rate of patient 739 today?", "template": "what was the maximum heart rate of patient 739 today?", "query": "select max(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and datetime(chartevents.charttime,'start of day') = datetime(current_time,'start of day','-0 day')", "value": {"patient_id": 739, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "", ""], "o_tag": ["", "maximum", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:maximum] {vital_name} of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17c94bef60fb79da8afd9767"}, {"db_id": "mimic_iii", "question": "i was wondering what patient 10211's average value of heart rate on 04/01/2104 was?", "template": "what was the average heart rate of patient 10211 on 04/01/2104?", "query": "select avg(chartevents.valuenum) from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10211 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'heart rate' and d_items.linksto = 'chartevents' ) and strftime('%y-%m-%d',chartevents.charttime) = '2104-04-01'", "value": {"patient_id": 10211, "vital_name": "heart rate"}, "q_tag": "what was the [agg_function] {vital_name} of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "", ""], "o_tag": ["", "average", "", "", "", "", "", "", ""], "tag": "what was the [agg_function:average] {vital_name} of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3223f07104f6c9326c3155c"}, {"db_id": "mimic_iii", "question": "how much does it cost for patient 13473 to stay in the hospital until 2101?", "template": "what was the total hospital cost of patient 13473 until 2101?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13473 ) and strftime('%y',cost.chargetime) <= '2101'", "value": {"patient_id": 13473}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d35c5111f2b8f33af0565bf1"}, {"db_id": "mimic_iii", "question": "how much did patient 57169 pay in hospital in total during their stay?", "template": "what is the total hospital cost of patient 57169?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57169 )", "value": {"patient_id": 57169}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b3993b2a771f25040b0ac4c0"}, {"db_id": "mimic_iii", "question": "how much does it cost patient 95892's hospital stay in the current hospital visit?", "template": "what is the total hospital cost of patient 95892 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 and admissions.dischtime is null )", "value": {"patient_id": 95892}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28d119d0d7f47e6e5382f9c6"}, {"db_id": "mimic_iii", "question": "how much did it cost patient 19428 to be in the hospital this year?", "template": "what is the total hospital cost of patient 19428 this year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-0 year')", "value": {"patient_id": 19428}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e15738195eac532632cf8e0a"}, {"db_id": "mimic_iii", "question": "how much did it cost for the stay of patient 9038 in the hospital during their first hospital visit?", "template": "what was the total hospital cost of patient 9038 on the first hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9038 and admissions.dischtime is not null order by admissions.admittime asc limit 1 )", "value": {"patient_id": 9038}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cdae59c8e31e25a8524f1fd3"}, {"db_id": "mimic_iii", "question": "how much is the total medical bill of patient 73423 until 4 years ago during their stay?", "template": "what was the total hospital cost of patient 73423 until 4 year ago?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73423 ) and datetime(cost.chargetime) <= datetime(current_time,'-4 year')", "value": {"patient_id": 73423}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e7946da44c5225af6f195a9"}, {"db_id": "mimic_iii", "question": "what is the total total hospital cost of patient 5658 in this year?", "template": "what is the total hospital cost of patient 5658 this year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5658 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-0 year')", "value": {"patient_id": 5658}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "702fd88b83650dc4a8c5a798"}, {"db_id": "mimic_iii", "question": "what was the cost of the hospital of patient 71689 during this hospital visit?", "template": "what is the total hospital cost of patient 71689 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 and admissions.dischtime is null )", "value": {"patient_id": 71689}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4976e415660f4b759ffa3733"}, {"db_id": "mimic_iii", "question": "how much does it cost for patient 27591's hospital stay until 2102.", "template": "what was the total hospital cost of patient 27591 until 2102?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27591 ) and strftime('%y',cost.chargetime) <= '2102'", "value": {"patient_id": 27591}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ad9ab45ff7a68d20db5db81"}, {"db_id": "mimic_iii", "question": "how much was the total hospital bill of patient 32153 during the stay since 2105?", "template": "what is the total hospital cost of patient 32153 since 2105?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32153 ) and strftime('%y',cost.chargetime) >= '2105'", "value": {"patient_id": 32153}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cbeb207df708809c5d83043"}, {"db_id": "mimic_iii", "question": "how much is the total hospital bill for patient 19412 during his stay on the current hospital encounter?", "template": "what is the total hospital cost of patient 19412 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19412 and admissions.dischtime is null )", "value": {"patient_id": 19412}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f3bf01a514a84a794d58794"}, {"db_id": "mimic_iii", "question": "how much does the hospital stay cost on the current hospital encounter for patient 70267?", "template": "what is the total hospital cost of patient 70267 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 and admissions.dischtime is null )", "value": {"patient_id": 70267}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57592744bba627b1ad63c79c"}, {"db_id": "mimic_iii", "question": "how much did the hospitalization this year cost patient 79348?", "template": "what is the total hospital cost of patient 79348 this year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 79348 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-0 year')", "value": {"patient_id": 79348}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9997c1022844e37c9cfec7c7"}, {"db_id": "mimic_iii", "question": "what was the price of patient 16572's hospital stay until 1 year ago?", "template": "what was the total hospital cost of patient 16572 until 1 year ago?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 ) and datetime(cost.chargetime) <= datetime(current_time,'-1 year')", "value": {"patient_id": 16572}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f55bada75e41080b5c64bec1"}, {"db_id": "mimic_iii", "question": "how much should patient 16904 have to pay for their stay at the hospital when they came to the hospital last time?", "template": "what was the total hospital cost of patient 16904 on the last hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16904 and admissions.dischtime is not null order by admissions.admittime desc limit 1 )", "value": {"patient_id": 16904}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df06b0611d01fb9a4c21f489"}, {"db_id": "mimic_iii", "question": "how much has patient 85407 in a year before to pay for their hospital stay?", "template": "what was the total hospital cost of patient 85407 last year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85407 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-1 year')", "value": {"patient_id": 85407}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f2c677ed7b4df4a5e418043"}, {"db_id": "mimic_iii", "question": "how much is patient 17462 required to pay for their hospital stay during the current hospital encounter?", "template": "what is the total hospital cost of patient 17462 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 and admissions.dischtime is null )", "value": {"patient_id": 17462}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f610a199ff89b464c8ffc326"}, {"db_id": "mimic_iii", "question": "how much did patient 5849 pay in their last hospital encounter for his hospital stay?", "template": "what was the total hospital cost of patient 5849 on the last hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5849 and admissions.dischtime is not null order by admissions.admittime desc limit 1 )", "value": {"patient_id": 5849}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2543a48d008a0fd3bd47c33"}, {"db_id": "mimic_iii", "question": "what is the total cost of hospital for patient 90663 during the current hospital visit?", "template": "what is the total hospital cost of patient 90663 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 and admissions.dischtime is null )", "value": {"patient_id": 90663}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31617da2f9122950dfb036f7"}, {"db_id": "mimic_iii", "question": "how much is patient 89875's hospital bill for his or her stay since 2103?", "template": "what is the total hospital cost of patient 89875 since 2103?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89875 ) and strftime('%y',cost.chargetime) >= '2103'", "value": {"patient_id": 89875}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5a6a9c059987521c2b73aaa8"}, {"db_id": "mimic_iii", "question": "how much does patient 89875 have to pay for a hospital stay since 2103?", "template": "what is the total hospital cost of patient 89875 since 2103?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89875 ) and strftime('%y',cost.chargetime) >= '2103'", "value": {"patient_id": 89875}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e1bf41ee0c66ad3a5facd467"}, {"db_id": "mimic_iii", "question": "how much does it cost for the hospital stay of patient 29540?", "template": "what is the total hospital cost of patient 29540?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29540 )", "value": {"patient_id": 29540}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39f6ade5b952d6375f250741"}, {"db_id": "mimic_iii", "question": "how much did the hospital bill of patient 22204 until 2104 amount to?", "template": "what was the total hospital cost of patient 22204 until 2104?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22204 ) and strftime('%y',cost.chargetime) <= '2104'", "value": {"patient_id": 22204}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8eb86bad11439b0af99ea07"}, {"db_id": "mimic_iii", "question": "how much is the total hospital bill for patient 73713 in this year during their stay?", "template": "what is the total hospital cost of patient 73713 this year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-0 year')", "value": {"patient_id": 73713}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa2f366b8a290182ca91951d"}, {"db_id": "mimic_iii", "question": "what is the total hospital bill of patient 27172's during their stay?", "template": "what is the total hospital cost of patient 27172?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 )", "value": {"patient_id": 27172}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c3fac342875a42b86413f885"}, {"db_id": "mimic_iii", "question": "what is the cost to patient 28130 for their hospital stay until 2 years ago?", "template": "what was the total hospital cost of patient 28130 until 2 year ago?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28130 ) and datetime(cost.chargetime) <= datetime(current_time,'-2 year')", "value": {"patient_id": 28130}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0bcb0ae9efb6ea8bc1939b64"}, {"db_id": "mimic_iii", "question": "how much does it cost for the hospital stay of patient 24364 in 2101?", "template": "what was the total hospital cost of patient 24364 in 2101?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24364 ) and strftime('%y',cost.chargetime) = '2101'", "value": {"patient_id": 24364}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87a7d58204b439bf07e86eee"}, {"db_id": "mimic_iii", "question": "how much does patient 86786 have to pay for staying in the hospital since 2101?", "template": "what is the total hospital cost of patient 86786 since 2101?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86786 ) and strftime('%y',cost.chargetime) >= '2101'", "value": {"patient_id": 86786}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8be77ba313addb09cf7efef2"}, {"db_id": "mimic_iii", "question": "how much money did patient 29806 have to spend for his hospital stay in a year before?", "template": "what was the total hospital cost of patient 29806 last year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29806 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-1 year')", "value": {"patient_id": 29806}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d25c978564d050236e2085a7"}, {"db_id": "mimic_iii", "question": "how much was the total hospital bill for patient 30733's stay in a year before?", "template": "what was the total hospital cost of patient 30733 last year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30733 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-1 year')", "value": {"patient_id": 30733}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6cf2ed2b43c095823200a77e"}, {"db_id": "mimic_iii", "question": "what is the total bill for patient 52898's hospital stay in their current hospital encounter?", "template": "what is the total hospital cost of patient 52898 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 and admissions.dischtime is null )", "value": {"patient_id": 52898}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e69b962a9aa396db86fea45"}, {"db_id": "mimic_iii", "question": "what was the total hospital bill of patient 29611's stay on their last hospital encounter?", "template": "what was the total hospital cost of patient 29611 on the last hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29611 and admissions.dischtime is not null order by admissions.admittime desc limit 1 )", "value": {"patient_id": 29611}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2d8ad305349d963630b8992"}, {"db_id": "mimic_iii", "question": "how much did patient 25997 spend for their hospital stay in 2100?", "template": "what was the total hospital cost of patient 25997 in 2100?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25997 ) and strftime('%y',cost.chargetime) = '2100'", "value": {"patient_id": 25997}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e219e5bcf6d3073675a2bd9e"}, {"db_id": "mimic_iii", "question": "what is the amount of patient 72909's hospital bill during their stay on the current hospital visit?", "template": "what is the total hospital cost of patient 72909 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72909 and admissions.dischtime is null )", "value": {"patient_id": 72909}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2cfe9d1a9108507a81e86220"}, {"db_id": "mimic_iii", "question": "how much was patient 24364's hospital bill for her stay until 3 years ago?", "template": "what was the total hospital cost of patient 24364 until 3 year ago?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24364 ) and datetime(cost.chargetime) <= datetime(current_time,'-3 year')", "value": {"patient_id": 24364}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aa134d53a582261a98d285f5"}, {"db_id": "mimic_iii", "question": "what does patient 49578 have to pay for the hospital stay in their first hospital visit?", "template": "what was the total hospital cost of patient 49578 on the first hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49578 and admissions.dischtime is not null order by admissions.admittime asc limit 1 )", "value": {"patient_id": 49578}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f98cd1b52e6e1908bdfb8354"}, {"db_id": "mimic_iii", "question": "what was the total hospital bill for patient 88191 during the stay during the first hospital visit?", "template": "what was the total hospital cost of patient 88191 on the first hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88191 and admissions.dischtime is not null order by admissions.admittime asc limit 1 )", "value": {"patient_id": 88191}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d1a3f959d22518d81f815b5e"}, {"db_id": "mimic_iii", "question": "how much did patient 99205 have to pay for his stay in the hospital?", "template": "what is the total hospital cost of patient 99205?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99205 )", "value": {"patient_id": 99205}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2943477b3875c60a03b3669b"}, {"db_id": "mimic_iii", "question": "how much has patient 30987 to pay for their hospital stay in the first hospital encounter?", "template": "what was the total hospital cost of patient 30987 on the first hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30987 and admissions.dischtime is not null order by admissions.admittime asc limit 1 )", "value": {"patient_id": 30987}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5404a878dd4e497628ce6e95"}, {"db_id": "mimic_iii", "question": "what was the total hospital cost of patient 19040 on their first hospital visit?", "template": "what was the total hospital cost of patient 19040 on the first hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19040 and admissions.dischtime is not null order by admissions.admittime asc limit 1 )", "value": {"patient_id": 19040}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4630655036aac4471f71a12"}, {"db_id": "mimic_iii", "question": "what did patient 12410 pay for their hospital stay until 2101?", "template": "what was the total hospital cost of patient 12410 until 2101?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12410 ) and strftime('%y',cost.chargetime) <= '2101'", "value": {"patient_id": 12410}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f86effdce29f9e8be11e1001"}, {"db_id": "mimic_iii", "question": "how much it costs for the hospital stay of patient 64796 until 2 years ago?", "template": "what was the total hospital cost of patient 64796 until 2 year ago?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64796 ) and datetime(cost.chargetime) <= datetime(current_time,'-2 year')", "value": {"patient_id": 64796}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa124fe976b6f0031319ff51"}, {"db_id": "mimic_iii", "question": "how much did it cost for patient 55281 hospital stay on this hospital encounter?", "template": "what is the total hospital cost of patient 55281 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55281 and admissions.dischtime is null )", "value": {"patient_id": 55281}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ed6221b48a5fda197f64c32"}, {"db_id": "mimic_iii", "question": "how much was the hospital stay for patient 10765?", "template": "what is the total hospital cost of patient 10765?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10765 )", "value": {"patient_id": 10765}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "071cb0ef1dd08af40dbd7eeb"}, {"db_id": "mimic_iii", "question": "how much does it cost patient 73423 to stay in hospital in their last hospital visit?", "template": "what was the total hospital cost of patient 73423 on the last hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73423 and admissions.dischtime is not null order by admissions.admittime desc limit 1 )", "value": {"patient_id": 73423}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c5e1184b2708387786abf2b"}, {"db_id": "mimic_iii", "question": "how much does it cost the hospital stay for patient 9297 in 2105?", "template": "what is the total hospital cost of patient 9297 in 2105?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9297 ) and strftime('%y',cost.chargetime) = '2105'", "value": {"patient_id": 9297}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97f61a70ee018af391a9a54d"}, {"db_id": "mimic_iii", "question": "how much does patient 77987's hospital stay cost on the last hospital visit?", "template": "what was the total hospital cost of patient 77987 on the last hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77987 and admissions.dischtime is not null order by admissions.admittime desc limit 1 )", "value": {"patient_id": 77987}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f1ef63c26fa36a742d928dd"}, {"db_id": "mimic_iii", "question": "how much did it cost for the hospital stay of patient 462 during this year?", "template": "what is the total hospital cost of patient 462 this year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 462 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-0 year')", "value": {"patient_id": 462}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab8b0231d5b9e0afe6855bfc"}, {"db_id": "mimic_iii", "question": "how much money does patient 11779 have to spend on the hospital stay in a year before?", "template": "what was the total hospital cost of patient 11779 last year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11779 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-1 year')", "value": {"patient_id": 11779}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ed65c2f3dd592ace1af1133"}, {"db_id": "mimic_iii", "question": "how much did it cost patient 21079 for the hospital stay this year?", "template": "what is the total hospital cost of patient 21079 this year?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21079 ) and datetime(cost.chargetime,'start of year') = datetime(current_time,'start of year','-0 year')", "value": {"patient_id": 21079}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf4a1de6d65a648bb7b85e3a"}, {"db_id": "mimic_iii", "question": "how much did patient 29611's stay at the hospital cost on their last hospital visit?", "template": "what was the total hospital cost of patient 29611 on the last hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29611 and admissions.dischtime is not null order by admissions.admittime desc limit 1 )", "value": {"patient_id": 29611}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bfaf86ee232284e2859c87ef"}, {"db_id": "mimic_iii", "question": "how much patient 76372 had to pay for their stay in hospital on this hospital encounter?", "template": "what is the total hospital cost of patient 76372 on the current hospital visit?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76372 and admissions.dischtime is null )", "value": {"patient_id": 76372}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "733aa827c969c8b080d1edb1"}, {"db_id": "mimic_iii", "question": "what did patient 3267 pay for their hospital stay until 2104?", "template": "what was the total hospital cost of patient 3267 until 2104?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3267 ) and strftime('%y',cost.chargetime) <= '2104'", "value": {"patient_id": 3267}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e741566c31ab45f135a5b24e"}, {"db_id": "mimic_iii", "question": "what did patient 8098 have to pay for the hospital stay?", "template": "what is the total hospital cost of patient 8098?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8098 )", "value": {"patient_id": 8098}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa5daca358add810033d6ed8"}, {"db_id": "mimic_iii", "question": "how much was the hospital bill patient 54700 paid for their stay until 2 years ago?", "template": "what was the total hospital cost of patient 54700 until 2 year ago?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54700 ) and datetime(cost.chargetime) <= datetime(current_time,'-2 year')", "value": {"patient_id": 54700}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e26547ed43111c8bdb97dee"}, {"db_id": "mimic_iii", "question": "what was the sum of patient 13473's hospital bill during their stay until 2101?", "template": "what was the total hospital cost of patient 13473 until 2101?", "query": "select sum(cost.cost) from cost where cost.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13473 ) and strftime('%y',cost.chargetime) <= '2101'", "value": {"patient_id": 13473}, "q_tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what is_verb the total hospital cost of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1536763539356fa0232698d"}, {"db_id": "mimic_iii", "question": "when is the first time patient 16549 visited the hospital until 2104?", "template": "when was the first hospital admission time of patient 16549 until 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 16549 and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 16549}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5769061886a24d889c11d4e9"}, {"db_id": "mimic_iii", "question": "in this year, when did patient 1784 get admitted to the hospital for the last time?", "template": "when was the last hospital admission time of patient 1784 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 1784 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 1784}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4bea23a254c3dcefd3f2d4f8"}, {"db_id": "mimic_iii", "question": "when has patient 97330 for the last time come to the hospital?", "template": "when was the last hospital admission time of patient 97330?", "query": "select admissions.admittime from admissions where admissions.subject_id = 97330 order by admissions.admittime desc limit 1", "value": {"patient_id": 97330}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8bb4f8d43f2e84bfb6a4f7a8"}, {"db_id": "mimic_iii", "question": "for the last time since 2103, when did patient 21163 get admitted to the hospital?", "template": "when was the last hospital admission time of patient 21163 since 2103?", "query": "select admissions.admittime from admissions where admissions.subject_id = 21163 and strftime('%y',admissions.admittime) >= '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 21163}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c68d03f6118beb010e7776f4"}, {"db_id": "mimic_iii", "question": "when did patient 51605 get admitted to the hospital for the first time?", "template": "when was the first hospital admission time of patient 51605?", "query": "select admissions.admittime from admissions where admissions.subject_id = 51605 order by admissions.admittime asc limit 1", "value": {"patient_id": 51605}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "059da7c544c57ea72acd907f"}, {"db_id": "mimic_iii", "question": "when did patient 26156 come for the last time to the hospital?", "template": "when was the last hospital admission time of patient 26156?", "query": "select admissions.admittime from admissions where admissions.subject_id = 26156 order by admissions.admittime desc limit 1", "value": {"patient_id": 26156}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc208ad5ac5c8435edfd592a"}, {"db_id": "mimic_iii", "question": "what was the time patient 53089 entered the hospital for the last time a year before?", "template": "when was the last hospital admission time of patient 53089 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 53089 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 53089}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac076e630e0e7c8d9bee2708"}, {"db_id": "mimic_iii", "question": "when was patient 62977 in 2101 admitted for the first time to the hospital?", "template": "when was the first hospital admission time of patient 62977 in 2101?", "query": "select admissions.admittime from admissions where admissions.subject_id = 62977 and strftime('%y',admissions.admittime) = '2101' order by admissions.admittime asc limit 1", "value": {"patient_id": 62977}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "952e0807144b2d0f001d2e91"}, {"db_id": "mimic_iii", "question": "when did patient 2514 for the first time come to hospital since 2104?", "template": "when was the first hospital admission time of patient 2514 since 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 2514 and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 2514}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c647baaca8e66b6ea41db5d"}, {"db_id": "mimic_iii", "question": "when was the first visit of patient 83709 in this year to the hospital?", "template": "when was the first hospital admission time of patient 83709 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 83709 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 83709}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "752e0025d970e2dde6af21b4"}, {"db_id": "mimic_iii", "question": "when was patient 71320 for the first time admitted to the hospital since 2103?", "template": "when was the first hospital admission time of patient 71320 since 2103?", "query": "select admissions.admittime from admissions where admissions.subject_id = 71320 and strftime('%y',admissions.admittime) >= '2103' order by admissions.admittime asc limit 1", "value": {"patient_id": 71320}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "30b58acb4761a0aca18822b0"}, {"db_id": "mimic_iii", "question": "when did patient 25696's last visit to the hospital happen during a year before?", "template": "when was the last hospital admission time of patient 25696 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 25696 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 25696}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6eab4d9b0476a17b5410111f"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 54390 came into the hospital until 3 years ago?", "template": "when was the last hospital admission time of patient 54390 until 3 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 54390 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 54390}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a42d89bdabe65aebd85f4858"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 70645 was admitted to the hospital during the last year?", "template": "when was the first hospital admission time of patient 70645 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 70645 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 70645}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6fe0633d945251f2ddab6c9b"}, {"db_id": "mimic_iii", "question": "when was patient 78221 admitted for the first time to the hospital until 3 years ago?", "template": "when was the first hospital admission time of patient 78221 until 3 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 78221 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 78221}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "67e2fd289d172b81f5693765"}, {"db_id": "mimic_iii", "question": "when did patient 808 enter for the last time in the hospital since 2105?", "template": "when was the last hospital admission time of patient 808 since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 808 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 808}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "913700147e63a53d6d0c83b0"}, {"db_id": "mimic_iii", "question": "when did patient 25365 get admitted for the first time during this year in the hospital?", "template": "when was the first hospital admission time of patient 25365 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 25365 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 25365}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d2714da11f4e7dfb3264c74"}, {"db_id": "mimic_iii", "question": "when was the last time patient 73075 got admitted to the hospital until 2104?", "template": "when was the last hospital admission time of patient 73075 until 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 73075 and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 73075}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cdbd53c7fb90351db5a9c064"}, {"db_id": "mimic_iii", "question": "when was the last time patient 11688 was admitted into the hospital in 2104?", "template": "when was the last hospital admission time of patient 11688 in 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 11688 and strftime('%y',admissions.admittime) = '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 11688}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58cd822d6a1f27b977e15909"}, {"db_id": "mimic_iii", "question": "when did patient 22315 get admitted to the hospital the first time in this year?", "template": "when was the first hospital admission time of patient 22315 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 22315 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 22315}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "49763f3d73b55e690fc1c204"}, {"db_id": "mimic_iii", "question": "when was patient 5364's last visit to the hospital since 2100?", "template": "when was the last hospital admission time of patient 5364 since 2100?", "query": "select admissions.admittime from admissions where admissions.subject_id = 5364 and strftime('%y',admissions.admittime) >= '2100' order by admissions.admittime desc limit 1", "value": {"patient_id": 5364}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e0af10720ef98203b569da7"}, {"db_id": "mimic_iii", "question": "since 2104, when did patient 2514 first visit the hospital?", "template": "when was the first hospital admission time of patient 2514 since 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 2514 and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 2514}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e2cbd4c0f807a15e7c48e77f"}, {"db_id": "mimic_iii", "question": "when was the last admission of patient 11914 to the hospital since 1 year ago?", "template": "when was the last hospital admission time of patient 11914 since 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 11914 and datetime(admissions.admittime) >= datetime(current_time,'-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 11914}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "988dfcdd2f34c48af12441af"}, {"db_id": "mimic_iii", "question": "when did patient 23070 visit the hospital last in 2105?", "template": "when was the last hospital admission time of patient 23070 in 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 23070 and strftime('%y',admissions.admittime) = '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 23070}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0288338f0eff2d7f6cea12d9"}, {"db_id": "mimic_iii", "question": "when did patient 23550 since 2102 for the first time be admitted to the hospital?", "template": "when was the first hospital admission time of patient 23550 since 2102?", "query": "select admissions.admittime from admissions where admissions.subject_id = 23550 and strftime('%y',admissions.admittime) >= '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 23550}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "141799f0a952550b8378a76e"}, {"db_id": "mimic_iii", "question": "when did patient 11095 get in the hospital for the first time?", "template": "when was the first hospital admission time of patient 11095?", "query": "select admissions.admittime from admissions where admissions.subject_id = 11095 order by admissions.admittime asc limit 1", "value": {"patient_id": 11095}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d0480d673712ed346c21b361"}, {"db_id": "mimic_iii", "question": "when had patient 28343 been admitted to the hospital for the first time since 5 years ago?", "template": "when was the first hospital admission time of patient 28343 since 5 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 28343 and datetime(admissions.admittime) >= datetime(current_time,'-5 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 28343}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69e780f537873fc832becb9a"}, {"db_id": "mimic_iii", "question": "when is the last time patient 82132 was admitted to hospital since 2105?", "template": "when was the last hospital admission time of patient 82132 since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 82132 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 82132}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1553e12949c4de97f711813f"}, {"db_id": "mimic_iii", "question": "when did patient 5142 come since 1 year ago for the first time to the hospital?", "template": "when was the first hospital admission time of patient 5142 since 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 5142 and datetime(admissions.admittime) >= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 5142}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdd6c3880e6245f005090943"}, {"db_id": "mimic_iii", "question": "when was patient 6196 admitted for the first time to the hospital?", "template": "when was the first hospital admission time of patient 6196?", "query": "select admissions.admittime from admissions where admissions.subject_id = 6196 order by admissions.admittime asc limit 1", "value": {"patient_id": 6196}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "176dbc32c7588b2692b944bf"}, {"db_id": "mimic_iii", "question": "when did patient 14467 enter the hospital for the last time since 2105?", "template": "when was the last hospital admission time of patient 14467 since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 14467 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 14467}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1fec3b787e8355d13b2f0248"}, {"db_id": "mimic_iii", "question": "the last year, when did patient 53089 go to the hospital for the first time?", "template": "when was the first hospital admission time of patient 53089 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 53089 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 53089}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1428f2b8a9334cbbd9564a3d"}, {"db_id": "mimic_iii", "question": "for the last time , when did patient 20898 come to the hospital?", "template": "when was the last hospital admission time of patient 20898?", "query": "select admissions.admittime from admissions where admissions.subject_id = 20898 order by admissions.admittime desc limit 1", "value": {"patient_id": 20898}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce302872ebc41814ac69cc3a"}, {"db_id": "mimic_iii", "question": "what is patient 62977's first visit to the hospital in 2101?", "template": "when was the first hospital admission time of patient 62977 in 2101?", "query": "select admissions.admittime from admissions where admissions.subject_id = 62977 and strftime('%y',admissions.admittime) = '2101' order by admissions.admittime asc limit 1", "value": {"patient_id": 62977}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52039d261b1b4c391cf00c8c"}, {"db_id": "mimic_iii", "question": "when did patient 20801 come into the hospital for the first time the previous year?", "template": "when was the first hospital admission time of patient 20801 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 20801 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 20801}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0eafcc14085170064f07f49e"}, {"db_id": "mimic_iii", "question": "for the first time since 2105, when did patient 62413 come to the hospital?", "template": "when was the first hospital admission time of patient 62413 since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 62413 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime asc limit 1", "value": {"patient_id": 62413}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5636a9fc16cd5dcc4b28fd46"}, {"db_id": "mimic_iii", "question": "when was patient 2482 until 3 years ago admitted for the last time to the hospital?", "template": "when was the last hospital admission time of patient 2482 until 3 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 2482 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 2482}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f42f08ba8143d8e49dec815"}, {"db_id": "mimic_iii", "question": "when did patient 2957 enter the hospital for the first time since 2105?", "template": "when was the first hospital admission time of patient 2957 since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 2957 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime asc limit 1", "value": {"patient_id": 2957}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b9df558798ccc03ce52eaed"}, {"db_id": "mimic_iii", "question": "when is the last time patient 5865 was admitted to hospital during a year before?", "template": "when was the last hospital admission time of patient 5865 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 5865 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 5865}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a1971c146e507dd9b502740"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 82235 came into the hospital until 1 year ago?", "template": "when was the last hospital admission time of patient 82235 until 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 82235 and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 82235}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "165830121353aabe838c9c08"}, {"db_id": "mimic_iii", "question": "when did patient 58028 get admitted to the hospital the last time since 3 years ago?", "template": "when was the last hospital admission time of patient 58028 since 3 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 58028 and datetime(admissions.admittime) >= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 58028}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "47c539e0a4cf15d3190aaea3"}, {"db_id": "mimic_iii", "question": "what was the time patient 50286 entered the hospital for the last time the previous year?", "template": "when was the last hospital admission time of patient 50286 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 50286 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 50286}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "521bf07540199113cfa46060"}, {"db_id": "mimic_iii", "question": "when is the first time patient 25814 was admitted to hospital since 2101?", "template": "when was the first hospital admission time of patient 25814 since 2101?", "query": "select admissions.admittime from admissions where admissions.subject_id = 25814 and strftime('%y',admissions.admittime) >= '2101' order by admissions.admittime asc limit 1", "value": {"patient_id": 25814}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d70a427cfb598187c4378a88"}, {"db_id": "mimic_iii", "question": "when is the last time patient 77676 visited the hospital until 4 years ago?", "template": "when was the last hospital admission time of patient 77676 until 4 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 77676 and datetime(admissions.admittime) <= datetime(current_time,'-4 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 77676}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e66f74a9bbddfb975864016"}, {"db_id": "mimic_iii", "question": "when did patient 91768 enter the hospital for the last time in 2102?", "template": "when was the last hospital admission time of patient 91768 in 2102?", "query": "select admissions.admittime from admissions where admissions.subject_id = 91768 and strftime('%y',admissions.admittime) = '2102' order by admissions.admittime desc limit 1", "value": {"patient_id": 91768}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb7841d6679294a47d51b8bf"}, {"db_id": "mimic_iii", "question": "when was patient 26612 until 1 year ago admitted for the last time to the hospital?", "template": "when was the last hospital admission time of patient 26612 until 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 26612 and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 26612}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46e5691f42d8a9bc91ad6c30"}, {"db_id": "mimic_iii", "question": "when is the last time patient 1269 visited the hospital during a year before?", "template": "when was the last hospital admission time of patient 1269 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 1269 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 1269}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "824304acb6d443d54c706241"}, {"db_id": "mimic_iii", "question": "when was the last time patient 76005 got admitted to the hospital in a year before?", "template": "when was the last hospital admission time of patient 76005 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 76005 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 76005}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3120b029636293e4c3ab0481"}, {"db_id": "mimic_iii", "question": "in this year, when did patient 65401 last visit the hospital?", "template": "when was the last hospital admission time of patient 65401 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 65401 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 65401}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5cd716ebda8684f95a99b670"}, {"db_id": "mimic_iii", "question": "when was patient 18726 for the first time admitted to the hospital until 2103?", "template": "when was the first hospital admission time of patient 18726 until 2103?", "query": "select admissions.admittime from admissions where admissions.subject_id = 18726 and strftime('%y',admissions.admittime) <= '2103' order by admissions.admittime asc limit 1", "value": {"patient_id": 18726}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9be58666818b51ee408e80df"}, {"db_id": "mimic_iii", "question": "when is the last time patient 4758 visited the hospital since 2105?", "template": "when was the last hospital admission time of patient 4758 since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 4758 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 4758}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e0c5594f9fae1c94f6f2e0b"}, {"db_id": "mimic_iii", "question": "what was the time patient 32153 entered the hospital for the last time this year?", "template": "when was the last hospital admission time of patient 32153 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 32153 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 32153}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31c18091fde9f7027495c6a7"}, {"db_id": "mimic_iii", "question": "when did patient 2127 until 2102 for the first time be admitted to the hospital?", "template": "when was the first hospital admission time of patient 2127 until 2102?", "query": "select admissions.admittime from admissions where admissions.subject_id = 2127 and strftime('%y',admissions.admittime) <= '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 2127}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65c9bcdb8f0a9a8983ee9262"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 90917 came into the hospital until 2 years ago?", "template": "when was the first hospital admission time of patient 90917 until 2 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 90917 and datetime(admissions.admittime) <= datetime(current_time,'-2 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 90917}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "878edc2d8c815d487c0bf5fb"}, {"db_id": "mimic_iii", "question": "in this year, when did patient 95057 go to the hospital for the last time?", "template": "when was the last hospital admission time of patient 95057 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 95057 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 95057}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f03f4ed662f7d8b5f20a011d"}, {"db_id": "mimic_iii", "question": "for the last time until 2 years ago, when did patient 66958 get admitted to the hospital?", "template": "when was the last hospital admission time of patient 66958 until 2 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 66958 and datetime(admissions.admittime) <= datetime(current_time,'-2 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 66958}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a66c2d71a5a32c407dc8e1bc"}, {"db_id": "mimic_iii", "question": "when did patient 458 for the last time come to hospital since 2104?", "template": "when was the last hospital admission time of patient 458 since 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 458 and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 458}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "23cbc3869b638a3a948c876e"}, {"db_id": "mimic_iii", "question": "when did patient 15107 enter for the first time in the hospital since 2104?", "template": "when was the first hospital admission time of patient 15107 since 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 15107 and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 15107}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1dd09f2f3645f5974785df6a"}, {"db_id": "mimic_iii", "question": "when did patient 55281 get in the hospital since 2105 for the first time?", "template": "when was the first hospital admission time of patient 55281 since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 55281 and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime asc limit 1", "value": {"patient_id": 55281}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "974b778ed08b95bbf1c29581"}, {"db_id": "mimic_iii", "question": "in the last year, when did patient 16066 come for the first time to the hospital?", "template": "when was the first hospital admission time of patient 16066 last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 16066 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 16066}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28419e51a0d975f4114c79a3"}, {"db_id": "mimic_iii", "question": "when did patient 65569 come in 2105 for the last time to the hospital?", "template": "when was the last hospital admission time of patient 65569 in 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 65569 and strftime('%y',admissions.admittime) = '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 65569}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84b08658535c7b4fa49c6128"}, {"db_id": "mimic_iii", "question": "when was patient 26175 in this year admitted for the last time to the hospital?", "template": "when was the last hospital admission time of patient 26175 this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 26175 and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 26175}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dedbed507df3ccb2e425cbe4"}, {"db_id": "mimic_iii", "question": "since 2102, when did patient 7165 go to the hospital for the first time?", "template": "when was the first hospital admission time of patient 7165 since 2102?", "query": "select admissions.admittime from admissions where admissions.subject_id = 7165 and strftime('%y',admissions.admittime) >= '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 7165}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2541bc4ecaa879e9e2078f91"}, {"db_id": "mimic_iii", "question": "when had patient 4684 been admitted to the hospital for the last time until 2103?", "template": "when was the last hospital admission time of patient 4684 until 2103?", "query": "select admissions.admittime from admissions where admissions.subject_id = 4684 and strftime('%y',admissions.admittime) <= '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 4684}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "49bbd6c2263edebe38eb093d"}, {"db_id": "mimic_iii", "question": "when did patient 83225 for the first time come to hospital in 2104?", "template": "when was the first hospital admission time of patient 83225 in 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 83225 and strftime('%y',admissions.admittime) = '2104' order by admissions.admittime asc limit 1", "value": {"patient_id": 83225}, "q_tag": "when was the [time_filter_exact1] hospital admission time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2cf1f81a5396b042536bee4a"}, {"db_id": "mimic_iii", "question": "when did patient 21302 get admitted for the last time to the hospital via transfer from hosp/extram?", "template": "when was the last hospital admission time that patient 21302 was admitted via transfer from hosp/extram?", "query": "select admissions.admittime from admissions where admissions.subject_id = 21302 and admissions.admission_location = 'transfer from hosp/extram' order by admissions.admittime desc limit 1", "value": {"patient_id": 21302, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "15eb627bf3f0bcfe9fe659f6"}, {"db_id": "mimic_iii", "question": "when was patient 88180 admitted to the hospital for the last time since 2104 via the clinic referral/premature?", "template": "when was the last hospital admission time that patient 88180 was admitted via clinic referral/premature since 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 88180 and admissions.admission_location = 'clinic referral/premature' and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime desc limit 1", "value": {"admission_route": "clinic referral/premature", "patient_id": 88180}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd1edac31f353ccdc831800b"}, {"db_id": "mimic_iii", "question": "when was the first hospital admission time of patient 81783 that had been admitted on the clinic referral/premature?", "template": "when was the first hospital admission time that patient 81783 was admitted via clinic referral/premature?", "query": "select admissions.admittime from admissions where admissions.subject_id = 81783 and admissions.admission_location = 'clinic referral/premature' order by admissions.admittime asc limit 1", "value": {"patient_id": 81783, "admission_route": "clinic referral/premature"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ae336cc3b378a82672045fa"}, {"db_id": "mimic_iii", "question": "for the last time during this year, when did patient 31306 get admitted via emergency room admit to the hospital?", "template": "when was the last hospital admission time that patient 31306 was admitted via emergency room admit this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 31306 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 31306, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b846c1b40de7e22c7ed0148a"}, {"db_id": "mimic_iii", "question": "when was the first time patient 27451 was admitted via a hospital clinic referral/premature?", "template": "when was the first hospital admission time that patient 27451 was admitted via clinic referral/premature?", "query": "select admissions.admittime from admissions where admissions.subject_id = 27451 and admissions.admission_location = 'clinic referral/premature' order by admissions.admittime asc limit 1", "value": {"patient_id": 27451, "admission_route": "clinic referral/premature"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ebfff4f200f8ef63c25c7366"}, {"db_id": "mimic_iii", "question": "when did patient 18678 enter the hospital via the phys referral/normal deli for the first time since 3 years ago?", "template": "when was the first hospital admission time that patient 18678 was admitted via phys referral/normal deli since 3 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 18678 and admissions.admission_location = 'phys referral/normal deli' and datetime(admissions.admittime) >= datetime(current_time,'-3 year') order by admissions.admittime asc limit 1", "value": {"admission_route": "phys referral/normal deli", "patient_id": 18678}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d468c6c51935a1c610ef825d"}, {"db_id": "mimic_iii", "question": "when had patient 31169 come to the hospital for the first time since 2101 via er admit?", "template": "when was the first hospital admission time that patient 31169 was admitted via emergency room admit since 2101?", "query": "select admissions.admittime from admissions where admissions.subject_id = 31169 and admissions.admission_location = 'emergency room admit' and strftime('%y',admissions.admittime) >= '2101' order by admissions.admittime asc limit 1", "value": {"patient_id": 31169, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70711926f223554b819ae299"}, {"db_id": "mimic_iii", "question": "when was the last hospital admission that patient 17694 was admitted since 3 years ago via the transfer from hosp/extram?", "template": "when was the last hospital admission time that patient 17694 was admitted via transfer from hosp/extram since 3 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 17694 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime) >= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1", "value": {"admission_route": "transfer from hosp/extram", "patient_id": 17694}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d15af3fabeee74897b2ea386"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 90663 went to the hospital via an clinic referral/premature?", "template": "when was the last hospital admission time that patient 90663 was admitted via clinic referral/premature?", "query": "select admissions.admittime from admissions where admissions.subject_id = 90663 and admissions.admission_location = 'clinic referral/premature' order by admissions.admittime desc limit 1", "value": {"patient_id": 90663, "admission_route": "clinic referral/premature"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65a33010b341ef73f180a390"}, {"db_id": "mimic_iii", "question": "when was the last hospital admission time when patient 97395 was admitted in this year via the phys referral/normal deli?", "template": "when was the last hospital admission time that patient 97395 was admitted via phys referral/normal deli this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 97395 and admissions.admission_location = 'phys referral/normal deli' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"admission_route": "phys referral/normal deli", "patient_id": 97395}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed7895686a39b8aebba87a60"}, {"db_id": "mimic_iii", "question": "when was patient 15107 last admitted to the hospital through the emergency room admit until 1 year ago?", "template": "when was the last hospital admission time that patient 15107 was admitted via emergency room admit until 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 15107 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 15107, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b61a20dbbab8fae29fa174c9"}, {"db_id": "mimic_iii", "question": "when did patient 21302 get admitted via transfer from hosp/extram to the hospital for the first time this year?", "template": "when was the first hospital admission time that patient 21302 was admitted via transfer from hosp/extram this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 21302 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 21302, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c2ace9c6faef789c6e70d995"}, {"db_id": "mimic_iii", "question": "when was the first hospital admission time that patient 42956 was admitted through an emergency room admit last year?", "template": "when was the first hospital admission time that patient 42956 was admitted via emergency room admit last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 42956 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 42956, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46f288da1e01f7c648e0c039"}, {"db_id": "mimic_iii", "question": "when did patient 22245 come into the hospital for the last time since 2105 via the transfer from hosp/extram?", "template": "when was the last hospital admission time that patient 22245 was admitted via transfer from hosp/extram since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 22245 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 22245, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9450dd3dbf61b01840c9ec1b"}, {"db_id": "mimic_iii", "question": "when was the first time of hospital admission in which patient 17462 was admitted through the transfer from hosp/extram since 2105?", "template": "when was the first hospital admission time that patient 17462 was admitted via transfer from hosp/extram since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 17462 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime asc limit 1", "value": {"patient_id": 17462, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6dbeddfeb83b993d506c1df8"}, {"db_id": "mimic_iii", "question": "when did patient 55700 visit the hospital via clinic referral/premature, the first time since 4 years ago?", "template": "when was the first hospital admission time that patient 55700 was admitted via clinic referral/premature since 4 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 55700 and admissions.admission_location = 'clinic referral/premature' and datetime(admissions.admittime) >= datetime(current_time,'-4 year') order by admissions.admittime asc limit 1", "value": {"admission_route": "clinic referral/premature", "patient_id": 55700}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6921862e0a083a2f95990fe9"}, {"db_id": "mimic_iii", "question": "during this year, when did patient 32804 last enter the hospital via the transfer from hosp/extram?", "template": "when was the last hospital admission time that patient 32804 was admitted via transfer from hosp/extram this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 32804 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 32804, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9774632ca1164315a87846e6"}, {"db_id": "mimic_iii", "question": "when did patient 21110 for the first time this year be admitted via the emergency room admit into the hospital?", "template": "when was the first hospital admission time that patient 21110 was admitted via emergency room admit this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 21110 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 21110, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c61eaa13a9a78f70591f41f1"}, {"db_id": "mimic_iii", "question": "when did patient 92846 get admitted to hospital for the last time since 2104 via transfer from hosp/extram?", "template": "when was the last hospital admission time that patient 92846 was admitted via transfer from hosp/extram since 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 92846 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime desc limit 1", "value": {"admission_route": "transfer from hosp/extram", "patient_id": 92846}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8a4f5b01c1da85116a75ca9"}, {"db_id": "mimic_iii", "question": "when did patient 80645 enter the hospital for the first time via transfer from hosp/extram the previous year?", "template": "when was the first hospital admission time that patient 80645 was admitted via transfer from hosp/extram last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 80645 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 80645, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ca5e5b93542a9bd53b7b327"}, {"db_id": "mimic_iii", "question": "when was patient 84476 first admitted to the hospital via the transfer from hosp/extram since 2102?", "template": "when was the first hospital admission time that patient 84476 was admitted via transfer from hosp/extram since 2102?", "query": "select admissions.admittime from admissions where admissions.subject_id = 84476 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) >= '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 84476, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "19916a42ebd638103d748912"}, {"db_id": "mimic_iii", "question": "when was the last hospital admission time when patient 9299 was admitted via an transfer from hosp/extram since 4 years ago?", "template": "when was the last hospital admission time that patient 9299 was admitted via transfer from hosp/extram since 4 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 9299 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime) >= datetime(current_time,'-4 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 9299, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a04c68efa532b4e6695a840"}, {"db_id": "mimic_iii", "question": "what was the first hospital admission time in which patient 93104 was admitted last year via the emergency room admit?", "template": "when was the first hospital admission time that patient 93104 was admitted via emergency room admit last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 93104 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"admission_route": "emergency room admit", "patient_id": 93104}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd6f0bfd052535f4fa3f9d60"}, {"db_id": "mimic_iii", "question": "when was patient 7112 admitted to the hospital last via the phys referral/normal deli during this year?", "template": "when was the last hospital admission time that patient 7112 was admitted via phys referral/normal deli this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 7112 and admissions.admission_location = 'phys referral/normal deli' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 7112, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55a2645a22a1ecaa156e7cb3"}, {"db_id": "mimic_iii", "question": "when did patient 53015 enter the hospital until 2104 for the last time via the phys referral/normal deli?", "template": "when was the last hospital admission time that patient 53015 was admitted via phys referral/normal deli until 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 53015 and admissions.admission_location = 'phys referral/normal deli' and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 53015, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c48e55e05748dac3d0cf7f51"}, {"db_id": "mimic_iii", "question": "when did patient 90165 enter the hospital first time until 4 years ago via the emergency room admit?", "template": "when was the first hospital admission time that patient 90165 was admitted via emergency room admit until 4 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 90165 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime) <= datetime(current_time,'-4 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 90165, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "befd71c080e483f0ef7e2f54"}, {"db_id": "mimic_iii", "question": "when was the last hospital visit until 2101 that patient 10431 was admitted via transfer from hosp/extram?", "template": "when was the last hospital admission time that patient 10431 was admitted via transfer from hosp/extram until 2101?", "query": "select admissions.admittime from admissions where admissions.subject_id = 10431 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) <= '2101' order by admissions.admittime desc limit 1", "value": {"patient_id": 10431, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bdfeba507c5d60f24b340c88"}, {"db_id": "mimic_iii", "question": "when did the first hospital admission time that patient 83038 had been admitted via phys referral/normal deli since 1 year ago?", "template": "when was the first hospital admission time that patient 83038 was admitted via phys referral/normal deli since 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 83038 and admissions.admission_location = 'phys referral/normal deli' and datetime(admissions.admittime) >= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"admission_route": "phys referral/normal deli", "patient_id": 83038}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03bf444821c856e9b94221eb"}, {"db_id": "mimic_iii", "question": "when patient 16329 came to the hospital for the last time via the emergency room admit?", "template": "when was the last hospital admission time that patient 16329 was admitted via emergency room admit?", "query": "select admissions.admittime from admissions where admissions.subject_id = 16329 and admissions.admission_location = 'emergency room admit' order by admissions.admittime desc limit 1", "value": {"patient_id": 16329, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b88897045ccee18b261ed113"}, {"db_id": "mimic_iii", "question": "when has patient 64292 entered the hospital for the first time since 6 years ago via the transfer from hosp/extram?", "template": "when was the first hospital admission time that patient 64292 was admitted via transfer from hosp/extram since 6 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 64292 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime) >= datetime(current_time,'-6 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 64292, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9aaf21815213c8b5c101b686"}, {"db_id": "mimic_iii", "question": "when patient 74624 has come to the hospital via phys referral/normal deli for the last time since 2103?", "template": "when was the last hospital admission time that patient 74624 was admitted via phys referral/normal deli since 2103?", "query": "select admissions.admittime from admissions where admissions.subject_id = 74624 and admissions.admission_location = 'phys referral/normal deli' and strftime('%y',admissions.admittime) >= '2103' order by admissions.admittime desc limit 1", "value": {"patient_id": 74624, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22085b980cdf82a949f31f41"}, {"db_id": "mimic_iii", "question": "when did patient 63700 enter the hospital via clinic referral/premature for the first time until 1 year ago?", "template": "when was the first hospital admission time that patient 63700 was admitted via clinic referral/premature until 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 63700 and admissions.admission_location = 'clinic referral/premature' and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"admission_route": "clinic referral/premature", "patient_id": 63700}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8848d0c03bbee1fc63a588e"}, {"db_id": "mimic_iii", "question": "when did patient 65124 first come into the hospital via the transfer from hosp/extram until 4 years ago?", "template": "when was the first hospital admission time that patient 65124 was admitted via transfer from hosp/extram until 4 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 65124 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime) <= datetime(current_time,'-4 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 65124, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0302bbbdfb31b29ce0ffaff3"}, {"db_id": "mimic_iii", "question": "when did patient 14621 get admitted to the hospital via the er admit since 2105 for the last time?", "template": "when was the last hospital admission time that patient 14621 was admitted via emergency room admit since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 14621 and admissions.admission_location = 'emergency room admit' and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"admission_route": "emergency room admit", "patient_id": 14621}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31a2c594e68038c9a1d0c578"}, {"db_id": "mimic_iii", "question": "when is the first time that patient 7698 was admitted via transfer from hosp/extram since 1 year ago?", "template": "when was the first hospital admission time that patient 7698 was admitted via transfer from hosp/extram since 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 7698 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime) >= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"admission_route": "transfer from hosp/extram", "patient_id": 7698}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "335a2665c0fd017a31b1a7c8"}, {"db_id": "mimic_iii", "question": "when did patient 59941 come to the hospital for the last time until 2104 via an phys referral/normal deli?", "template": "when was the last hospital admission time that patient 59941 was admitted via phys referral/normal deli until 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 59941 and admissions.admission_location = 'phys referral/normal deli' and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 59941, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8fff99ffd4ce5dc0d2efe4be"}, {"db_id": "mimic_iii", "question": "what is the last hospital admission time that patient 32804 was admitted via transfer from hosp/extram since 2105?", "template": "when was the last hospital admission time that patient 32804 was admitted via transfer from hosp/extram since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 32804 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 32804, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c571e050c06db7e93a125d4c"}, {"db_id": "mimic_iii", "question": "when was the first hospital admission that patient 15209 was admitted to via the transfer from hosp/extram in this year?", "template": "when was the first hospital admission time that patient 15209 was admitted via transfer from hosp/extram this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 15209 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 15209, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09887f59819339301ad31b63"}, {"db_id": "mimic_iii", "question": "what was the last time to be admitted into a hospital that patient 7512 was admitted via the er admit until 2101?", "template": "when was the last hospital admission time that patient 7512 was admitted via emergency room admit until 2101?", "query": "select admissions.admittime from admissions where admissions.subject_id = 7512 and admissions.admission_location = 'emergency room admit' and strftime('%y',admissions.admittime) <= '2101' order by admissions.admittime desc limit 1", "value": {"patient_id": 7512, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad7ddbe1c195ed615de6d737"}, {"db_id": "mimic_iii", "question": "when was the last time of admission to the hospital that patient 12572 was accepted through the transfer from hosp/extram in a year before?", "template": "when was the last hospital admission time that patient 12572 was admitted via transfer from hosp/extram last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 12572 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 12572, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f22e1ec0040338a71344244"}, {"db_id": "mimic_iii", "question": "until 2104, when did patient 86206 come to the hospital via the phys referral/normal deli for the first time?", "template": "when was the first hospital admission time that patient 86206 was admitted via phys referral/normal deli until 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 86206 and admissions.admission_location = 'phys referral/normal deli' and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime asc limit 1", "value": {"admission_route": "phys referral/normal deli", "patient_id": 86206}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e1476e4bb428b28bcce75eef"}, {"db_id": "mimic_iii", "question": "when did patient 6580 get admitted to the hospital via the hospital er admit for the last time in 2105?", "template": "when was the last hospital admission time that patient 6580 was admitted via emergency room admit in 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 6580 and admissions.admission_location = 'emergency room admit' and strftime('%y',admissions.admittime) = '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 6580, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-in]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b8089e40b915e77d96c748d"}, {"db_id": "mimic_iii", "question": "when did patient 69761 first come to the hospital this year through the clinic referral/premature?", "template": "when was the first hospital admission time that patient 69761 was admitted via clinic referral/premature this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 69761 and admissions.admission_location = 'clinic referral/premature' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 69761, "admission_route": "clinic referral/premature"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "77b3158f0f6bdcca4c1dcbdb"}, {"db_id": "mimic_iii", "question": "when did patient 12917 come into the hospital through the transfer from hosp/extram since 2103 for the last time?", "template": "when was the last hospital admission time that patient 12917 was admitted via transfer from hosp/extram since 2103?", "query": "select admissions.admittime from admissions where admissions.subject_id = 12917 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) >= '2103' order by admissions.admittime desc limit 1", "value": {"admission_route": "transfer from hosp/extram", "patient_id": 12917}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a50a6f58a1157797487886e7"}, {"db_id": "mimic_iii", "question": "when did patient 19987 come to the hospital via er admit, the last time until 2104?", "template": "when was the last hospital admission time that patient 19987 was admitted via emergency room admit until 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 19987 and admissions.admission_location = 'emergency room admit' and strftime('%y',admissions.admittime) <= '2104' order by admissions.admittime desc limit 1", "value": {"patient_id": 19987, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c89ee9e0583c9e24dfbd8af4"}, {"db_id": "mimic_iii", "question": "what is the first time patient 83894 was admitted through the phys referral/normal deli to the hospital in 2102?", "template": "when was the first hospital admission time that patient 83894 was admitted via phys referral/normal deli in 2102?", "query": "select admissions.admittime from admissions where admissions.subject_id = 83894 and admissions.admission_location = 'phys referral/normal deli' and strftime('%y',admissions.admittime) = '2102' order by admissions.admittime asc limit 1", "value": {"patient_id": 83894, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-in]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ae75f72e966a11568020c87"}, {"db_id": "mimic_iii", "question": "when did patient 18841 get admitted to the hospital for the first time the last year via emergency room admitting?", "template": "when was the first hospital admission time that patient 18841 was admitted via emergency room admit last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 18841 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 18841, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7eda88bbc784054bce239ec6"}, {"db_id": "mimic_iii", "question": "when did patient 54825 be admitted to the hospital via the transfer from skilled nur for the last time a year before?", "template": "when was the last hospital admission time that patient 54825 was admitted via transfer from skilled nur last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 54825 and admissions.admission_location = 'transfer from skilled nur' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"admission_route": "transfer from skilled nur", "patient_id": 54825}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9066072db7c14b5848694e1e"}, {"db_id": "mimic_iii", "question": "when did patient 49369 last get admitted into the hospital via the emergency room admit?", "template": "when was the last hospital admission time that patient 49369 was admitted via emergency room admit?", "query": "select admissions.admittime from admissions where admissions.subject_id = 49369 and admissions.admission_location = 'emergency room admit' order by admissions.admittime desc limit 1", "value": {"patient_id": 49369, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "298020f14d27bae40f4819cb"}, {"db_id": "mimic_iii", "question": "when was the last hospital admission where patient 47460 was admitted through the clinic referral/premature?", "template": "when was the last hospital admission time that patient 47460 was admitted via clinic referral/premature?", "query": "select admissions.admittime from admissions where admissions.subject_id = 47460 and admissions.admission_location = 'clinic referral/premature' order by admissions.admittime desc limit 1", "value": {"patient_id": 47460, "admission_route": "clinic referral/premature"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "903311bd54a16846a42c2072"}, {"db_id": "mimic_iii", "question": "when did patient 21074 come for the last time until 2 years ago via the transfer from hosp/extram into the hospital?", "template": "when was the last hospital admission time that patient 21074 was admitted via transfer from hosp/extram until 2 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 21074 and admissions.admission_location = 'transfer from hosp/extram' and datetime(admissions.admittime) <= datetime(current_time,'-2 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 21074, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca915f4ebeed1cce6aba27be"}, {"db_id": "mimic_iii", "question": "when patient 1819 was admitted to the hospital via the phys referral/normal deli for the last time this year?", "template": "when was the last hospital admission time that patient 1819 was admitted via phys referral/normal deli this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 1819 and admissions.admission_location = 'phys referral/normal deli' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime desc limit 1", "value": {"patient_id": 1819, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f13251032cc402f4f7ab61ac"}, {"db_id": "mimic_iii", "question": "when did patient 13528, for the first time since 2100, get into the hospital via transfer from skilled nur?", "template": "when was the first hospital admission time that patient 13528 was admitted via transfer from skilled nur since 2100?", "query": "select admissions.admittime from admissions where admissions.subject_id = 13528 and admissions.admission_location = 'transfer from skilled nur' and strftime('%y',admissions.admittime) >= '2100' order by admissions.admittime asc limit 1", "value": {"admission_route": "transfer from skilled nur", "patient_id": 13528}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ac2525dafbc6220cfa97369"}, {"db_id": "mimic_iii", "question": "for the first time since 2105, when did patient 31243 enter the hospital via clinic referral/premature?", "template": "when was the first hospital admission time that patient 31243 was admitted via clinic referral/premature since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 31243 and admissions.admission_location = 'clinic referral/premature' and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime asc limit 1", "value": {"admission_route": "clinic referral/premature", "patient_id": 31243}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80c183974a9db431a11e9e7c"}, {"db_id": "mimic_iii", "question": "what was the first hospital admission time that patient 27831 was admitted until 1 year ago via the er admit?", "template": "when was the first hospital admission time that patient 27831 was admitted via emergency room admit until 1 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 27831 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime) <= datetime(current_time,'-1 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 27831, "admission_route": "emergency room admit"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-until]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fcfa007fab659cb800d56ff7"}, {"db_id": "mimic_iii", "question": "when did patient 90663 get admitted into the hospital via clinic referral/premature for the first time during this year?", "template": "when was the first hospital admission time that patient 90663 was admitted via clinic referral/premature this year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 90663 and admissions.admission_location = 'clinic referral/premature' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.admittime asc limit 1", "value": {"patient_id": 90663, "admission_route": "clinic referral/premature"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-this]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5b951f07e26a44a91ac6bf6"}, {"db_id": "mimic_iii", "question": "when did patient 47460 get admitted via clinic referral/premature to the hospital for the last time?", "template": "when was the last hospital admission time that patient 47460 was admitted via clinic referral/premature?", "query": "select admissions.admittime from admissions where admissions.subject_id = 47460 and admissions.admission_location = 'clinic referral/premature' order by admissions.admittime desc limit 1", "value": {"patient_id": 47460, "admission_route": "clinic referral/premature"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9fdc7906e4fe842a4248f662"}, {"db_id": "mimic_iii", "question": "when did patient 22245 enter the hospital via transfer from hosp/extram for the last time since 2105?", "template": "when was the last hospital admission time that patient 22245 was admitted via transfer from hosp/extram since 2105?", "query": "select admissions.admittime from admissions where admissions.subject_id = 22245 and admissions.admission_location = 'transfer from hosp/extram' and strftime('%y',admissions.admittime) >= '2105' order by admissions.admittime desc limit 1", "value": {"patient_id": 22245, "admission_route": "transfer from hosp/extram"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9009b2ee04a8b2316d0a507c"}, {"db_id": "mimic_iii", "question": "when did patient 20441 get admitted to the hospital via the hospital er admit for the last time since 4 years ago?", "template": "when was the last hospital admission time that patient 20441 was admitted via emergency room admit since 4 year ago?", "query": "select admissions.admittime from admissions where admissions.subject_id = 20441 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime) >= datetime(current_time,'-4 year') order by admissions.admittime desc limit 1", "value": {"admission_route": "emergency room admit", "patient_id": 20441}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "384b5d4f1d6bb8085a236c68"}, {"db_id": "mimic_iii", "question": "when did patient 13528 visit the hospital via transfer from skilled nur, the last time since 2104?", "template": "when was the last hospital admission time that patient 13528 was admitted via transfer from skilled nur since 2104?", "query": "select admissions.admittime from admissions where admissions.subject_id = 13528 and admissions.admission_location = 'transfer from skilled nur' and strftime('%y',admissions.admittime) >= '2104' order by admissions.admittime desc limit 1", "value": {"admission_route": "transfer from skilled nur", "patient_id": 13528}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:abs-year-since]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d08e8b171d4b3fa4a754fef5"}, {"db_id": "mimic_iii", "question": "when was the last hospital admission that patient 86206 was admitted via the phys referral/normal deli?", "template": "when was the last hospital admission time that patient 86206 was admitted via phys referral/normal deli?", "query": "select admissions.admittime from admissions where admissions.subject_id = 86206 and admissions.admission_location = 'phys referral/normal deli' order by admissions.admittime desc limit 1", "value": {"patient_id": 86206, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd87997e7b9790edb3e2001c"}, {"db_id": "mimic_iii", "question": "when did the last hospital admission time that patient 5395 had been admitted via phys referral/normal deli?", "template": "when was the last hospital admission time that patient 5395 was admitted via phys referral/normal deli?", "query": "select admissions.admittime from admissions where admissions.subject_id = 5395 and admissions.admission_location = 'phys referral/normal deli' order by admissions.admittime desc limit 1", "value": {"patient_id": 5395, "admission_route": "phys referral/normal deli"}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:null]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d66fb6089df414486c589d8"}, {"db_id": "mimic_iii", "question": "when did patient 7476 come to the hospital via emergency room admit, the last time during the previous year?", "template": "when was the last hospital admission time that patient 7476 was admitted via emergency room admit last year?", "query": "select admissions.admittime from admissions where admissions.subject_id = 7476 and admissions.admission_location = 'emergency room admit' and datetime(admissions.admittime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.admittime desc limit 1", "value": {"admission_route": "emergency room admit", "patient_id": 7476}, "q_tag": "when was the [time_filter_exact1] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital admission time that patient {patient_id} was admitted via {admission_route} [time_filter_global1:rel-year-last]?", "department": "['insurance_review']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ed1ba73db07d1cf7c6ae117"}, {"db_id": "mimic_iii", "question": "what was the last time patient 95088 has had the hospital discharge in the previous year?", "template": "when was the last hospital discharge time of patient 95088 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 95088 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 95088}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20836168f12efc531911dc84"}, {"db_id": "mimic_iii", "question": "when was the first time of hospital discharge of patient 25815 until 2101?", "template": "when was the first hospital discharge time of patient 25815 until 2101?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 25815 and strftime('%y',admissions.dischtime) <= '2101' order by admissions.dischtime asc limit 1", "value": {"patient_id": 25815}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "189fe27f7a90a5de6e83b30b"}, {"db_id": "mimic_iii", "question": "when was patient 28279 discharged for the first time this year?", "template": "when was the first hospital discharge time of patient 28279 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 28279 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 28279}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16ae3d9c882397165475f88f"}, {"db_id": "mimic_iii", "question": "when did patient 14054 get discharged from hospital for the first time since 2105?", "template": "when was the first hospital discharge time of patient 14054 since 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 14054 and strftime('%y',admissions.dischtime) >= '2105' order by admissions.dischtime asc limit 1", "value": {"patient_id": 14054}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5378d928ee1a2fdf5e6372af"}, {"db_id": "mimic_iii", "question": "when did patient 11322's first hospital discharge a year before?", "template": "when was the first hospital discharge time of patient 11322 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 11322 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 11322}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c09daf099ba1d17388671f0"}, {"db_id": "mimic_iii", "question": "when was the first time since 2102 that patient 52598 was discharged from the hospital?", "template": "when was the first hospital discharge time of patient 52598 since 2102?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 52598 and strftime('%y',admissions.dischtime) >= '2102' order by admissions.dischtime asc limit 1", "value": {"patient_id": 52598}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f9f593d120161d98fbe657a"}, {"db_id": "mimic_iii", "question": "when was the first hospital discharge time until 3 years ago for patient 30763?", "template": "when was the first hospital discharge time of patient 30763 until 3 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 30763 and datetime(admissions.dischtime) <= datetime(current_time,'-3 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 30763}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db33e8265d5425c7782aa5e5"}, {"db_id": "mimic_iii", "question": "what's the first hospital discharge time for patient 29666 in a year before?", "template": "when was the first hospital discharge time of patient 29666 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 29666 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 29666}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "228c5a70d02a1f0afb0033f4"}, {"db_id": "mimic_iii", "question": "when was patient 60180 discharged for the first time from the hospital?", "template": "when was the first hospital discharge time of patient 60180?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 60180 order by admissions.dischtime asc limit 1", "value": {"patient_id": 60180}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e80151fdf2fe2a978113352"}, {"db_id": "mimic_iii", "question": "when last patient 96404 was discharged from the hospital?", "template": "when was the last hospital discharge time of patient 96404?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 96404 order by admissions.dischtime desc limit 1", "value": {"patient_id": 96404}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "157cb5c084cd62dc71f1deba"}, {"db_id": "mimic_iii", "question": "until 2101 what was the first hospital discharge time of patient 32592?", "template": "when was the first hospital discharge time of patient 32592 until 2101?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 32592 and strftime('%y',admissions.dischtime) <= '2101' order by admissions.dischtime asc limit 1", "value": {"patient_id": 32592}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c84049db845da66762934fb"}, {"db_id": "mimic_iii", "question": "when was the first hospital discharge of patient 32154 during the previous year?", "template": "when was the first hospital discharge time of patient 32154 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 32154 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 32154}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9595b9aea9ea12734c8c18a3"}, {"db_id": "mimic_iii", "question": "when did patient 51977 last year for the first time leave the hospital?", "template": "when was the first hospital discharge time of patient 51977 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 51977 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 51977}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e136f8538c43a8bae3318a9d"}, {"db_id": "mimic_iii", "question": "when did patient 8103 in 2105 get discharged from the hospital for the first time?", "template": "when was the first hospital discharge time of patient 8103 in 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 8103 and strftime('%y',admissions.dischtime) = '2105' order by admissions.dischtime asc limit 1", "value": {"patient_id": 8103}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96f10a833ec2b98d12ffe969"}, {"db_id": "mimic_iii", "question": "when did patient 24132 leave hospital for the first time in 2105?", "template": "when was the first hospital discharge time of patient 24132 in 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 24132 and strftime('%y',admissions.dischtime) = '2105' order by admissions.dischtime asc limit 1", "value": {"patient_id": 24132}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d133eab0e62e4b084eaeffd9"}, {"db_id": "mimic_iii", "question": "when was patient 7375's first discharge until 2100 from the hospital?", "template": "when was the first hospital discharge time of patient 7375 until 2100?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 7375 and strftime('%y',admissions.dischtime) <= '2100' order by admissions.dischtime asc limit 1", "value": {"patient_id": 7375}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb77768231c8b70c81f7033f"}, {"db_id": "mimic_iii", "question": "when did the first hospital discharge of patient 27463 since 1 year ago?", "template": "when was the first hospital discharge time of patient 27463 since 1 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 27463 and datetime(admissions.dischtime) >= datetime(current_time,'-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 27463}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c2b88275aa1512329cf9a191"}, {"db_id": "mimic_iii", "question": "what was the first time patient 26995 had discharged from hospital since 6 years ago?", "template": "when was the first hospital discharge time of patient 26995 since 6 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 26995 and datetime(admissions.dischtime) >= datetime(current_time,'-6 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 26995}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b2edb9c7ba012a59e32ddf7"}, {"db_id": "mimic_iii", "question": "when did patient 84346 depart hospital since 5 years ago for the first time?", "template": "when was the first hospital discharge time of patient 84346 since 5 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 84346 and datetime(admissions.dischtime) >= datetime(current_time,'-5 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 84346}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8bb3fbfae1a3916ed1e556e4"}, {"db_id": "mimic_iii", "question": "when patient 13622 has left the hospital the first time the last year?", "template": "when was the first hospital discharge time of patient 13622 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 13622 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 13622}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8af9f5589838fa7b645c6c8"}, {"db_id": "mimic_iii", "question": "when was the last time patient 7698 was discharged since 2105 from the hospital?", "template": "when was the last hospital discharge time of patient 7698 since 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 7698 and strftime('%y',admissions.dischtime) >= '2105' order by admissions.dischtime desc limit 1", "value": {"patient_id": 7698}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "431507e16b363b043bf0e334"}, {"db_id": "mimic_iii", "question": "when did patient 25461 last get discharged since 6 years ago from the hospital?", "template": "when was the last hospital discharge time of patient 25461 since 6 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 25461 and datetime(admissions.dischtime) >= datetime(current_time,'-6 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 25461}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09c185c507230d43cc42fe5d"}, {"db_id": "mimic_iii", "question": "when was patient 87605's last discharge from the hospital?", "template": "when was the last hospital discharge time of patient 87605?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 87605 order by admissions.dischtime desc limit 1", "value": {"patient_id": 87605}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52452b7651cf5672b7cd7f58"}, {"db_id": "mimic_iii", "question": "what was the last hospital discharge time of patient 75170 until 2104.", "template": "when was the last hospital discharge time of patient 75170 until 2104?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 75170 and strftime('%y',admissions.dischtime) <= '2104' order by admissions.dischtime desc limit 1", "value": {"patient_id": 75170}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "881b0ae35f8864839b0f0e0a"}, {"db_id": "mimic_iii", "question": "when did patient 47216 for the first time since 1 year ago get discharged from the hospital?", "template": "when was the first hospital discharge time of patient 47216 since 1 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 47216 and datetime(admissions.dischtime) >= datetime(current_time,'-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 47216}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "703af2a7d6fe687d6f61f22a"}, {"db_id": "mimic_iii", "question": "when did patient 26849 for the first time leave the hospital during the previous year?", "template": "when was the first hospital discharge time of patient 26849 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 26849 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 26849}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "663938fa44c5a16642f583a5"}, {"db_id": "mimic_iii", "question": "when did patient 70645 leave the hospital the first time in the last year?", "template": "when was the first hospital discharge time of patient 70645 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 70645 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 70645}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5492f6ba3b30a3f2a66b8eae"}, {"db_id": "mimic_iii", "question": "when patient 7959 first left the hospital since 2105?", "template": "when was the first hospital discharge time of patient 7959 since 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 7959 and strftime('%y',admissions.dischtime) >= '2105' order by admissions.dischtime asc limit 1", "value": {"patient_id": 7959}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33c38163505f4c0a2412021b"}, {"db_id": "mimic_iii", "question": "when did patient 10211 since 2104 leave the hospital for the last time?", "template": "when was the last hospital discharge time of patient 10211 since 2104?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 10211 and strftime('%y',admissions.dischtime) >= '2104' order by admissions.dischtime desc limit 1", "value": {"patient_id": 10211}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37aa0af39ed80430c9a85040"}, {"db_id": "mimic_iii", "question": "when was patient 14982's last discharge since 2104?", "template": "when was the last hospital discharge time of patient 14982 since 2104?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 14982 and strftime('%y',admissions.dischtime) >= '2104' order by admissions.dischtime desc limit 1", "value": {"patient_id": 14982}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "609987901af8dbf27b49515c"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 48706 was discharged from the hospital since 2104?", "template": "when was the first hospital discharge time of patient 48706 since 2104?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 48706 and strftime('%y',admissions.dischtime) >= '2104' order by admissions.dischtime asc limit 1", "value": {"patient_id": 48706}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e38e97c30ca8b8bb4df210f"}, {"db_id": "mimic_iii", "question": "in 2103 what was patient 67481's first hospital discharge time?", "template": "when was the first hospital discharge time of patient 67481 in 2103?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 67481 and strftime('%y',admissions.dischtime) = '2103' order by admissions.dischtime asc limit 1", "value": {"patient_id": 67481}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a917564fd71c076be70c87f3"}, {"db_id": "mimic_iii", "question": "when patient 65759 was last discharged during this year from the hospital?", "template": "when was the last hospital discharge time of patient 65759 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 65759 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 65759}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e20c6240382f205c6f083f5"}, {"db_id": "mimic_iii", "question": "when was the last time in 2105 patient 12274 was discharged from the hospital.", "template": "when was the last hospital discharge time of patient 12274 in 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 12274 and strftime('%y',admissions.dischtime) = '2105' order by admissions.dischtime desc limit 1", "value": {"patient_id": 12274}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0f5301e1d96410341cf16460"}, {"db_id": "mimic_iii", "question": "when did patient 20166 since 3 years ago first get discharged from the hospital?", "template": "when was the first hospital discharge time of patient 20166 since 3 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 20166 and datetime(admissions.dischtime) >= datetime(current_time,'-3 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 20166}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "db94f16306f5ade6250178b5"}, {"db_id": "mimic_iii", "question": "when patient 31615 was first discharged from the hospital since 1 year ago?", "template": "when was the first hospital discharge time of patient 31615 since 1 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 31615 and datetime(admissions.dischtime) >= datetime(current_time,'-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 31615}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "98f87e1ec656e11f29705150"}, {"db_id": "mimic_iii", "question": "when was the last time patient 76886 was discharged from hospital until 3 years ago?", "template": "when was the last hospital discharge time of patient 76886 until 3 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 76886 and datetime(admissions.dischtime) <= datetime(current_time,'-3 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 76886}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7aa5643d37f99b91784aaace"}, {"db_id": "mimic_iii", "question": "what was the time patient 13686 was discharged from the hospital for the first time during this year?", "template": "when was the first hospital discharge time of patient 13686 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 13686 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 13686}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "29a191d330153b06f29d9725"}, {"db_id": "mimic_iii", "question": "when was the last time patient 76637 was discharged since 2102?", "template": "when was the last hospital discharge time of patient 76637 since 2102?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 76637 and strftime('%y',admissions.dischtime) >= '2102' order by admissions.dischtime desc limit 1", "value": {"patient_id": 76637}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f5197f91dc44b00fe79fe480"}, {"db_id": "mimic_iii", "question": "when was patient 91249 discharged from the hospital in the last year for the last time?", "template": "when was the last hospital discharge time of patient 91249 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 91249 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 91249}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef770e9c61a09a83b0f3cbd0"}, {"db_id": "mimic_iii", "question": "when was patient 162 last discharged last year from the hospital?", "template": "when was the last hospital discharge time of patient 162 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 162 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 162}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "94eb3ab837f779a8c3cc10fb"}, {"db_id": "mimic_iii", "question": "what was the first time patient 13703 had discharged from hospital?", "template": "when was the first hospital discharge time of patient 13703?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 13703 order by admissions.dischtime asc limit 1", "value": {"patient_id": 13703}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de13c5dbe470c4fcac68a92e"}, {"db_id": "mimic_iii", "question": "when was patient 83079 discharged for the last time since 2100?", "template": "when was the last hospital discharge time of patient 83079 since 2100?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 83079 and strftime('%y',admissions.dischtime) >= '2100' order by admissions.dischtime desc limit 1", "value": {"patient_id": 83079}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f9a49356e7e622d81073b31"}, {"db_id": "mimic_iii", "question": "when was patient 64136 discharged for the first time from the hospital in 2102?", "template": "when was the first hospital discharge time of patient 64136 in 2102?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 64136 and strftime('%y',admissions.dischtime) = '2102' order by admissions.dischtime asc limit 1", "value": {"patient_id": 64136}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0db9964979900d5920490654"}, {"db_id": "mimic_iii", "question": "when did patient 9299 in this year last get discharged from the hospital?", "template": "when was the last hospital discharge time of patient 9299 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 9299 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 9299}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7894a69b6da1a94eaeb3079e"}, {"db_id": "mimic_iii", "question": "when first patient 10765 was discharged from the hospital?", "template": "when was the first hospital discharge time of patient 10765?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 10765 order by admissions.dischtime asc limit 1", "value": {"patient_id": 10765}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "95e72536a74da6242ecc063a"}, {"db_id": "mimic_iii", "question": "when was patient 47127's first discharge from the hospital until 2103?", "template": "when was the first hospital discharge time of patient 47127 until 2103?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 47127 and strftime('%y',admissions.dischtime) <= '2103' order by admissions.dischtime asc limit 1", "value": {"patient_id": 47127}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c7ae1955af6be25b0786bc87"}, {"db_id": "mimic_iii", "question": "when was patient 75658 discharged from the hospital in the previous year for the first time?", "template": "when was the first hospital discharge time of patient 75658 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 75658 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 75658}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7278bcd70fc3dea70a7b05e1"}, {"db_id": "mimic_iii", "question": "when was patient 57023's first discharge from the hospital in 2105?", "template": "when was the first hospital discharge time of patient 57023 in 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 57023 and strftime('%y',admissions.dischtime) = '2105' order by admissions.dischtime asc limit 1", "value": {"patient_id": 57023}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "886b25734ff1c0840296e0bb"}, {"db_id": "mimic_iii", "question": "when did patient 30228 leave the hospital the first time since 2105?", "template": "when was the first hospital discharge time of patient 30228 since 2105?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 30228 and strftime('%y',admissions.dischtime) >= '2105' order by admissions.dischtime asc limit 1", "value": {"patient_id": 30228}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc0d03341d06f975d1524f94"}, {"db_id": "mimic_iii", "question": "what was the last time patient 20801 has had the hospital discharge until 2104?", "template": "when was the last hospital discharge time of patient 20801 until 2104?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 20801 and strftime('%y',admissions.dischtime) <= '2104' order by admissions.dischtime desc limit 1", "value": {"patient_id": 20801}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e7ab949679549006293ef784"}, {"db_id": "mimic_iii", "question": "when was the last hospital discharge of patient 15821 in this year?", "template": "when was the last hospital discharge time of patient 15821 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 15821 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 15821}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "267967f0b775783d7452d7f3"}, {"db_id": "mimic_iii", "question": "when was patient 67005's first discharge from the hospital the last year?", "template": "when was the first hospital discharge time of patient 67005 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 67005 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 67005}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "535ecfe0f1b33e05e9ccf374"}, {"db_id": "mimic_iii", "question": "what was the time patient 89840 was discharged from the hospital for the last time until 2104?", "template": "when was the last hospital discharge time of patient 89840 until 2104?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 89840 and strftime('%y',admissions.dischtime) <= '2104' order by admissions.dischtime desc limit 1", "value": {"patient_id": 89840}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8f89b800cf78bb978fa51d2e"}, {"db_id": "mimic_iii", "question": "when did the first hospital discharge of patient 14621 in this year?", "template": "when was the first hospital discharge time of patient 14621 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 14621 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 14621}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "02f8f3ec1a93ed29cf5dc0ab"}, {"db_id": "mimic_iii", "question": "when did patient 12307 since 5 years ago for the last time leave the hospital?", "template": "when was the last hospital discharge time of patient 12307 since 5 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 12307 and datetime(admissions.dischtime) >= datetime(current_time,'-5 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 12307}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca7be9733bfa735bfe8e1e3d"}, {"db_id": "mimic_iii", "question": "when patient 17505 was last discharged from the hospital until 4 years ago?", "template": "when was the last hospital discharge time of patient 17505 until 4 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 17505 and datetime(admissions.dischtime) <= datetime(current_time,'-4 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 17505}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "209c5b269d73214e2d1b5511"}, {"db_id": "mimic_iii", "question": "when was the first time of hospital discharge of patient 83358 until 2104?", "template": "when was the first hospital discharge time of patient 83358 until 2104?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 83358 and strftime('%y',admissions.dischtime) <= '2104' order by admissions.dischtime asc limit 1", "value": {"patient_id": 83358}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b7f93aa5cc0f3dd72c1303a"}, {"db_id": "mimic_iii", "question": "when was patient 27599's last discharge from the hospital until 3 years ago?", "template": "when was the last hospital discharge time of patient 27599 until 3 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 27599 and datetime(admissions.dischtime) <= datetime(current_time,'-3 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 27599}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "156f1c948810970af2ccfe6c"}, {"db_id": "mimic_iii", "question": "when was patient 74392 discharged from the hospital until 2102 for the last time?", "template": "when was the last hospital discharge time of patient 74392 until 2102?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 74392 and strftime('%y',admissions.dischtime) <= '2102' order by admissions.dischtime desc limit 1", "value": {"patient_id": 74392}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a8fa03f7d8d481b2aaa856c"}, {"db_id": "mimic_iii", "question": "when did patient 23721 depart hospital this year for the last time?", "template": "when was the last hospital discharge time of patient 23721 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 23721 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 23721}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "396bf4113b9aba68ca051c26"}, {"db_id": "mimic_iii", "question": "when last patient 8016 was discharged from the hospital since 6 years ago?", "template": "when was the last hospital discharge time of patient 8016 since 6 year ago?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 8016 and datetime(admissions.dischtime) >= datetime(current_time,'-6 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 8016}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e7a5b4d852d235b5cc0889f2"}, {"db_id": "mimic_iii", "question": "when did patient 18677 depart hospital in the previous year for the first time?", "template": "when was the first hospital discharge time of patient 18677 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 18677 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 18677}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1dc0c726d5cbcb44210a0401"}, {"db_id": "mimic_iii", "question": "when was patient 19691 discharged for the first time from the hospital?", "template": "when was the first hospital discharge time of patient 19691?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 19691 order by admissions.dischtime asc limit 1", "value": {"patient_id": 19691}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f25601cd05fab3136be0d002"}, {"db_id": "mimic_iii", "question": "when did patient 28966 depart hospital until 2103 for the first time?", "template": "when was the first hospital discharge time of patient 28966 until 2103?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 28966 and strftime('%y',admissions.dischtime) <= '2103' order by admissions.dischtime asc limit 1", "value": {"patient_id": 28966}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd85506ee9456c1e0a418876"}, {"db_id": "mimic_iii", "question": "when was the last time patient 2514 was discharged?", "template": "when was the last hospital discharge time of patient 2514?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 2514 order by admissions.dischtime desc limit 1", "value": {"patient_id": 2514}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3807d3692b94c7a4e5bba6b2"}, {"db_id": "mimic_iii", "question": "when patient 31696 has left the hospital the last time in a year before?", "template": "when was the last hospital discharge time of patient 31696 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 31696 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 31696}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f13a07df1f16110eced1f236"}, {"db_id": "mimic_iii", "question": "when patient 15257 was first discharged last year from the hospital?", "template": "when was the first hospital discharge time of patient 15257 last year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 15257 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-1 year') order by admissions.dischtime asc limit 1", "value": {"patient_id": 15257}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70967fccdc62b217c8fc9e2b"}, {"db_id": "mimic_iii", "question": "when patient 27599 has left the hospital the last time?", "template": "when was the last hospital discharge time of patient 27599?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 27599 order by admissions.dischtime desc limit 1", "value": {"patient_id": 27599}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:null]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b8f4ccd6659f3efd36a400f"}, {"db_id": "mimic_iii", "question": "when was patient 22295 first discharged since 2101 from the hospital?", "template": "when was the first hospital discharge time of patient 22295 since 2101?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 22295 and strftime('%y',admissions.dischtime) >= '2101' order by admissions.dischtime asc limit 1", "value": {"patient_id": 22295}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] hospital discharge time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cad6491ce230ec970e09f8f"}, {"db_id": "mimic_iii", "question": "when did patient 3929 this year last get discharged from the hospital?", "template": "when was the last hospital discharge time of patient 3929 this year?", "query": "select admissions.dischtime from admissions where admissions.subject_id = 3929 and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year') order by admissions.dischtime desc limit 1", "value": {"patient_id": 3929}, "q_tag": "when was the [time_filter_exact1] hospital discharge time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] hospital discharge time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['other', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "41d70925f0be00306942fcc4"}, {"db_id": "mimic_iii", "question": "what is the length of patient 55843's stay at the first intensive care unit stay?", "template": "what was the first length of icu stay of patient 55843?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55843 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 55843}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed0cf2aa16475886338b589d"}, {"db_id": "mimic_iii", "question": "how long was the last stay in the intensive care unit of patient 86556?", "template": "what was the last length of icu stay of patient 86556?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86556 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 86556}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99932dcf2f1bcd9f5e1793e5"}, {"db_id": "mimic_iii", "question": "calculate the length of patient 28484's stay at the first intensive care unit stay.", "template": "what was the first length of icu stay of patient 28484?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 28484}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81c9fb315c5be9a9a9ba2392"}, {"db_id": "mimic_iii", "question": "tell me the length of stay of patient 99661's last stay at the icu.", "template": "what was the last length of icu stay of patient 99661?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99661 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 99661}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f416dd811db5068549df118e"}, {"db_id": "mimic_iii", "question": "calculate patient 24547's duration of stay of the last stay in the icu.", "template": "what was the last length of icu stay of patient 24547?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24547 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 24547}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59604e00863ebf477534c619"}, {"db_id": "mimic_iii", "question": "what's patient 15119's length of stay in the last icu stay?", "template": "what was the last length of icu stay of patient 15119?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15119 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 15119}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc31ae323dbd9cf87e9b46a9"}, {"db_id": "mimic_iii", "question": "what is patient 72107's length of stay in the icu for the first time?", "template": "what was the first length of icu stay of patient 72107?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72107 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 72107}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a17b8c662153129b9bc419b5"}, {"db_id": "mimic_iii", "question": "show me the duration of patient 86556's last stay in the icu.", "template": "what was the last length of icu stay of patient 86556?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86556 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 86556}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b0af2bf4876c827966f7599"}, {"db_id": "mimic_iii", "question": "calculate the duration of stay of the first intensive care unit stay of patient 5520.", "template": "what was the first length of icu stay of patient 5520?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5520 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 5520}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "019dcd437b264ed37f434353"}, {"db_id": "mimic_iii", "question": "tell me patient 20000's length of stay of the last stay in the icu.", "template": "what was the last length of icu stay of patient 20000?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20000 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 20000}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2fa7229039e77fb9fdf29742"}, {"db_id": "mimic_iii", "question": "how long was patient 6215's last hospital stay in the icu?", "template": "what was the last length of icu stay of patient 6215?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6215 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 6215}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf35e57deac17486f50c1686"}, {"db_id": "mimic_iii", "question": "how long was the last hospital stay of patient 8324 in the icu?", "template": "what was the last length of icu stay of patient 8324?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8324 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 8324}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f177d07bedffe65d69d2484b"}, {"db_id": "mimic_iii", "question": "how long patient 73423's first stay was in the intensive care unit?", "template": "what was the first length of icu stay of patient 73423?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73423 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 73423}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8e0af4661661bb1bdb493ef"}, {"db_id": "mimic_iii", "question": "show me the length of stay of patient 18877 from the first stay in the icu.", "template": "what was the first length of icu stay of patient 18877?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18877 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 18877}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ccf7a01356bba02ffab47aa4"}, {"db_id": "mimic_iii", "question": "tell me the length of the last stay of patient 12938 in the icu.", "template": "what was the last length of icu stay of patient 12938?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12938 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 12938}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4507d4f046e83029fe2c6c24"}, {"db_id": "mimic_iii", "question": "what was the length of stay of patient 72107 during the first intensive care unit stay?", "template": "what was the first length of icu stay of patient 72107?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72107 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 72107}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ac67a1dc2863785f14fa298"}, {"db_id": "mimic_iii", "question": "calculate the duration of stay during patient 6374's last stay in the intensive care unit.", "template": "what was the last length of icu stay of patient 6374?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6374 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 6374}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10dbb72e00bf1fb65af65487"}, {"db_id": "mimic_iii", "question": "tell me the length of time of patient 28484's last stay in icu.", "template": "what was the last length of icu stay of patient 28484?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 28484}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0b27e7cf9d8c013f7434940"}, {"db_id": "mimic_iii", "question": "calculate the duration of patient 6374's stay in the last icu.", "template": "what was the last length of icu stay of patient 6374?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6374 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 6374}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec87ead737ed564f0040d9f7"}, {"db_id": "mimic_iii", "question": "how long was patient 43959's last stay at the icu?", "template": "what was the last length of icu stay of patient 43959?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43959 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 43959}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "91c865e00013a8b0bb0a9b89"}, {"db_id": "mimic_iii", "question": "calculate patient 15119's length of stay in the icu for the last time.", "template": "what was the last length of icu stay of patient 15119?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15119 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 15119}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aec44a6fe636477a3905a011"}, {"db_id": "mimic_iii", "question": "calculate the length of stay of patient 4269's last stay in the intensive care unit for.", "template": "what was the last length of icu stay of patient 4269?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4269 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 4269}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34c74353bc91b2c195ac1380"}, {"db_id": "mimic_iii", "question": "calculate patient 95470's stay length of the first stay in the icu.", "template": "what was the first length of icu stay of patient 95470?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95470 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 95470}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63178140185df7dce87c80d4"}, {"db_id": "mimic_iii", "question": "how long was the last time patient 67687 was in intensive care?", "template": "what was the last length of icu stay of patient 67687?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67687 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 67687}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56adfc569c608ba07c0d9b7b"}, {"db_id": "mimic_iii", "question": "give me the length of stay of patient 28484 during his last stay in the icu.", "template": "what was the last length of icu stay of patient 28484?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 28484}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "385095391203b896da2c1d4a"}, {"db_id": "mimic_iii", "question": "tell me the duration of patient 20000's last stay in the intensive care unit.", "template": "what was the last length of icu stay of patient 20000?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20000 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 20000}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3356aebbd061c6fe69512892"}, {"db_id": "mimic_iii", "question": "give me the duration of the last stay of patient 28484 in the icu.", "template": "what was the last length of icu stay of patient 28484?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28484 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 28484}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0a7f51e55bb45639132e6f0"}, {"db_id": "mimic_iii", "question": "give me the length of stay of patient 8324's last stay in the icu.", "template": "what was the last length of icu stay of patient 8324?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8324 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 8324}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "07b78c45630030dd017ced64"}, {"db_id": "mimic_iii", "question": "how long is the last stay of patient 16992 in the icu?", "template": "what was the last length of icu stay of patient 16992?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16992 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 16992}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d41219fc93af46bfe01ccdae"}, {"db_id": "mimic_iii", "question": "show me the length of time patient 15119 was in the icu for the last time.", "template": "what was the last length of icu stay of patient 15119?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15119 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 15119}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c9723c1f16a846f941d48b4"}, {"db_id": "mimic_iii", "question": "tell me the length of stay of patient 42905's last stay in the icu.", "template": "what was the last length of icu stay of patient 42905?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42905 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 42905}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "552f499856c94c5efd52cde6"}, {"db_id": "mimic_iii", "question": "calculate the length of patient 13995's first stay in icu.", "template": "what was the first length of icu stay of patient 13995?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13995 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 13995}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9aa0d938d23805a5cd126023"}, {"db_id": "mimic_iii", "question": "calculate the length of the hospital stay of patient 16248's first icu stay.", "template": "what was the first length of icu stay of patient 16248?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16248 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 16248}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "10e249affe741ebe4cb6db45"}, {"db_id": "mimic_iii", "question": "calculate the length of patient 4092's first stay in icu.", "template": "what was the first length of icu stay of patient 4092?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4092 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 4092}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a513e794e0921239be910404"}, {"db_id": "mimic_iii", "question": "what's patient 17944's length of stay in the last icu stay?", "template": "what was the last length of icu stay of patient 17944?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17944 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 17944}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd4ef23948ebca95992d89cc"}, {"db_id": "mimic_iii", "question": "tell me the length of time of patient 8324's last stay in icu.", "template": "what was the last length of icu stay of patient 8324?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8324 ) and icustays.outtime is not null order by icustays.intime desc limit 1", "value": {"patient_id": 8324}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-last] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b7832ee8064b29d6b466bf6"}, {"db_id": "mimic_iii", "question": "what is patient 16472's length of stay in the icu for the first time?", "template": "what was the first length of icu stay of patient 16472?", "query": "select strftime('%j',icustays.outtime) - strftime('%j',icustays.intime) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16472 ) and icustays.outtime is not null order by icustays.intime asc limit 1", "value": {"patient_id": 16472}, "q_tag": "what was the [time_filter_exact1] length of icu stay of patient {patient_id}?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "what was the [time_filter_exact1:exact-first] length of icu stay of patient {patient_id}?", "department": "['-']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc1c3a63b26f1341f76e5a77"}, {"db_id": "mimic_iii", "question": "when did patient 62918 first receive an nb obsrv suspct infect diagnosis when they visited the hospital first time?", "template": "when was the first time that patient 62918 was diagnosed with nb obsrv suspct infect on the first hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'nb obsrv suspct infect' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62918 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 62918, "diagnosis_name": "nb obsrv suspct infect"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7788339bacbe7345d2d87e4e"}, {"db_id": "mimic_iii", "question": "when did patient 83182 last get diagnosed with need prphyl vc vrl hepat during the current hospital visit?", "template": "when was the last time that patient 83182 was diagnosed with need prphyl vc vrl hepat on the current hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'need prphyl vc vrl hepat' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 83182, "diagnosis_name": "need prphyl vc vrl hepat"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e658a7de0b82ede171a438b1"}, {"db_id": "mimic_iii", "question": "when was the first time patient 64185 was diagnosed with long-term use anticoagul?", "template": "when was the first time that patient 64185 was diagnosed with long-term use anticoagul?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'long-term use anticoagul' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64185 ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 64185, "diagnosis_name": "long-term use anticoagul"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b772c9c5ba5a9384267802f"}, {"db_id": "mimic_iii", "question": "first time patient 9833 was diagnosed with dermatitis nos in this year?", "template": "when was the first time that patient 9833 was diagnosed with dermatitis nos this year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dermatitis nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9833 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "dermatitis nos", "patient_id": 9833}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4c768c1bcdce38ac7ebbe7d"}, {"db_id": "mimic_iii", "question": "when was first time patient 5142 was diagnosed in this year with delirium d/t other cond?", "template": "when was the first time that patient 5142 was diagnosed with delirium d/t other cond this year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'delirium d/t other cond' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 5142, "diagnosis_name": "delirium d/t other cond"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "653439c3cc81e42acab2b012"}, {"db_id": "mimic_iii", "question": "when was the first time during the last year that patient 19040 was diagnosed with aphasia?", "template": "when was the first time that patient 19040 was diagnosed with aphasia last year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'aphasia' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19040 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "aphasia", "patient_id": 19040}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "376abb3ce5f9d661e0db0f24"}, {"db_id": "mimic_iii", "question": "when they came to the hospital first time, when was the last time that patient 75762 was diagnosed with obstructive sleep apnea?", "template": "when was the last time that patient 75762 was diagnosed with obstructive sleep apnea on the first hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'obstructive sleep apnea' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 75762 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 75762, "diagnosis_name": "obstructive sleep apnea"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b6ae3a35228a72361080a462"}, {"db_id": "mimic_iii", "question": "when was patient 19059's first diagnosis time for renal dialysis encounter?", "template": "when was the first time that patient 19059 was diagnosed with renal dialysis encounter?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'renal dialysis encounter' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "renal dialysis encounter", "patient_id": 19059}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d59d3d9262ffac7c86b6acc"}, {"db_id": "mimic_iii", "question": "when was the first time patient 15945 had open wound of scalp in the current hospital visit diagnosed?", "template": "when was the first time that patient 15945 was diagnosed with open wound of scalp on the current hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'open wound of scalp' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 15945, "diagnosis_name": "open wound of scalp"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f882a191b7a79f973ec703f6"}, {"db_id": "mimic_iii", "question": "tell me the first time that patient 64136 has been diagnosed with dermatophytosis of body in their first hospital visit?", "template": "when was the first time that patient 64136 was diagnosed with dermatophytosis of body on the first hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dermatophytosis of body' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64136 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "dermatophytosis of body", "patient_id": 64136}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da52f66cddcd2e9bbcdeabe7"}, {"db_id": "mimic_iii", "question": "what is patient 82132 first diagnosis time of schizoaffective dis nos during the current hospital visit?", "template": "when was the first time that patient 82132 was diagnosed with schizoaffective dis nos on the current hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'schizoaffective dis nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "schizoaffective dis nos", "patient_id": 82132}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c3155d8269edc7109e69790"}, {"db_id": "mimic_iii", "question": "when did patient 52018 receive a last diagnosis of other staphylococcus on the last hospital encounter?", "template": "when was the last time that patient 52018 was diagnosed with other staphylococcus on the last hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'other staphylococcus' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52018 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "other staphylococcus", "patient_id": 52018}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9435a66aa4102af5815cf9b2"}, {"db_id": "mimic_iii", "question": "when patient 32804 was first diagnosed with foreign body in larynx in 2105?", "template": "when was the first time that patient 32804 was diagnosed with foreign body in larynx in 2105?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'foreign body in larynx' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32804 ) and strftime('%y',diagnoses_icd.charttime) = '2105' order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "foreign body in larynx", "patient_id": 32804}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "59e77296f855f87b06e9a749"}, {"db_id": "mimic_iii", "question": "what was the first chr syst/diastl hrt fail diagnosis time of patient 87232 in the current hospital visit?", "template": "when was the first time that patient 87232 was diagnosed with chr syst/diastl hrt fail on the current hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chr syst/diastl hrt fail' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "chr syst/diastl hrt fail", "patient_id": 87232}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b89b309535da398c553ac538"}, {"db_id": "mimic_iii", "question": "what was patient 25814's first diagnosis of brain condition nos time on this hospital visit?", "template": "when was the first time that patient 25814 was diagnosed with brain condition nos on the current hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'brain condition nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "brain condition nos", "patient_id": 25814}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d50c3c1655d77739b4cc7df"}, {"db_id": "mimic_iii", "question": "when was the first time that in 2104 patient 8245 was diagnosed with hypotension nos.", "template": "when was the first time that patient 8245 was diagnosed with hypotension nos in 2104?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hypotension nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8245 ) and strftime('%y',diagnoses_icd.charttime) = '2104' order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 8245, "diagnosis_name": "hypotension nos"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c458838b9a389520136f558"}, {"db_id": "mimic_iii", "question": "when was the last time patient 70950 was diagnosed with hemopericardium until 2104?", "template": "when was the last time that patient 70950 was diagnosed with hemopericardium until 2104?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hemopericardium' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70950 ) and strftime('%y',diagnoses_icd.charttime) <= '2104' order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "hemopericardium", "patient_id": 70950}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ebaaaf1990ede210a4533e8e"}, {"db_id": "mimic_iii", "question": "when was patient 67468 first diagnosed in 2105 with pressure ulcer, stage iv?", "template": "when was the first time that patient 67468 was diagnosed with pressure ulcer, stage iv in 2105?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pressure ulcer, stage iv' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67468 ) and strftime('%y',diagnoses_icd.charttime) = '2105' order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "pressure ulcer, stage iv", "patient_id": 67468}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d2759318973ada19758015a8"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 17694 was diagnosed with 31-32 comp wks gestation?", "template": "when was the last time that patient 17694 was diagnosed with 31-32 comp wks gestation?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = '31-32 comp wks gestation' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17694 ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "31-32 comp wks gestation", "patient_id": 17694}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58674b7ff15f3d9be3000088"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 44625 was diagnosed with a mv collision nos-driver during the first hospital visit?", "template": "when was the last time that patient 44625 was diagnosed with mv collision nos-driver on the first hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mv collision nos-driver' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 44625 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "mv collision nos-driver", "patient_id": 44625}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9750e375801ac9ee5b96dfc"}, {"db_id": "mimic_iii", "question": "what was patient 1912 first diagnosis time of peritoneal abscess during the previous year.", "template": "when was the first time that patient 1912 was diagnosed with peritoneal abscess last year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'peritoneal abscess' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1912 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 1912, "diagnosis_name": "peritoneal abscess"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fc1a576ff1dca02da376ab1f"}, {"db_id": "mimic_iii", "question": "the last time patient 14413 was diagnosed since 2105 with dieulafoy les,stom&duod?", "template": "when was the last time that patient 14413 was diagnosed with dieulafoy les,stom&duod since 2105?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dieulafoy les,stom&duod' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14413 ) and strftime('%y',diagnoses_icd.charttime) >= '2105' order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 14413, "diagnosis_name": "dieulafoy les,stom&duod"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "babf6948df9a57310ae9d660"}, {"db_id": "mimic_iii", "question": "when was patient 12572 since 4 years ago last diagnosed with ileostomy status?", "template": "when was the last time that patient 12572 was diagnosed with ileostomy status since 4 year ago?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ileostomy status' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12572 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-4 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "ileostomy status", "patient_id": 12572}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1643be8f2bc2c2397961ec47"}, {"db_id": "mimic_iii", "question": "when did patient 24364 first receive a diagnosis of hypovolemia when they came to the hospital first time?", "template": "when was the first time that patient 24364 was diagnosed with hypovolemia on the first hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'hypovolemia' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24364 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 24364, "diagnosis_name": "hypovolemia"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25ee580432fbda1752295253"}, {"db_id": "mimic_iii", "question": "when did patient 90369 first have a diagnosis of psoriatic arthropathy?", "template": "when was the first time that patient 90369 was diagnosed with psoriatic arthropathy?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'psoriatic arthropathy' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90369 ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 90369, "diagnosis_name": "psoriatic arthropathy"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fefb54983adef91704c896fb"}, {"db_id": "mimic_iii", "question": "when was patient 53176's first diagnosis time this year for lack of coordination?", "template": "when was the first time that patient 53176 was diagnosed with lack of coordination this year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'lack of coordination' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53176 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "lack of coordination", "patient_id": 53176}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0d5e95c87cbaf3f56a137af"}, {"db_id": "mimic_iii", "question": "what is patient 25814 last diagnosis time of long-term use meds nec since 2105?", "template": "when was the last time that patient 25814 was diagnosed with long-term use meds nec since 2105?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'long-term use meds nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) and strftime('%y',diagnoses_icd.charttime) >= '2105' order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "long-term use meds nec", "patient_id": 25814}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aefce1cf84a249c6f2245085"}, {"db_id": "mimic_iii", "question": "when was the first time this year that patient 49141 was diagnosed with chronic cholecystitis?", "template": "when was the first time that patient 49141 was diagnosed with chronic cholecystitis this year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chronic cholecystitis' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49141 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "chronic cholecystitis", "patient_id": 49141}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3e1beafb714b0970681ce37"}, {"db_id": "mimic_iii", "question": "when was patient 12568 this year last diagnosed with anemia of prematurity?", "template": "when was the last time that patient 12568 was diagnosed with anemia of prematurity this year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'anemia of prematurity' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12568 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 12568, "diagnosis_name": "anemia of prematurity"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b14d280c68fb598382e5c8be"}, {"db_id": "mimic_iii", "question": "last time patient 60014 was diagnosed with persist postop fistula until 2102?", "template": "when was the last time that patient 60014 was diagnosed with persist postop fistula until 2102?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'persist postop fistula' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60014 ) and strftime('%y',diagnoses_icd.charttime) <= '2102' order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "persist postop fistula", "patient_id": 60014}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4aa3dda9c0a76dab092398d8"}, {"db_id": "mimic_iii", "question": "when was first time patient 93571 was diagnosed in the first hospital encounter with dmi keto nt st uncntrld?", "template": "when was the first time that patient 93571 was diagnosed with dmi keto nt st uncntrld on the first hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'dmi keto nt st uncntrld' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93571 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "dmi keto nt st uncntrld", "patient_id": 93571}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d8c5131ed23396dfbf226cd"}, {"db_id": "mimic_iii", "question": "since 6 years ago, when was the last time that patient 18677 was diagnosed with stomatits & mucosits nec?", "template": "when was the last time that patient 18677 was diagnosed with stomatits & mucosits nec since 6 year ago?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'stomatits & mucosits nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-6 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "stomatits & mucosits nec", "patient_id": 18677}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "346b3819a7dad79c9aee5b9b"}, {"db_id": "mimic_iii", "question": "the last time patient 27362 was diagnosed in the last year with alkalosis?", "template": "when was the last time that patient 27362 was diagnosed with alkalosis last year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'alkalosis' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "alkalosis", "patient_id": 27362}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1798601c6c6c6c32da043dd"}, {"db_id": "mimic_iii", "question": "what was patient 51577's first diagnosis of crnry athrscl natve vssl time during their first hospital visit?", "template": "when was the first time that patient 51577 was diagnosed with crnry athrscl natve vssl on the first hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'crnry athrscl natve vssl' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51577 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 51577, "diagnosis_name": "crnry athrscl natve vssl"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cff9a1ab25a82bf9ae3c719e"}, {"db_id": "mimic_iii", "question": "last time patient 29741 was diagnosed with mineralcorticoid defcnt since 4 years ago?", "template": "when was the last time that patient 29741 was diagnosed with mineralcorticoid defcnt since 4 year ago?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mineralcorticoid defcnt' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29741 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-4 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "mineralcorticoid defcnt", "patient_id": 29741}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53b38ba1bd217b18386fad44"}, {"db_id": "mimic_iii", "question": "when did patient 1205 receive a first diagnosis of twin-mate lb-in hos w cs since 4 years ago?", "template": "when was the first time that patient 1205 was diagnosed with twin-mate lb-in hos w cs since 4 year ago?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'twin-mate lb-in hos w cs' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1205 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-4 year') order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "twin-mate lb-in hos w cs", "patient_id": 1205}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3bd67be18cbe73ec9ab0c22f"}, {"db_id": "mimic_iii", "question": "in the previous year, when was the last time that patient 23858 was diagnosed with mult mye w/o achv rmson?", "template": "when was the last time that patient 23858 was diagnosed with mult mye w/o achv rmson last year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'mult mye w/o achv rmson' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "mult mye w/o achv rmson", "patient_id": 23858}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ddeb674ce7f237f89081f784"}, {"db_id": "mimic_iii", "question": "when was patient 10624 on this hospital encounter last diagnosed with cardiac tamponade?", "template": "when was the last time that patient 10624 was diagnosed with cardiac tamponade on the current hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cardiac tamponade' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1", "value": {"patient_id": 10624, "diagnosis_name": "cardiac tamponade"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b72fd78fdb66d041ec3a3ad"}, {"db_id": "mimic_iii", "question": "when was the first time that since 2104 patient 24971 was diagnosed with lumbar disc displacement.", "template": "when was the first time that patient 24971 was diagnosed with lumbar disc displacement since 2104?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'lumbar disc displacement' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24971 ) and strftime('%y',diagnoses_icd.charttime) >= '2104' order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 24971, "diagnosis_name": "lumbar disc displacement"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "61c84d5d56c1a4499c5929fd"}, {"db_id": "mimic_iii", "question": "when was the first time patient 11579 was since 2105 diagnosed with gastrojejunal ulcer nos?", "template": "when was the first time that patient 11579 was diagnosed with gastrojejunal ulcer nos since 2105?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'gastrojejunal ulcer nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11579 ) and strftime('%y',diagnoses_icd.charttime) >= '2105' order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "gastrojejunal ulcer nos", "patient_id": 11579}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "82a83c01f2fa6a9f6fcfc75d"}, {"db_id": "mimic_iii", "question": "tell me the first time that patient 60595 has been diagnosed with bladder/urethra inj-clos when they visited the hospital last time?", "template": "when was the first time that patient 60595 was diagnosed with bladder/urethra inj-clos on the last hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'bladder/urethra inj-clos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60595 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime asc limit 1", "value": {"diagnosis_name": "bladder/urethra inj-clos", "patient_id": 60595}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "601269adbbea7af050e41d0a"}, {"db_id": "mimic_iii", "question": "when did patient 26175 last get diagnosed with intussusception during this year?", "template": "when was the last time that patient 26175 was diagnosed with intussusception this year?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'intussusception' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26175 ) and datetime(diagnoses_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "intussusception", "patient_id": 26175}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "328d4fbfbd50ca35bc578824"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 43735 was diagnosed with a status-post ptca until 1 year ago?", "template": "when was the last time that patient 43735 was diagnosed with status-post ptca until 1 year ago?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'status-post ptca' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43735 ) and datetime(diagnoses_icd.charttime) <= datetime(current_time,'-1 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "status-post ptca", "patient_id": 43735}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b27649056ac5e2292e03a37a"}, {"db_id": "mimic_iii", "question": "when did patient 96842 first have a diagnosis of pleural effusion nos during the last hospital visit?", "template": "when was the first time that patient 96842 was diagnosed with pleural effusion nos on the last hospital visit?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'pleural effusion nos' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96842 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by diagnoses_icd.charttime asc limit 1", "value": {"patient_id": 96842, "diagnosis_name": "pleural effusion nos"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96ba59d537bcde06c597ca56"}, {"db_id": "mimic_iii", "question": "what is patient 81840 last diagnosis time of cocaine abuse-continuous since 4 years ago?", "template": "when was the last time that patient 81840 was diagnosed with cocaine abuse-continuous since 4 year ago?", "query": "select diagnoses_icd.charttime from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'cocaine abuse-continuous' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81840 ) and datetime(diagnoses_icd.charttime) >= datetime(current_time,'-4 year') order by diagnoses_icd.charttime desc limit 1", "value": {"diagnosis_name": "cocaine abuse-continuous", "patient_id": 81840}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was diagnosed with {diagnosis_name} [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d50d93425a3d556846fbc325"}, {"db_id": "mimic_iii", "question": "last time patient 4758 got surgery on the last hospital encounter?", "template": "when was the last procedure time of patient 4758 on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4758 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 4758}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bbec080466fc854e69cc0cfe"}, {"db_id": "mimic_iii", "question": "when did during the last year patient 64873 receive a first procedure?", "template": "when was the first procedure time of patient 64873 last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64873 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 64873}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1df28133ccb048e35374bda1"}, {"db_id": "mimic_iii", "question": "what was patient 3710's first operation time since 1 year ago?", "template": "when was the first procedure time of patient 3710 since 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3710 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 3710}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e51124ebfff803dc96e31c02"}, {"db_id": "mimic_iii", "question": "what was the last operation time in this year for patient 47216?", "template": "when was the last procedure time of patient 47216 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47216 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 47216}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "25320e3af98f97b90fd78d50"}, {"db_id": "mimic_iii", "question": "what's the first time patient 81783 has had a procedure?", "template": "when was the first procedure time of patient 81783?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81783 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 81783}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28d748e6fe66ccf635d194ac"}, {"db_id": "mimic_iii", "question": "when was the last procedure patient 63049 had this year?", "template": "when was the last procedure time of patient 63049 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63049 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 63049}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f01a97a1921104584c82acef"}, {"db_id": "mimic_iii", "question": "when is the first procedure time of patient 12797 in 2102?", "template": "when was the first procedure time of patient 12797 in 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12797 ) and strftime('%y',procedures_icd.charttime) = '2102' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 12797}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d5362dd83c99861279e20a9"}, {"db_id": "mimic_iii", "question": "when did patient 16248 get the procedure for the first time on the first hospital visit.", "template": "when was the first procedure time of patient 16248 on the first hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16248 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 16248}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cd0ff13546630da06b787671"}, {"db_id": "mimic_iii", "question": "when was the last time patient 74159 had surgery on the last hospital encounter?", "template": "when was the last procedure time of patient 74159 on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74159 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 74159}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "827a4c1f7592cc6b43ec8f22"}, {"db_id": "mimic_iii", "question": "when is the first procedure patient 29971 received until 2103?", "template": "when was the first procedure time of patient 29971 until 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29971 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 29971}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6afbf62323ea011e40c88289"}, {"db_id": "mimic_iii", "question": "since 2103, when did patient 27656 receive a procedure for the first time?", "template": "when was the first procedure time of patient 27656 since 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27656 ) and strftime('%y',procedures_icd.charttime) >= '2103' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 27656}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "827811d9df69d9531777aea8"}, {"db_id": "mimic_iii", "question": "when was patient 20693's first operation since 3 years ago?", "template": "when was the first procedure time of patient 20693 since 3 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20693 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-3 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 20693}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff21f185623912d492fdf6af"}, {"db_id": "mimic_iii", "question": "during the last year what was the first procedure time for patient 29806?", "template": "when was the first procedure time of patient 29806 last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29806 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 29806}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0fa0c6ffaf12aa38eff7f8fe"}, {"db_id": "mimic_iii", "question": "when did patient 19144 first undergo the procedure in this year?", "template": "when was the first procedure time of patient 19144 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19144 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 19144}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32c5754a0a3793c1ba776e01"}, {"db_id": "mimic_iii", "question": "when patient 85169 first received a procedure until 2102?", "template": "when was the first procedure time of patient 85169 until 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85169 ) and strftime('%y',procedures_icd.charttime) <= '2102' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 85169}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2edb28236f0083a930b27024"}, {"db_id": "mimic_iii", "question": "what was the first procedure time patient 31880 went through in 2104?", "template": "when was the first procedure time of patient 31880 in 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 ) and strftime('%y',procedures_icd.charttime) = '2104' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 31880}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4603423dde7e8088d4959e9d"}, {"db_id": "mimic_iii", "question": "when did patient 99135 have a last procedure during their first hospital visit?", "template": "when was the last procedure time of patient 99135 on the first hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99135 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 99135}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6befefa4e50afc9350735e7b"}, {"db_id": "mimic_iii", "question": "when patient 18841 the last year first received a procedure?", "template": "when was the first procedure time of patient 18841 last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18841 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 18841}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "347290ab11c35acc5a4d08e7"}, {"db_id": "mimic_iii", "question": "what was the last procedure time patient 54390 has had in 2102?", "template": "when was the last procedure time of patient 54390 in 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54390 ) and strftime('%y',procedures_icd.charttime) = '2102' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 54390}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f0b9ff79894716bc9a2c6e36"}, {"db_id": "mimic_iii", "question": "when did patient 27362 receive the first procedure in the first hospital encounter?", "template": "when was the first procedure time of patient 27362 on the first hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 27362}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f39bf5b99a7f7d3e32c3efb7"}, {"db_id": "mimic_iii", "question": "when until 2100 patient 19059 received for the first time a procedure?", "template": "when was the first procedure time of patient 19059 until 2100?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 ) and strftime('%y',procedures_icd.charttime) <= '2100' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 19059}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6f9b491f27b68e022880bd20"}, {"db_id": "mimic_iii", "question": "when was the first time on the first hospital visit that patient 20441 had a procedure?", "template": "when was the first procedure time of patient 20441 on the first hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 20441}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b76401afe57644b35cc3804"}, {"db_id": "mimic_iii", "question": "when patient 28966 last got surgery in 2100.", "template": "when was the last procedure time of patient 28966 in 2100?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 ) and strftime('%y',procedures_icd.charttime) = '2100' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 28966}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bb99dd771abb4423a4ac4f8"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 32163 received a procedure in the last hospital visit?", "template": "when was the last procedure time of patient 32163 on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32163 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 32163}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1c05d286a92b51837cfeac77"}, {"db_id": "mimic_iii", "question": "first time patient 2514 got a procedure since 2103?", "template": "when was the first procedure time of patient 2514 since 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2514 ) and strftime('%y',procedures_icd.charttime) >= '2103' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 2514}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b3c268717b850cec2a57f6b1"}, {"db_id": "mimic_iii", "question": "when was the first time patient 11914's procedure was performed this year?", "template": "when was the first procedure time of patient 11914 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11914 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 11914}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb8257d803127438777ab6f1"}, {"db_id": "mimic_iii", "question": "what was the last operation time of patient 61003 on their last hospital visit?", "template": "when was the last procedure time of patient 61003 on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61003 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 61003}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5529f7e9656a1664ad151c0a"}, {"db_id": "mimic_iii", "question": "when patient 22295 first got an operation?", "template": "when was the first procedure time of patient 22295?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22295 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 22295}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d0f0d5c6284e5639e09b00d"}, {"db_id": "mimic_iii", "question": "when did patient 26777 receive procedures for the last time since 1 year ago?", "template": "when was the last procedure time of patient 26777 since 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26777 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-1 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 26777}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f8852775c1e8c66495fe7e0"}, {"db_id": "mimic_iii", "question": "when was the last time in 2104 patient 42905 had surgery?", "template": "when was the last procedure time of patient 42905 in 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42905 ) and strftime('%y',procedures_icd.charttime) = '2104' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 42905}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39bfe55fb0a6f48c21447a06"}, {"db_id": "mimic_iii", "question": "when had patient 50286 during the previous year get the first procedure?", "template": "when was the first procedure time of patient 50286 last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 50286 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 50286}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5c01482669e93ecd50a2e8ef"}, {"db_id": "mimic_iii", "question": "when patient 65467 received a procedure for the last time?", "template": "when was the last procedure time of patient 65467?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65467 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 65467}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17b8dfe9904b53e853f3378c"}, {"db_id": "mimic_iii", "question": "when was patient 12885 given a procedure for the first time in the last hospital encounter?", "template": "when was the first procedure time of patient 12885 on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12885 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 12885}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f818dc51d30191a8a1621ef2"}, {"db_id": "mimic_iii", "question": "when did the last procedure time of patient 25723 until 2104?", "template": "when was the last procedure time of patient 25723 until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25723 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 25723}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "57fd4155151d06c2265ac19a"}, {"db_id": "mimic_iii", "question": "when has patient 85027 last received a procedure since 2105?", "template": "when was the last procedure time of patient 85027 since 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85027 ) and strftime('%y',procedures_icd.charttime) >= '2105' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 85027}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd3cb66bca36658511cf0120"}, {"db_id": "mimic_iii", "question": "when was the last time for patient 49036 procedure when they visited the hospital last time?", "template": "when was the last procedure time of patient 49036 on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49036 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 49036}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d1e717df4d0d2fac12cfb1c3"}, {"db_id": "mimic_iii", "question": "when did first patient 17953 receive a procedure until 2102?", "template": "when was the first procedure time of patient 17953 until 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17953 ) and strftime('%y',procedures_icd.charttime) <= '2102' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 17953}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4066aef6977402b60351857b"}, {"db_id": "mimic_iii", "question": "when did patient 73652 receive a procedure until 1 year ago last?", "template": "when was the last procedure time of patient 73652 until 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73652 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-1 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 73652}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e632576b5814b52b234084c7"}, {"db_id": "mimic_iii", "question": "when did patient 25523 first undergo a surgery the previous year?", "template": "when was the first procedure time of patient 25523 last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25523 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 25523}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a3245b5bb68294334be91d3"}, {"db_id": "mimic_iii", "question": "when did patient 61591 have his or her first surgical procedure since 1 year ago?", "template": "when was the first procedure time of patient 61591 since 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61591 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 61591}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f604cb3c9c27e5cc00cdb6eb"}, {"db_id": "mimic_iii", "question": "what's the last time patient 2498 has had a procedure until 1 year ago?", "template": "when was the last procedure time of patient 2498 until 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2498 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-1 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 2498}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "913aa3ceca05ab98adbc4ada"}, {"db_id": "mimic_iii", "question": "when is the first procedure time of patient 74624 in 2105?", "template": "when was the first procedure time of patient 74624 in 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74624 ) and strftime('%y',procedures_icd.charttime) = '2105' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 74624}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "daad57ab158c8d723f8f5fe3"}, {"db_id": "mimic_iii", "question": "when is the first procedure time of patient 51177 in this year?", "template": "when was the first procedure time of patient 51177 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 51177}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bf2b9819880446967af29a9"}, {"db_id": "mimic_iii", "question": "last time patient 7519 got surgery until 2101?", "template": "when was the last procedure time of patient 7519 until 2101?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7519 ) and strftime('%y',procedures_icd.charttime) <= '2101' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 7519}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c28e8184fa8e3b074b919323"}, {"db_id": "mimic_iii", "question": "what's the first time patient 90019 has had a procedure since 2101?", "template": "when was the first procedure time of patient 90019 since 2101?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90019 ) and strftime('%y',procedures_icd.charttime) >= '2101' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 90019}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb3a5236273049ef89ec0eca"}, {"db_id": "mimic_iii", "question": "when in a year before patient 26995 received for the last time a procedure?", "template": "when was the last procedure time of patient 26995 last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26995 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 26995}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31a80f6b4bd56f473fc21003"}, {"db_id": "mimic_iii", "question": "when was the last time for patient 77586 procedure in this year?", "template": "when was the last procedure time of patient 77586 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77586 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 77586}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e238716a4e8ed0ec018a75ca"}, {"db_id": "mimic_iii", "question": "when in 2103 patient 3516 received for the first time a procedure?", "template": "when was the first procedure time of patient 3516 in 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3516 ) and strftime('%y',procedures_icd.charttime) = '2103' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 3516}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "996c2f8c7f9c47d94f5bd107"}, {"db_id": "mimic_iii", "question": "when did patient 58932 have a last procedure?", "template": "when was the last procedure time of patient 58932?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58932 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 58932}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64897a60196775b56d9c1d8e"}, {"db_id": "mimic_iii", "question": "when is the first procedure patient 52018 received in 2104?", "template": "when was the first procedure time of patient 52018 in 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52018 ) and strftime('%y',procedures_icd.charttime) = '2104' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 52018}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54dee09fcbc27b8136e2d05a"}, {"db_id": "mimic_iii", "question": "when was the first time patient 83225 had surgery?", "template": "when was the first procedure time of patient 83225?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83225 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 83225}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd748ae1f2a8756e3fc3689a"}, {"db_id": "mimic_iii", "question": "when patient 26286 first received a procedure in this year?", "template": "when was the first procedure time of patient 26286 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26286 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 26286}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea62c0343ce167543ac89d46"}, {"db_id": "mimic_iii", "question": "what was the last procedure time patient 26995 went through since 5 years ago?", "template": "when was the last procedure time of patient 26995 since 5 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26995 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-5 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 26995}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45cb9d5ed1c198c5d1b44ac9"}, {"db_id": "mimic_iii", "question": "when did patient 73713 receive procedures for the first time during this year?", "template": "when was the first procedure time of patient 73713 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 73713}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "23fdb899b7ea0e273783704d"}, {"db_id": "mimic_iii", "question": "when did last patient 83358 receive a procedure in the last hospital visit?", "template": "when was the last procedure time of patient 83358 on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83358 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 83358}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c33ab8989a1be03aeecd8b45"}, {"db_id": "mimic_iii", "question": "when patient 3403 first got surgery in 2105.", "template": "when was the first procedure time of patient 3403 in 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and strftime('%y',procedures_icd.charttime) = '2105' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 3403}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb1ad3bb354854f810315eb8"}, {"db_id": "mimic_iii", "question": "when is the first procedure patient 29540 received in 2101?", "template": "when was the first procedure time of patient 29540 in 2101?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29540 ) and strftime('%y',procedures_icd.charttime) = '2101' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 29540}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3f633cb3a417a00c895e722e"}, {"db_id": "mimic_iii", "question": "when had patient 46484 in 2103 get the last procedure?", "template": "when was the last procedure time of patient 46484 in 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 46484 ) and strftime('%y',procedures_icd.charttime) = '2103' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 46484}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eda69db56e180e78869adf34"}, {"db_id": "mimic_iii", "question": "what was patient 90917's last operation time?", "template": "when was the last procedure time of patient 90917?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90917 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 90917}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a30054ebdb6ff20eda1794a4"}, {"db_id": "mimic_iii", "question": "when patient 77053 received for the last time a procedure?", "template": "when was the last procedure time of patient 77053?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77053 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 77053}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb511f962d17a1a88e84cd00"}, {"db_id": "mimic_iii", "question": "what was the last procedure time patient 26817 has had since 2 years ago?", "template": "when was the last procedure time of patient 26817 since 2 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-2 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 26817}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3f8ef26187d972f59f821ec3"}, {"db_id": "mimic_iii", "question": "when was the last time in 2102 that patient 20332 had a procedure?", "template": "when was the last procedure time of patient 20332 in 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20332 ) and strftime('%y',procedures_icd.charttime) = '2102' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 20332}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1adc3974a6fef2ee2590e84f"}, {"db_id": "mimic_iii", "question": "when did patient 43735 last undergo a surgery since 2102?", "template": "when was the last procedure time of patient 43735 since 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43735 ) and strftime('%y',procedures_icd.charttime) >= '2102' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 43735}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:abs-year-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "925f580175cef85ddf309362"}, {"db_id": "mimic_iii", "question": "when did patient 20165 first undergo the procedure until 2100?", "template": "when was the first procedure time of patient 20165 until 2100?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20165 ) and strftime('%y',procedures_icd.charttime) <= '2100' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 20165}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c07700e37e03b25aca7c900"}, {"db_id": "mimic_iii", "question": "when did the last procedure time of patient 18841 the previous year?", "template": "when was the last procedure time of patient 18841 last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18841 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 18841}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a461a383f66fd82450a727e4"}, {"db_id": "mimic_iii", "question": "when patient 5553 until 1 year ago last received a procedure?", "template": "when was the last procedure time of patient 5553 until 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5553 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-1 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 5553}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d56f9b8d343b3526fc23f3e"}, {"db_id": "mimic_iii", "question": "when was the first time for patient 23969 procedure in this year?", "template": "when was the first procedure time of patient 23969 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23969 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 23969}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d4271dc1b9ee2d2b46bbf01"}, {"db_id": "mimic_iii", "question": "what was the first operation time in 2105 for patient 73693?", "template": "when was the first procedure time of patient 73693 in 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73693 ) and strftime('%y',procedures_icd.charttime) = '2105' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 73693}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "124177a4c2722df4060f5e00"}, {"db_id": "mimic_iii", "question": "when patient 85407 first received a procedure?", "template": "when was the first procedure time of patient 85407?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85407 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 85407}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2844ab431e647eecd3949d3"}, {"db_id": "mimic_iii", "question": "when until 2102 patient 44625 received for the first time a procedure?", "template": "when was the first procedure time of patient 44625 until 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 44625 ) and strftime('%y',procedures_icd.charttime) <= '2102' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 44625}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbbf8167236e5f00d6855d19"}, {"db_id": "mimic_iii", "question": "first time patient 26156 got surgery until 2104?", "template": "when was the first procedure time of patient 26156 until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26156 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 26156}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] procedure time of patient {patient_id} [time_filter_global1:abs-year-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb62c84fd3bb8f82b5be2a73"}, {"db_id": "mimic_iii", "question": "what was the last procedure time patient 25951 went through in this year?", "template": "when was the last procedure time of patient 25951 this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25951 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 25951}, "q_tag": "when was the [time_filter_exact1] procedure time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] procedure time of patient {patient_id} [time_filter_global1:rel-year-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "75289ecd1e7f5a0e874e845d"}, {"db_id": "mimic_iii", "question": "what was the last excision of joint nec procedure time of patient 2334 in 2103?", "template": "when was the last time that patient 2334 received a excision of joint nec procedure in 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'excision of joint nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2334 ) and strftime('%y',procedures_icd.charttime) = '2103' order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "excision of joint nec", "patient_id": 2334}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a687b8d46450d51dd6d23b9a"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 58649 has received lt heart angiocardiogram in the previous year?", "template": "when was the first time that patient 58649 received a lt heart angiocardiogram procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lt heart angiocardiogram' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58649 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 58649, "procedure_name": "lt heart angiocardiogram"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "edb62121bc52c39fdf8fa5f9"}, {"db_id": "mimic_iii", "question": "the first time patient 67902 received int inser lead atri-vent until 2104?", "template": "when was the first time that patient 67902 received a int inser lead atri-vent procedure until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'int inser lead atri-vent' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67902 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 67902, "procedure_name": "int inser lead atri-vent"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62c2a829343ed892144ee317"}, {"db_id": "mimic_iii", "question": "when was the first time a egd with closed biopsy procedure was given to patient 26757?", "template": "when was the first time that patient 26757 received a egd with closed biopsy procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'egd with closed biopsy' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26757 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 26757, "procedure_name": "egd with closed biopsy"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "774ba1f1ba6b55b4e8dddef7"}, {"db_id": "mimic_iii", "question": "when did the last time patient 7073 had a parent infus nutrit sub performed during the previous year?", "template": "when was the last time that patient 7073 received a parent infus nutrit sub procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'parent infus nutrit sub' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7073 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 7073, "procedure_name": "parent infus nutrit sub"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "66183fc2f660ee9c2be618ad"}, {"db_id": "mimic_iii", "question": "what was the first procedure time of the revision of pedicle grft of patient 2004?", "template": "when was the first time that patient 2004 received a revision of pedicle grft procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'revision of pedicle grft' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2004 ) order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "revision of pedicle grft", "patient_id": 2004}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "283c2198ffcacb3f71065d24"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 10431 until 2103 had received a insert endotracheal tube?", "template": "when was the first time that patient 10431 received a insert endotracheal tube procedure until 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'insert endotracheal tube' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10431 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 10431, "procedure_name": "insert endotracheal tube"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "956463b191b2c1337fe3e357"}, {"db_id": "mimic_iii", "question": "when is the last time in 2103 that patient 6440 received incision of chest wall?", "template": "when was the last time that patient 6440 received a incision of chest wall procedure in 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'incision of chest wall' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6440 ) and strftime('%y',procedures_icd.charttime) = '2103' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 6440, "procedure_name": "incision of chest wall"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b150d38c52b20e1970fe1b07"}, {"db_id": "mimic_iii", "question": "what was the first procedure time of open reduc-int fix femur for patient 63676 in 2105?", "template": "when was the first time that patient 63676 received a open reduc-int fix femur procedure in 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'open reduc-int fix femur' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63676 ) and strftime('%y',procedures_icd.charttime) = '2105' order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "open reduc-int fix femur", "patient_id": 63676}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9ae89feac519949448c4380"}, {"db_id": "mimic_iii", "question": "when did on their first hospital visit patient 31880 first receive therapeu plasmapheresis?", "template": "when was the first time that patient 31880 received a therapeu plasmapheresis procedure on the first hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'therapeu plasmapheresis' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "therapeu plasmapheresis", "patient_id": 31880}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d4b3c82bbb2fcf2e873ec9f"}, {"db_id": "mimic_iii", "question": "when was the last time patient 97677 receive a cholangiogram nec procedure this year?", "template": "when was the last time that patient 97677 received a cholangiogram nec procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cholangiogram nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97677 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 97677, "procedure_name": "cholangiogram nec"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "89ccf6472b08f8464eb10e82"}, {"db_id": "mimic_iii", "question": "when patient 9297 received manual reduction hernia first in this year?", "template": "when was the first time that patient 9297 received a manual reduction hernia procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'manual reduction hernia' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9297 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "manual reduction hernia", "patient_id": 9297}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dc24f0243dbda031fc78a358"}, {"db_id": "mimic_iii", "question": "when was the first time patient 56201 had a procedure of destruct ext ear les nec since 2 years ago?", "template": "when was the first time that patient 56201 received a destruct ext ear les nec procedure since 2 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'destruct ext ear les nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56201 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-2 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "destruct ext ear les nec", "patient_id": 56201}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cf1ebf1ea9749c49fdcc161"}, {"db_id": "mimic_iii", "question": "when did patient 52898 receive a gastric tube irrigat nec procedure for the first time since 2105?", "template": "when was the first time that patient 52898 received a gastric tube irrigat nec procedure since 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'gastric tube irrigat nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) and strftime('%y',procedures_icd.charttime) >= '2105' order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "gastric tube irrigat nec", "patient_id": 52898}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a959159eb4e0de6cd2de3d13"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 12885 was given a other phototherapy procedure during the previous year?", "template": "when was the first time that patient 12885 received a other phototherapy procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'other phototherapy' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12885 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 12885, "procedure_name": "other phototherapy"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "11784449827de06844c78478"}, {"db_id": "mimic_iii", "question": "when did patient 61339 last receive a ven cath renal dialysis, until 3 years ago?", "template": "when was the last time that patient 61339 received a ven cath renal dialysis procedure until 3 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'ven cath renal dialysis' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61339 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-3 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 61339, "procedure_name": "ven cath renal dialysis"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d02514ffaacd7f4c511177a0"}, {"db_id": "mimic_iii", "question": "when is the first time patient 433 a year before received 1 int mam-cor art bypass.", "template": "when was the first time that patient 433 received a 1 int mam-cor art bypass procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = '1 int mam-cor art bypass' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 433, "procedure_name": "1 int mam-cor art bypass"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39b6acaa4720fb58d7d666ac"}, {"db_id": "mimic_iii", "question": "when did patient 77987 receive venous cath nec the first time a year before?", "template": "when was the first time that patient 77987 received a venous cath nec procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'venous cath nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77987 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 77987, "procedure_name": "venous cath nec"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "088c50f4eac826d0bd119f29"}, {"db_id": "mimic_iii", "question": "when was patient 89202's last procedure time for opn/oth rep mtrl vlv-tis until 3 years ago?", "template": "when was the last time that patient 89202 received a opn/oth rep mtrl vlv-tis procedure until 3 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'opn/oth rep mtrl vlv-tis' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89202 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-3 year') order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "opn/oth rep mtrl vlv-tis", "patient_id": 89202}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "007d83bf7445009794110aea"}, {"db_id": "mimic_iii", "question": "when was the last time patient 24517 received rt heart angiocardiogram's until 2103?", "template": "when was the last time that patient 24517 received a rt heart angiocardiogram procedure until 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'rt heart angiocardiogram' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24517 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 24517, "procedure_name": "rt heart angiocardiogram"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d80343975babf7a23536a29"}, {"db_id": "mimic_iii", "question": "when did patient 92063 received last cont inv mec ven <96 hrs?", "template": "when was the last time that patient 92063 received a cont inv mec ven <96 hrs procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven <96 hrs' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92063 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 92063, "procedure_name": "cont inv mec ven <96 hrs"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37a9a28d5c66f14048f9fd80"}, {"db_id": "mimic_iii", "question": "when patient 67902 had the first closed bronchial biopsy until 2100?", "template": "when was the first time that patient 67902 received a closed bronchial biopsy procedure until 2100?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'closed bronchial biopsy' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67902 ) and strftime('%y',procedures_icd.charttime) <= '2100' order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "closed bronchial biopsy", "patient_id": 67902}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b123cfdd2cb5c688c416a771"}, {"db_id": "mimic_iii", "question": "when was the last time that during the last year patient 64881 received interruption vena cava procedure?", "template": "when was the last time that patient 64881 received a interruption vena cava procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'interruption vena cava' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64881 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "interruption vena cava", "patient_id": 64881}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7b5af61f33a0dc1b00285826"}, {"db_id": "mimic_iii", "question": "when is the last time that patient 42396 has received a venous cath nec until 4 years ago?", "template": "when was the last time that patient 42396 received a venous cath nec procedure until 4 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'venous cath nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42396 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-4 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 42396, "procedure_name": "venous cath nec"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fbfb1342997fe709d5f9a0cf"}, {"db_id": "mimic_iii", "question": "when was the first time in which patient 92721 received a dx ultrasound-heart procedure since 2105?", "template": "when was the first time that patient 92721 received a dx ultrasound-heart procedure since 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'dx ultrasound-heart' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92721 ) and strftime('%y',procedures_icd.charttime) >= '2105' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 92721, "procedure_name": "dx ultrasound-heart"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b7f14ce52afd38a1d132acd3"}, {"db_id": "mimic_iii", "question": "when's the last time that patient 65838 had a excision intervert disc in the last hospital visit?", "template": "when was the last time that patient 65838 received a excision intervert disc procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'excision intervert disc' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65838 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "excision intervert disc", "patient_id": 65838}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e33da1f4175dcf323188e23"}, {"db_id": "mimic_iii", "question": "what was the last perc ins carotid stent time of patient 88409?", "template": "when was the last time that patient 88409 received a perc ins carotid stent procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'perc ins carotid stent' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88409 ) order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "perc ins carotid stent", "patient_id": 88409}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aed8fc7b95d90cfced4bb808"}, {"db_id": "mimic_iii", "question": "when was the first time patient 5561 received the procedure of left heart cardiac cath since 2103?", "template": "when was the first time that patient 5561 received a left heart cardiac cath procedure since 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'left heart cardiac cath' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5561 ) and strftime('%y',procedures_icd.charttime) >= '2103' order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "left heart cardiac cath", "patient_id": 5561}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3dd7776a1cbc81892ebf8d57"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 7742 had a esophagoscopy nec performed until 2104?", "template": "when was the last time that patient 7742 received a esophagoscopy nec procedure until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'esophagoscopy nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7742 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "esophagoscopy nec", "patient_id": 7742}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "add8020342a4afb508d17edc"}, {"db_id": "mimic_iii", "question": "what was the first procedure time of patient 41393 for spinal tap until 2103?", "template": "when was the first time that patient 41393 received a spinal tap procedure until 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'spinal tap' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41393 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 41393, "procedure_name": "spinal tap"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6836908e2c441b988f57a387"}, {"db_id": "mimic_iii", "question": "when was the last time patient 54825 during the last hospital visit received a rt/left heart card cath procedure?", "template": "when was the last time that patient 54825 received a rt/left heart card cath procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'rt/left heart card cath' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 54825, "procedure_name": "rt/left heart card cath"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df7dd949e140f3549aef6ca1"}, {"db_id": "mimic_iii", "question": "when patient 73595 first received exc/dest intvrt disc nos until 2104?", "template": "when was the first time that patient 73595 received a exc/dest intvrt disc nos procedure until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'exc/dest intvrt disc nos' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73595 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "exc/dest intvrt disc nos", "patient_id": 73595}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee70fca5e3deacce94e42bf6"}, {"db_id": "mimic_iii", "question": "when was the last time the last year that patient 9338 received the procedure of surg tooth extract nec?", "template": "when was the last time that patient 9338 received a surg tooth extract nec procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'surg tooth extract nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9338 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "surg tooth extract nec", "patient_id": 9338}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "39b8826c136b79293dfd2f76"}, {"db_id": "mimic_iii", "question": "what was the first procedure time of patient 31325 in the previous year for excision thyroid lesion?", "template": "when was the first time that patient 31325 received a excision thyroid lesion procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'excision thyroid lesion' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31325 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "excision thyroid lesion", "patient_id": 31325}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09bf0490b8d0ee2383101acf"}, {"db_id": "mimic_iii", "question": "until 1 year ago what was the first procedure time of muscle or fascia graft for patient 19352?", "template": "when was the first time that patient 19352 received a muscle or fascia graft procedure until 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'muscle or fascia graft' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19352 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-1 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "muscle or fascia graft", "patient_id": 19352}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4e561607740cf756fb6bd83"}, {"db_id": "mimic_iii", "question": "when was the last time in this year patient 2489 had received a periph nerve transposit?", "template": "when was the last time that patient 2489 received a periph nerve transposit procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'periph nerve transposit' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2489 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 2489, "procedure_name": "periph nerve transposit"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e11bb5c59bd1a126d958b9e"}, {"db_id": "mimic_iii", "question": "what was the first time patient 17435 had oth periton adhesiolysis's performed until 2 years ago?", "template": "when was the first time that patient 17435 received a oth periton adhesiolysis procedure until 2 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'oth periton adhesiolysis' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17435 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-2 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 17435, "procedure_name": "oth periton adhesiolysis"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8a0b09fceca825b0f528655a"}, {"db_id": "mimic_iii", "question": "when did patient 27465 receive the first laparoscopy treatment this year?", "template": "when was the first time that patient 27465 received a laparoscopy procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'laparoscopy' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27465 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "laparoscopy", "patient_id": 27465}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9bb812fcb27663f346edac99"}, {"db_id": "mimic_iii", "question": "when was the last time in 2105 that patient 4900 received a endo emb hd/nk,bare coil treatment?", "template": "when was the last time that patient 4900 received a endo emb hd/nk,bare coil procedure in 2105?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'endo emb hd/nk,bare coil' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4900 ) and strftime('%y',procedures_icd.charttime) = '2105' order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "endo emb hd/nk,bare coil", "patient_id": 4900}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "724a45b13ffe2aac1cdbc8c4"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 433 received the cl fx reduc-int fix nec procedure since 5 years ago?", "template": "when was the first time that patient 433 received a cl fx reduc-int fix nec procedure since 5 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cl fx reduc-int fix nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-5 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "cl fx reduc-int fix nec", "patient_id": 433}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "850f5f308370c966247d51b7"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 49036 received a procedure of sm bowel endoscopy nec until 2104?", "template": "when was the last time that patient 49036 received a sm bowel endoscopy nec procedure until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'sm bowel endoscopy nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49036 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 49036, "procedure_name": "sm bowel endoscopy nec"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17c215056839c6923d8d359d"}, {"db_id": "mimic_iii", "question": "when was the last time patient 4684 received the procedure for a loc exc bone lesion nec in 2102?", "template": "when was the last time that patient 4684 received a loc exc bone lesion nec procedure in 2102?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'loc exc bone lesion nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4684 ) and strftime('%y',procedures_icd.charttime) = '2102' order by procedures_icd.charttime desc limit 1", "value": {"patient_id": 4684, "procedure_name": "loc exc bone lesion nec"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3d0b2d5a2ca973cfb7b3f67"}, {"db_id": "mimic_iii", "question": "when was the first time until 2103 that patient 17435 had received a other phototherapy procedure?", "template": "when was the first time that patient 17435 received a other phototherapy procedure until 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'other phototherapy' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17435 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "other phototherapy", "patient_id": 17435}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a1e8a53f579da8c4674ac735"}, {"db_id": "mimic_iii", "question": "when patient 3403 first received the open reduc-int fix femur this year?", "template": "when was the first time that patient 3403 received a open reduc-int fix femur procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'open reduc-int fix femur' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3403 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "open reduc-int fix femur", "patient_id": 3403}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee33076faec57320b5fe6fff"}, {"db_id": "mimic_iii", "question": "when did patient 93571 get the int insert dual-cham dev procedure for the last time in 2103?", "template": "when was the last time that patient 93571 received a int insert dual-cham dev procedure in 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'int insert dual-cham dev' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 93571 ) and strftime('%y',procedures_icd.charttime) = '2103' order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "int insert dual-cham dev", "patient_id": 93571}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-in]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46885ef283939c47fac59299"}, {"db_id": "mimic_iii", "question": "tell me the last time that patient 87936 received a surg tooth extract nec during this year?", "template": "when was the last time that patient 87936 received a surg tooth extract nec procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'surg tooth extract nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87936 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "surg tooth extract nec", "patient_id": 87936}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8582c6c0d840d4a6bed9b587"}, {"db_id": "mimic_iii", "question": "the first time when they visited the hospital last time patient 10539 received a dx ultrasound-thorax nec treatment?", "template": "when was the first time that patient 10539 received a dx ultrasound-thorax nec procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'dx ultrasound-thorax nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10539 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "dx ultrasound-thorax nec", "patient_id": 10539}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d00d4e5b15f15990fba2fe9"}, {"db_id": "mimic_iii", "question": "when has patient 594 received permanent ileostomy nec for the last time when they came to the hospital last time?", "template": "when was the last time that patient 594 received a permanent ileostomy nec procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'permanent ileostomy nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "permanent ileostomy nec", "patient_id": 594}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2638556e1861a25726224256"}, {"db_id": "mimic_iii", "question": "when was patient 14110's last incision of mediastinum treatment?", "template": "when was the last time that patient 14110 received a incision of mediastinum procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'incision of mediastinum' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14110 ) order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "incision of mediastinum", "patient_id": 14110}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf2dc5c881c44f85551d0dbb"}, {"db_id": "mimic_iii", "question": "when is the first time patient 30307 received a umbilical vein cath treatment during their last hospital visit?", "template": "when was the first time that patient 30307 received a umbilical vein cath procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'umbilical vein cath' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30307 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 30307, "procedure_name": "umbilical vein cath"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "611d11d30861e145ee73d25b"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 18159 had 2 int mam-cor art bypass's since 2101?", "template": "when was the last time that patient 18159 received a 2 int mam-cor art bypass procedure since 2101?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = '2 int mam-cor art bypass' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18159 ) and strftime('%y',procedures_icd.charttime) >= '2101' order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "2 int mam-cor art bypass", "patient_id": 18159}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9f9cbeb64de0e680dbf86fc"}, {"db_id": "mimic_iii", "question": "what was patient 24547's first arterial catheterization procedure time during a year before?", "template": "when was the first time that patient 24547 received a arterial catheterization procedure last year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'arterial catheterization' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24547 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 24547, "procedure_name": "arterial catheterization"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "003a4d8ec12a6f7c102ff997"}, {"db_id": "mimic_iii", "question": "for the first time , when did patient 27465 receive insert intercostal cath?", "template": "when was the first time that patient 27465 received a insert intercostal cath procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'insert intercostal cath' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27465 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 27465, "procedure_name": "insert intercostal cath"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e1af4d4e2a1c1a9142179841"}, {"db_id": "mimic_iii", "question": "what was patient 51577's first time of the removal fb/dev from skin procedure until 2 years ago?", "template": "when was the first time that patient 51577 received a removal fb/dev from skin procedure until 2 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'removal fb/dev from skin' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51577 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-2 year') order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "removal fb/dev from skin", "patient_id": 51577}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a0830a03a4d2e60f9360e824"}, {"db_id": "mimic_iii", "question": "when has patient 22315 received the last opn/oth rep aort vlv-tis?", "template": "when was the last time that patient 22315 received a opn/oth rep aort vlv-tis procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'opn/oth rep aort vlv-tis' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22315 ) order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "opn/oth rep aort vlv-tis", "patient_id": 22315}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9eb149f481f2b008cb3ccefa"}, {"db_id": "mimic_iii", "question": "when has patient 61339 had his or her last oth extraoc mus-tend op until 2104?", "template": "when was the last time that patient 61339 received a oth extraoc mus-tend op procedure until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'oth extraoc mus-tend op' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61339 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "oth extraoc mus-tend op", "patient_id": 61339}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ea473960c5561c50e018bcf"}, {"db_id": "mimic_iii", "question": "when did patient 3712 receive control of epistaxis nos last time?", "template": "when was the last time that patient 3712 received a control of epistaxis nos procedure?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'control of epistaxis nos' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3712 ) order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "control of epistaxis nos", "patient_id": 3712}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "04362b6249abc2858166f69c"}, {"db_id": "mimic_iii", "question": "when had patient 2498 when they came to the hospital last time for the first time received rt/left heart card cath?", "template": "when was the first time that patient 2498 received a rt/left heart card cath procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'rt/left heart card cath' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2498 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 2498, "procedure_name": "rt/left heart card cath"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd7b55976dbf943df2d7e7f4"}, {"db_id": "mimic_iii", "question": "when is the first time that patient 23224 received a other gastrostomy until 2104?", "template": "when was the first time that patient 23224 received a other gastrostomy procedure until 2104?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'other gastrostomy' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23224 ) and strftime('%y',procedures_icd.charttime) <= '2104' order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "other gastrostomy", "patient_id": 23224}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6464c15c678ba2405610ef4"}, {"db_id": "mimic_iii", "question": "tell me patient 19059's last time of revise lg bowel anastom since 6 years ago?", "template": "when was the last time that patient 19059 received a revise lg bowel anastom procedure since 6 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'revise lg bowel anastom' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 ) and datetime(procedures_icd.charttime) >= datetime(current_time,'-6 year') order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "revise lg bowel anastom", "patient_id": 19059}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a888da0dbdd1a53b30b2476d"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 7165 received a infusion of vasopressor until 1 year ago?", "template": "when was the first time that patient 7165 received a infusion of vasopressor procedure until 1 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'infusion of vasopressor' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7165 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-1 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 7165, "procedure_name": "infusion of vasopressor"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "101a5b88510ce75475f126f5"}, {"db_id": "mimic_iii", "question": "when was the first lap gastric restric proc done for patient 4718 until 3 years ago?", "template": "when was the first time that patient 4718 received a lap gastric restric proc procedure until 3 year ago?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'lap gastric restric proc' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4718 ) and datetime(procedures_icd.charttime) <= datetime(current_time,'-3 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 4718, "procedure_name": "lap gastric restric proc"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af3122eefbe9a19cdfa9f57a"}, {"db_id": "mimic_iii", "question": "when in their last hospital visit was the first time patient 85131 received non-invasive mech vent?", "template": "when was the first time that patient 85131 received a non-invasive mech vent procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'non-invasive mech vent' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85131 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 85131, "procedure_name": "non-invasive mech vent"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a8f09f2d8051fa5422cdb9e"}, {"db_id": "mimic_iii", "question": "when patient 72198 first received a ot cerv fusion post/post procedure during this year?", "template": "when was the first time that patient 72198 received a ot cerv fusion post/post procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'ot cerv fusion post/post' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72198 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 72198, "procedure_name": "ot cerv fusion post/post"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56df0bf40de2a2afff6c9ade"}, {"db_id": "mimic_iii", "question": "what was the last time of the exploratory laparotomy performed patient 74159 this year?", "template": "when was the last time that patient 74159 received a exploratory laparotomy procedure this year?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'exploratory laparotomy' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 74159 ) and datetime(procedures_icd.charttime,'start of year') = datetime(current_time,'start of year','-0 year') order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "exploratory laparotomy", "patient_id": 74159}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-year-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-year-this]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b83c717c548afe1a64d3c6d"}, {"db_id": "mimic_iii", "question": "when did patient 49140 received last immobiliz/wound attn nec until 2103?", "template": "when was the last time that patient 49140 received a immobiliz/wound attn nec procedure until 2103?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'immobiliz/wound attn nec' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49140 ) and strftime('%y',procedures_icd.charttime) <= '2103' order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "immobiliz/wound attn nec", "patient_id": 49140}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-until]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b3f1fbcb81c9a1ab72ecd9d"}, {"db_id": "mimic_iii", "question": "when is the first time patient 31615 since 2100 received cont inv mec ven 96+ hrs.", "template": "when was the first time that patient 31615 received a cont inv mec ven 96+ hrs procedure since 2100?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'cont inv mec ven 96+ hrs' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31615 ) and strftime('%y',procedures_icd.charttime) >= '2100' order by procedures_icd.charttime asc limit 1", "value": {"patient_id": 31615, "procedure_name": "cont inv mec ven 96+ hrs"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["abs-year-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:abs-year-since]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "086d6b5367eaf8a18564a1d9"}, {"db_id": "mimic_iii", "question": "when did patient 47460 receive a inject into thorax cavit procedure for the first time on their last hospital visit?", "template": "when was the first time that patient 47460 received a inject into thorax cavit procedure on the last hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'inject into thorax cavit' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47460 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by procedures_icd.charttime asc limit 1", "value": {"procedure_name": "inject into thorax cavit", "patient_id": 47460}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6211b26d630c9ca9df561ce"}, {"db_id": "mimic_iii", "question": "the last time during the first hospital visit patient 56635 received a rt/left heart card cath treatment?", "template": "when was the last time that patient 56635 received a rt/left heart card cath procedure on the first hospital visit?", "query": "select procedures_icd.charttime from procedures_icd where procedures_icd.icd9_code = ( select d_icd_procedures.icd9_code from d_icd_procedures where d_icd_procedures.short_title = 'rt/left heart card cath' ) and procedures_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56635 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by procedures_icd.charttime desc limit 1", "value": {"procedure_name": "rt/left heart card cath", "patient_id": 56635}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {procedure_name} procedure [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62a6092691f6736e496497af"}, {"db_id": "mimic_iii", "question": "when was the first time for a medication prescribed to patient 70950 since 56 months ago?", "template": "when was the first prescription time of patient 70950 since 56 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70950 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-56 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 70950}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "287e2f45be99730838dc2ae9"}, {"db_id": "mimic_iii", "question": "what was the first time a drug was prescribed for patient 32153 in the current hospital encounter?", "template": "when was the first prescription time of patient 32153 on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32153 and admissions.dischtime is null ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 32153}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a0157404a08a123f6b039bf"}, {"db_id": "mimic_iii", "question": "when is the last time patient 87232 has been prescribed medicine since 2 months ago?", "template": "when was the last prescription time of patient 87232 since 2 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-2 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 87232}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f262004157e77b46d8f90b0b"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 26817 was prescribed medication when they visited the hospital first time?", "template": "when was the last prescription time of patient 26817 on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26817 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 26817}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "eb90f287bb4bf15dc7edc27a"}, {"db_id": "mimic_iii", "question": "when did patient 13528 receive his or her prescription for the last time since 12/2104?", "template": "when was the last prescription time of patient 13528 since 12/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13528 ) and strftime('%y-%m',prescriptions.startdate) >= '2104-12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 13528}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a2e772b2de6609af4fab6e3f"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 25733 was prescribed for a drug during this month?", "template": "when was the first prescription time of patient 25733 this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 25733}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1031d93086742af518546f18"}, {"db_id": "mimic_iii", "question": "when was a medication prescribed for the first time for patient 94316 in 03/2103?", "template": "when was the first prescription time of patient 94316 in 03/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94316 ) and strftime('%y-%m',prescriptions.startdate) = '2103-03' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 94316}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c458983c7d2fbed209ee60e8"}, {"db_id": "mimic_iii", "question": "when was the first time until 25 months ago that patient 43735 was prescribed medication?", "template": "when was the first prescription time of patient 43735 until 25 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43735 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-25 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 43735}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a7270cd1f0f39c90af37bab"}, {"db_id": "mimic_iii", "question": "when was patient 83182 being prescribed with a medication for the last time in this hospital visit?", "template": "when was the last prescription time of patient 83182 on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83182 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 83182}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bb1fa7a910f9c674518f110"}, {"db_id": "mimic_iii", "question": "what time was patient 1902 prescribed for a medication for the last time since 05/2105?", "template": "when was the last prescription time of patient 1902 since 05/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and strftime('%y-%m',prescriptions.startdate) >= '2105-05' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 1902}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34d32a189ed8a021499dd54b"}, {"db_id": "mimic_iii", "question": "in 08/this year when was patient 9299 prescribed for a medicine for the first time?", "template": "when was the first prescription time of patient 9299 in 08/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9299 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '08' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 9299}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32e4b25f6535787e07a88932"}, {"db_id": "mimic_iii", "question": "what was the last time patient 73913 got prescribed a drug?", "template": "when was the last prescription time of patient 73913?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73913 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 73913}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f4d55a6f0799347f95c2b1a6"}, {"db_id": "mimic_iii", "question": "when was the last time in the last hospital visit patient 9833 was prescribed for a drug?", "template": "when was the last prescription time of patient 9833 on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9833 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 9833}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b225b1f616c97ef7f10eb206"}, {"db_id": "mimic_iii", "question": "when was the first time patient 19059 was prescribed in 02/this year?", "template": "when was the first prescription time of patient 19059 in 02/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 19059}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a7373cc209c2a9d4fc1b03b"}, {"db_id": "mimic_iii", "question": "when was the last time patient 85895 was prescribed a drug the previous month?", "template": "when was the last prescription time of patient 85895 last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 85895}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64535a201e1976edbc672fd6"}, {"db_id": "mimic_iii", "question": "when did patient 83062 get a prescription first time, this month?", "template": "when was the first prescription time of patient 83062 this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 83062}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a2b6f7fbd8a6554f0731a7f"}, {"db_id": "mimic_iii", "question": "when did patient 25696 was prescribed for medication for the first time in 05/this year?", "template": "when was the first prescription time of patient 25696 in 05/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25696 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 25696}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3f5b0d7d6e1102efeed0ca17"}, {"db_id": "mimic_iii", "question": "when was patient 25814 last prescribed the medication when they came to the hospital last time?", "template": "when was the last prescription time of patient 25814 on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 25814}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf73acf16de2642698c3d1e2"}, {"db_id": "mimic_iii", "question": "when was patient 81384 for the last time prescribed a drug until 04/2105?", "template": "when was the last prescription time of patient 81384 until 04/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81384 ) and strftime('%y-%m',prescriptions.startdate) <= '2105-04' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 81384}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b936e983b23573c6df46cd3"}, {"db_id": "mimic_iii", "question": "what time was patient 23436 prescribed a drug for the last time this month?", "template": "when was the last prescription time of patient 23436 this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 23436}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4cc4620adb673125593ac3c2"}, {"db_id": "mimic_iii", "question": "when was the last time patient 2498 got the prescription in 08/2104?", "template": "when was the last prescription time of patient 2498 in 08/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2498 ) and strftime('%y-%m',prescriptions.startdate) = '2104-08' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 2498}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "985ac869987a58a7d7fd3649"}, {"db_id": "mimic_iii", "question": "since 04/2105, when was patient 27172 prescribed for the first time for a drug?", "template": "when was the first prescription time of patient 27172 since 04/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27172 ) and strftime('%y-%m',prescriptions.startdate) >= '2105-04' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 27172}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3e92673f1e1c62f074101d5"}, {"db_id": "mimic_iii", "question": "when was patient 80671 prescribed a drug for the last time until 02/2103?", "template": "when was the last prescription time of patient 80671 until 02/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80671 ) and strftime('%y-%m',prescriptions.startdate) <= '2103-02' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 80671}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31cacb53a23104fe5aaf9f60"}, {"db_id": "mimic_iii", "question": "when was patient 13841 prescribed a medication until 09/2104 for the first time?", "template": "when was the first prescription time of patient 13841 until 09/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13841 ) and strftime('%y-%m',prescriptions.startdate) <= '2104-09' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 13841}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58fdd872e46ccb2bdbd57868"}, {"db_id": "mimic_iii", "question": "when is patient 702 prescribed the drug for the last time on their last hospital encounter?", "template": "when was the last prescription time of patient 702 on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 702 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 702}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d9b4515078db8f1492abeab1"}, {"db_id": "mimic_iii", "question": "when was patient 25733 prescribed for the last time for a drug on their current hospital encounter?", "template": "when was the last prescription time of patient 25733 on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25733 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 25733}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b15e7ef634c1ef2046cb657"}, {"db_id": "mimic_iii", "question": "when was the first time in this hospital encounter patient 94229 was prescribed a medication?", "template": "when was the first prescription time of patient 94229 on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 94229}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "778de4564d75415fbbe6f718"}, {"db_id": "mimic_iii", "question": "for the last time during their current hospital encounter, when did patient 97733 receive a prescription?", "template": "when was the last prescription time of patient 97733 on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 and admissions.dischtime is null ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 97733}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "abec574c984393c67c37b41b"}, {"db_id": "mimic_iii", "question": "when did patient 26195 get the first prescription until 02/2105?", "template": "when was the first prescription time of patient 26195 until 02/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26195 ) and strftime('%y-%m',prescriptions.startdate) <= '2105-02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 26195}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31b60b94003a3b35a1823957"}, {"db_id": "mimic_iii", "question": "when did patient 57050 receive the prescription for the first time in the current hospital visit?", "template": "when was the first prescription time of patient 57050 on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 57050}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe7e572f67be591d66fac90b"}, {"db_id": "mimic_iii", "question": "when was patient 15821 prescribed for the last time a drug in 01/this year?", "template": "when was the last prescription time of patient 15821 in 01/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15821 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '01' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 15821}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c13cc460446e33c7bb9ac859"}, {"db_id": "mimic_iii", "question": "when was the last time patient 12938 received prescriptions in 02/last year?", "template": "when was the last prescription time of patient 12938 in 02/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12938 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '02' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 12938}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1b03b17eebe5331e2a59e0c"}, {"db_id": "mimic_iii", "question": "when was the first time a drug was prescribed to patient 61500 until 11/2105?", "template": "when was the first prescription time of patient 61500 until 11/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61500 ) and strftime('%y-%m',prescriptions.startdate) <= '2105-11' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 61500}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62ab3fd663cd7b5649c96b92"}, {"db_id": "mimic_iii", "question": "when was patient 22245 last prescribed with a drug since 21 months ago?", "template": "when was the last prescription time of patient 22245 since 21 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22245 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-21 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 22245}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d87ebf66c9f2f80d6c80c45"}, {"db_id": "mimic_iii", "question": "what has been the first time a medication was prescribed for patient 63676 since 04/2104?", "template": "when was the first prescription time of patient 63676 since 04/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63676 ) and strftime('%y-%m',prescriptions.startdate) >= '2104-04' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 63676}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38c144618f130598415d9c0b"}, {"db_id": "mimic_iii", "question": "when did patient 12568 get prescribed for the first time since 02/2105?", "template": "when was the first prescription time of patient 12568 since 02/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12568 ) and strftime('%y-%m',prescriptions.startdate) >= '2105-02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 12568}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7e45ae9776120ef45fc2b98f"}, {"db_id": "mimic_iii", "question": "what was the last time a medication was prescribed to patient 5395?", "template": "when was the last prescription time of patient 5395?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5395 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 5395}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "152b3eba6ee33cf46caee8bd"}, {"db_id": "mimic_iii", "question": "for the first time since 06/2101, when was patient 95892 prescribed a drug?", "template": "when was the first prescription time of patient 95892 since 06/2101?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95892 ) and strftime('%y-%m',prescriptions.startdate) >= '2101-06' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 95892}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aca9fcb1a4cac26f1cbadcd7"}, {"db_id": "mimic_iii", "question": "when was patient 2002 prescribed for the last time since 173 months ago for a drug?", "template": "when was the last prescription time of patient 2002 since 173 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2002 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-173 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 2002}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c017c41b59fe1a9d7b55b1b6"}, {"db_id": "mimic_iii", "question": "when was the first time of the prescription for patient 3831 in 02/2103?", "template": "when was the first prescription time of patient 3831 in 02/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3831 ) and strftime('%y-%m',prescriptions.startdate) = '2103-02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 3831}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12675cd5d7c69a1d0aa495d9"}, {"db_id": "mimic_iii", "question": "on their current hospital visit what was the first prescription time for patient 15794?", "template": "when was the first prescription time of patient 15794 on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) order by prescriptions.startdate asc limit 1", "value": {"patient_id": 15794}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ff8fbab9d35fcf6b7f9cdcf3"}, {"db_id": "mimic_iii", "question": "what was the last time patient 3939 was prescribed medicine during the last hospital visit?", "template": "when was the last prescription time of patient 3939 on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3939 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 3939}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93167743c4e000ca0d384019"}, {"db_id": "mimic_iii", "question": "what was the last time patient 78086 was prescribed medication?", "template": "when was the last prescription time of patient 78086?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78086 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 78086}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef39f8f83a873ec92d2ba860"}, {"db_id": "mimic_iii", "question": "in 12/this year, when patient 99747 was prescribed for the first time a drug?", "template": "when was the first prescription time of patient 99747 in 12/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99747 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 99747}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97503e7c959581857f267339"}, {"db_id": "mimic_iii", "question": "when patient 433 was getting a prescription for the last time in a month before?", "template": "when was the last prescription time of patient 433 last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 433}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "96ba7919804094e730043787"}, {"db_id": "mimic_iii", "question": "when has patient 10855 gotten a prescription for the last time?", "template": "when was the last prescription time of patient 10855?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 10855}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71fda62cf015e059f965038a"}, {"db_id": "mimic_iii", "question": "when was the last time during the last hospital encounter that patient 4326 was prescribed for a medication?", "template": "when was the last prescription time of patient 4326 on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4326 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 4326}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec20e99ca700e1ddfb5a4951"}, {"db_id": "mimic_iii", "question": "last time patient 16572 was prescribed a drug on the last hospital visit?", "template": "when was the last prescription time of patient 16572 on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by prescriptions.startdate desc limit 1", "value": {"patient_id": 16572}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe421f5b6bec143f24e41462"}, {"db_id": "mimic_iii", "question": "last month, when did patient 21110 receive the first prescribed prescription?", "template": "when was the first prescription time of patient 21110 last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21110 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 21110}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1684462d8b848f91541eb908"}, {"db_id": "mimic_iii", "question": "when did patient 25815 first get prescribed a drug until 01/2102?", "template": "when was the first prescription time of patient 25815 until 01/2102?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25815 ) and strftime('%y-%m',prescriptions.startdate) <= '2102-01' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 25815}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "11e1789cd90b0a01e736bacc"}, {"db_id": "mimic_iii", "question": "when has patient 66015 received a prescription for the first time during a month before?", "template": "when was the first prescription time of patient 66015 last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 66015 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 66015}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d8b9aeb15d8e51438594701"}, {"db_id": "mimic_iii", "question": "when did patient 92788 receive a prescription since 12/2105 for the last time?", "template": "when was the last prescription time of patient 92788 since 12/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and strftime('%y-%m',prescriptions.startdate) >= '2105-12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 92788}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ecde7e93326a6421a103a63"}, {"db_id": "mimic_iii", "question": "until 26 months ago, when was the first prescription time of patient 21074?", "template": "when was the first prescription time of patient 21074 until 26 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21074 ) and datetime(prescriptions.startdate) <= datetime(current_time,'-26 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 21074}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8870ab74f400dd0dd18f3c2f"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 80119 was prescribed a medication in 01/last year?", "template": "when was the first prescription time of patient 80119 in 01/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80119 ) and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '01' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 80119}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a19e7234688fd0c00e26732"}, {"db_id": "mimic_iii", "question": "when is the last time patient 85700 has been prescribed medicine this month?", "template": "when was the last prescription time of patient 85700 this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85700 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 85700}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] prescription time of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "aa6ebbf035b42fa04212e312"}, {"db_id": "mimic_iii", "question": "when did patient 73713 receive a prescription last month for the first time?", "template": "when was the first prescription time of patient 73713 last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 73713}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "38535a1f38461f4053f25797"}, {"db_id": "mimic_iii", "question": "when was patient 19427 for the first time prescribed a drug the last month?", "template": "when was the first prescription time of patient 19427 last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19427 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 19427}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8cb06da9affc5650d9431248"}, {"db_id": "mimic_iii", "question": "when did patient 65759 first get prescribed a drug since 01/2103?", "template": "when was the first prescription time of patient 65759 since 01/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65759 ) and strftime('%y-%m',prescriptions.startdate) >= '2103-01' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 65759}, "q_tag": "when was the [time_filter_exact1] prescription time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] prescription time of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc57def7ee111b28e56a79d1"}, {"db_id": "mimic_iii", "question": "when did patient 26793 receive last a prescription for zofran since 147 months ago?", "template": "when was the last time that patient 26793 was prescribed zofran since 147 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26793 ) and prescriptions.drug = 'zofran' and datetime(prescriptions.startdate) >= datetime(current_time,'-147 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "zofran", "patient_id": 26793}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "507b389a1633195ad90c00b5"}, {"db_id": "mimic_iii", "question": "when was the first efavirenz prescription given to patient 13536 when they came to the hospital last time.", "template": "when was the first time that patient 13536 was prescribed efavirenz on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13536 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'efavirenz' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "efavirenz", "patient_id": 13536}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a2bfb8e2e261a16690b2090"}, {"db_id": "mimic_iii", "question": "for the first time , when was patient 80119 prescribed for talc (sterile)?", "template": "when was the first time that patient 80119 was prescribed talc (sterile)?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80119 ) and prescriptions.drug = 'talc (sterile)' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "talc (sterile)", "patient_id": 80119}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "147d880f81fc328089e0662a"}, {"db_id": "mimic_iii", "question": "in this hospital encounter, when patient 15794 was prescribed for the first time for labetalol hcl?", "template": "when was the first time that patient 15794 was prescribed labetalol hcl on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) and prescriptions.drug = 'labetalol hcl' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "labetalol hcl", "patient_id": 15794}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e565a8864ee2d29309c08cc4"}, {"db_id": "mimic_iii", "question": "the first time patient 20898 was prescribed bisacodyl in 12/2105?", "template": "when was the first time that patient 20898 was prescribed bisacodyl in 12/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and prescriptions.drug = 'bisacodyl' and strftime('%y-%m',prescriptions.startdate) = '2105-12' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "bisacodyl", "patient_id": 20898}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d31ea76cb16f21ad883ba29"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 73155 was prescribed with insulin during their last hospital encounter?", "template": "when was the last time that patient 73155 was prescribed insulin on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73155 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'insulin' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 73155, "drug_name": "insulin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22952d61100e748a87cad578"}, {"db_id": "mimic_iii", "question": "when patient 49457 was prescribed dextrose 5% for the first time in 03/this year?", "template": "when was the first time that patient 49457 was prescribed dextrose 5% in 03/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49457 ) and prescriptions.drug = 'dextrose 5%' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '03' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "dextrose 5%", "patient_id": 49457}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0afd2679ee75eeb1b7d0e999"}, {"db_id": "mimic_iii", "question": "when did patient 5887 last get a prescription for d10w during the last month?", "template": "when was the last time that patient 5887 was prescribed d10w last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5887 ) and prescriptions.drug = 'd10w' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "d10w", "patient_id": 5887}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e199296a33b97094ad113f1"}, {"db_id": "mimic_iii", "question": "when did patient 11362 first get a prescribing of d5lr in the last month?", "template": "when was the first time that patient 11362 was prescribed d5lr last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) and prescriptions.drug = 'd5lr' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 11362, "drug_name": "d5lr"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f84495f215f75ec0071459a7"}, {"db_id": "mimic_iii", "question": "when was patient 23760 first given the neostigmine prescription in 08/this year?", "template": "when was the first time that patient 23760 was prescribed neostigmine in 08/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23760 ) and prescriptions.drug = 'neostigmine' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '08' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 23760, "drug_name": "neostigmine"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14b1fcc31cf7e52ed478ebd5"}, {"db_id": "mimic_iii", "question": "when was the first time, patient 62977 was prescribed 1/2 ns until 02/2105?", "template": "when was the first time that patient 62977 was prescribed 1/2 ns until 02/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62977 ) and prescriptions.drug = '1/2 ns' and strftime('%y-%m',prescriptions.startdate) <= '2105-02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 62977, "drug_name": "1/2 ns"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a9820150cc9392aedf4fbd10"}, {"db_id": "mimic_iii", "question": "when was the first time patient 72107 had dextrose 50% prescribed on their first hospital visit?", "template": "when was the first time that patient 72107 was prescribed dextrose 50% on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72107 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'dextrose 50%' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 72107, "drug_name": "dextrose 50%"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9957e930975fe83df969a8c"}, {"db_id": "mimic_iii", "question": "when did patient 7524 get a norepinephrine bitartrate prescription for the last time until 06/2105?", "template": "when was the last time that patient 7524 was prescribed norepinephrine bitartrate until 06/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7524 ) and prescriptions.drug = 'norepinephrine bitartrate' and strftime('%y-%m',prescriptions.startdate) <= '2105-06' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "norepinephrine bitartrate", "patient_id": 7524}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a10c62337e02fd1315b3df6d"}, {"db_id": "mimic_iii", "question": "when was patient 53015 prescribed nystatin ointment first until 08/2103?", "template": "when was the first time that patient 53015 was prescribed nystatin ointment until 08/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 53015 ) and prescriptions.drug = 'nystatin ointment' and strftime('%y-%m',prescriptions.startdate) <= '2103-08' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 53015, "drug_name": "nystatin ointment"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ea9f4668e60f093349cc237"}, {"db_id": "mimic_iii", "question": "when was the first time that liposomal cytarabine (depocyt) was prescribed to patient 64538?", "template": "when was the first time that patient 64538 was prescribed liposomal cytarabine (depocyt)?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64538 ) and prescriptions.drug = 'liposomal cytarabine (depocyt)' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "liposomal cytarabine (depocyt)", "patient_id": 64538}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "354537265375bc1c469a63ca"}, {"db_id": "mimic_iii", "question": "what is the first time patient 83901 received a prescription for lactulose enema in the previous month?", "template": "when was the first time that patient 83901 was prescribed lactulose enema last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83901 ) and prescriptions.drug = 'lactulose enema' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 83901, "drug_name": "lactulose enema"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4c4286de58fa7a3dfeb56beb"}, {"db_id": "mimic_iii", "question": "when did patient 51858 receive his/her last prescription for felodipine since 12/2105?", "template": "when was the last time that patient 51858 was prescribed felodipine since 12/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51858 ) and prescriptions.drug = 'felodipine' and strftime('%y-%m',prescriptions.startdate) >= '2105-12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 51858, "drug_name": "felodipine"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "879403636a0606b0fbb107f1"}, {"db_id": "mimic_iii", "question": "when did patient 19627 last receive prescriptions for vancomycin since 01/2101?", "template": "when was the last time that patient 19627 was prescribed vancomycin since 01/2101?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19627 ) and prescriptions.drug = 'vancomycin' and strftime('%y-%m',prescriptions.startdate) >= '2101-01' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 19627, "drug_name": "vancomycin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d483a6cc894c0a7633b304c5"}, {"db_id": "mimic_iii", "question": "when was the first time in the last hospital visit patient 64292 is prescribed levetiracetam?", "template": "when was the first time that patient 64292 was prescribed levetiracetam on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64292 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'levetiracetam' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 64292, "drug_name": "levetiracetam"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9594308d0e6a72c56028222"}, {"db_id": "mimic_iii", "question": "the last month, when was the last time patient 7698 was prescribed doxazosin?", "template": "when was the last time that patient 7698 was prescribed doxazosin last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) and prescriptions.drug = 'doxazosin' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "doxazosin", "patient_id": 7698}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf0911c0b58077c8f1d6f81c"}, {"db_id": "mimic_iii", "question": "what was patient 16571's first prescribed time for mupirocin nasal ointment 2% on the first hospital visit?", "template": "when was the first time that patient 16571 was prescribed mupirocin nasal ointment 2% on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16571 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'mupirocin nasal ointment 2%' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 16571, "drug_name": "mupirocin nasal ointment 2%"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b01c42a6cd82a5dc508b844"}, {"db_id": "mimic_iii", "question": "what is the last time that patient 8773 was prescribed albuterol in 12/last year?", "template": "when was the last time that patient 8773 was prescribed albuterol in 12/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8773 ) and prescriptions.drug = 'albuterol' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "albuterol", "patient_id": 8773}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6c7031a639c66a139b767106"}, {"db_id": "mimic_iii", "question": "when patient 79919 was prescribed 0.9% sodium chloride first time in 06/last year.", "template": "when was the first time that patient 79919 was prescribed 0.9% sodium chloride in 06/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 79919 ) and prescriptions.drug = '0.9% sodium chloride' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '06' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 79919, "drug_name": "0.9% sodium chloride"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "35d94b45e5224acfd3b0c248"}, {"db_id": "mimic_iii", "question": "when was patient 3118 last prescribed heparin flush midline (100 units/ml) until 14 months ago?", "template": "when was the last time that patient 3118 was prescribed heparin flush midline (100 units/ml) until 14 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3118 ) and prescriptions.drug = 'heparin flush midline (100 units/ml)' and datetime(prescriptions.startdate) <= datetime(current_time,'-14 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "heparin flush midline (100 units/ml)", "patient_id": 3118}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b9c64a1a497406b88cb6645"}, {"db_id": "mimic_iii", "question": "when was the last time in 11/last year that patient 70516 was prescribed morphine sulfate.", "template": "when was the last time that patient 70516 was prescribed morphine sulfate in 11/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70516 ) and prescriptions.drug = 'morphine sulfate' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 70516, "drug_name": "morphine sulfate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1212b3dc424de5b43c8b3f8"}, {"db_id": "mimic_iii", "question": "when did patient 86786 last receive until 8 months ago a prescription for hydrochlorothiazide?", "template": "when was the last time that patient 86786 was prescribed hydrochlorothiazide until 8 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86786 ) and prescriptions.drug = 'hydrochlorothiazide' and datetime(prescriptions.startdate) <= datetime(current_time,'-8 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "hydrochlorothiazide", "patient_id": 86786}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "97743ef4d93a6b48c1274a4f"}, {"db_id": "mimic_iii", "question": "what's the last prescription time for vancomycin hcl for patient 5364 in the first hospital encounter?", "template": "when was the last time that patient 5364 was prescribed vancomycin hcl on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5364 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'vancomycin hcl' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 5364, "drug_name": "vancomycin hcl"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d28cda898553e55141f2283d"}, {"db_id": "mimic_iii", "question": "what was the first sulfameth/trimethoprim ss prescription time for patient 51663 during their first hospital encounter.", "template": "when was the first time that patient 51663 was prescribed sulfameth/trimethoprim ss on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51663 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'sulfameth/trimethoprim ss' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 51663, "drug_name": "sulfameth/trimethoprim ss"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7ff17d104127751c8166c5cc"}, {"db_id": "mimic_iii", "question": "this month when was patient 11826 prescribed the first propofol?", "template": "when was the first time that patient 11826 was prescribed propofol this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11826 ) and prescriptions.drug = 'propofol' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 11826, "drug_name": "propofol"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "08294bd2e2465152c24819b7"}, {"db_id": "mimic_iii", "question": "until 45 months ago, when was the last time that carvedilol was prescribed to patient 5905?", "template": "when was the last time that patient 5905 was prescribed carvedilol until 45 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5905 ) and prescriptions.drug = 'carvedilol' and datetime(prescriptions.startdate) <= datetime(current_time,'-45 month') order by prescriptions.startdate desc limit 1", "value": {"drug_name": "carvedilol", "patient_id": 5905}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78f456fd844b8b1a1d8da185"}, {"db_id": "mimic_iii", "question": "when did patient 94229 receive potassium chloride prescription first this month?", "template": "when was the first time that patient 94229 was prescribed potassium chloride this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 ) and prescriptions.drug = 'potassium chloride' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 94229, "drug_name": "potassium chloride"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1ab0310321cfc9d3050eecc8"}, {"db_id": "mimic_iii", "question": "when did patient 81461 receive the last prescription in their current hospital visit for vecuronium bromide?", "template": "when was the last time that patient 81461 was prescribed vecuronium bromide on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81461 and admissions.dischtime is null ) and prescriptions.drug = 'vecuronium bromide' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 81461, "drug_name": "vecuronium bromide"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc24706dd913a75907d2c019"}, {"db_id": "mimic_iii", "question": "when did patient 9294 receive a prescription for nadolol in this month first?", "template": "when was the first time that patient 9294 was prescribed nadolol this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9294 ) and prescriptions.drug = 'nadolol' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"drug_name": "nadolol", "patient_id": 9294}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bf1645788e2cf195d0d708b2"}, {"db_id": "mimic_iii", "question": "what is the first time that patient 23858 received a prescription for d10w in 07/last year?", "template": "when was the first time that patient 23858 was prescribed d10w in 07/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23858 ) and prescriptions.drug = 'd10w' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '07' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "d10w", "patient_id": 23858}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "147b835f805c90ad4d97bca8"}, {"db_id": "mimic_iii", "question": "when was the first time isotonic sodium chloride was prescribed to patient 3125 in this hospital visit?", "template": "when was the first time that patient 3125 was prescribed isotonic sodium chloride on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3125 and admissions.dischtime is null ) and prescriptions.drug = 'isotonic sodium chloride' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 3125, "drug_name": "isotonic sodium chloride"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "101059d7dc4e4a1ef0c69a3d"}, {"db_id": "mimic_iii", "question": "what was the first prescribed time for amino acids 4.25% w/ dextrose 5% since 02/2105 for patient 23969?", "template": "when was the first time that patient 23969 was prescribed amino acids 4.25% w/ dextrose 5% since 02/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23969 ) and prescriptions.drug = 'amino acids 4.25% w/ dextrose 5%' and strftime('%y-%m',prescriptions.startdate) >= '2105-02' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 23969, "drug_name": "amino acids 4.25% w/ dextrose 5%"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cccf2f2e085e81e970d9decf"}, {"db_id": "mimic_iii", "question": "when has patient 24268 received a prescription for magnesium sulfate last in 03/last year?", "template": "when was the last time that patient 24268 was prescribed magnesium sulfate in 03/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24268 ) and prescriptions.drug = 'magnesium sulfate' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '03' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 24268, "drug_name": "magnesium sulfate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8603588847e1e3a86f729665"}, {"db_id": "mimic_iii", "question": "what was the last time patient 54825 received a prescription for aspirin ec, in 12/last year?", "template": "when was the last time that patient 54825 was prescribed aspirin ec in 12/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 ) and prescriptions.drug = 'aspirin ec' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "aspirin ec", "patient_id": 54825}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e6c11fbc63dff9c7d5b3cd0"}, {"db_id": "mimic_iii", "question": "when patient 97733 was prescribed for the last time polyethylene glycol in this hospital visit?", "template": "when was the last time that patient 97733 was prescribed polyethylene glycol on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 and admissions.dischtime is null ) and prescriptions.drug = 'polyethylene glycol' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 97733, "drug_name": "polyethylene glycol"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b87057c56106d34c04e5f2e"}, {"db_id": "mimic_iii", "question": "when was patient 7698 last prescribed tigecycline, on the first hospital encounter?", "template": "when was the last time that patient 7698 was prescribed tigecycline on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'tigecycline' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "tigecycline", "patient_id": 7698}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c85631d7d0bd1d71c9c48a96"}, {"db_id": "mimic_iii", "question": "when did patient 78221 receive his/her last prescription for glycopyrrolate when they visited the hospital first time?", "template": "when was the last time that patient 78221 was prescribed glycopyrrolate on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78221 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'glycopyrrolate' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "glycopyrrolate", "patient_id": 78221}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9d3b8b5e286ad7892d07264"}, {"db_id": "mimic_iii", "question": "during the last hospital encounter, when was the last time patient 8773 was prescribed pantoprazole?", "template": "when was the last time that patient 8773 was prescribed pantoprazole on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8773 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'pantoprazole' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 8773, "drug_name": "pantoprazole"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d64137f33519aeea983f19be"}, {"db_id": "mimic_iii", "question": "what was the last time patient 2425 received a prescription for thiamine, since 04/2101?", "template": "when was the last time that patient 2425 was prescribed thiamine since 04/2101?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2425 ) and prescriptions.drug = 'thiamine' and strftime('%y-%m',prescriptions.startdate) >= '2101-04' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "thiamine", "patient_id": 2425}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e44baa80fd09ddb82a4c44d"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 54494 was prescribed with pregabalin during their last hospital encounter?", "template": "when was the first time that patient 54494 was prescribed pregabalin on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54494 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'pregabalin' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 54494, "drug_name": "pregabalin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "858dd2d6b56fb0950ce5f22e"}, {"db_id": "mimic_iii", "question": "when did patient 52736 get a insulin prescription for the last time in the first hospital visit?", "template": "when was the last time that patient 52736 was prescribed insulin on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52736 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.drug = 'insulin' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 52736, "drug_name": "insulin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a35a73afbe1b6855567c2da"}, {"db_id": "mimic_iii", "question": "when has patient 94293 received a prescription for magnesium sulfate replacement (oncology) last until 01/2105?", "template": "when was the last time that patient 94293 was prescribed magnesium sulfate replacement (oncology) until 01/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94293 ) and prescriptions.drug = 'magnesium sulfate replacement (oncology)' and strftime('%y-%m',prescriptions.startdate) <= '2105-01' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "magnesium sulfate replacement (oncology)", "patient_id": 94293}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bb6cd32d3b343015e52aac7d"}, {"db_id": "mimic_iii", "question": "what is the first time patient 28343 received a prescription for tramadol in 10/last year?", "template": "when was the first time that patient 28343 was prescribed tramadol in 10/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28343 ) and prescriptions.drug = 'tramadol' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '10' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 28343, "drug_name": "tramadol"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "edf1c791e1fd550e824ad74a"}, {"db_id": "mimic_iii", "question": "when did patient 90663 receive the first prescription in 12/this year for zolpidem tartrate?", "template": "when was the first time that patient 90663 was prescribed zolpidem tartrate in 12/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90663 ) and prescriptions.drug = 'zolpidem tartrate' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 90663, "drug_name": "zolpidem tartrate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1ff1099b14f20e25ccc6859c"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 52598 was prescribed with epinephrine until 01/2104?", "template": "when was the first time that patient 52598 was prescribed epinephrine until 01/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52598 ) and prescriptions.drug = 'epinephrine' and strftime('%y-%m',prescriptions.startdate) <= '2104-01' order by prescriptions.startdate asc limit 1", "value": {"drug_name": "epinephrine", "patient_id": 52598}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "15697b80e3c37a548a1f4c3f"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 2700 was prescribed with dexamethasone in 12/2100?", "template": "when was the first time that patient 2700 was prescribed dexamethasone in 12/2100?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2700 ) and prescriptions.drug = 'dexamethasone' and strftime('%y-%m',prescriptions.startdate) = '2100-12' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 2700, "drug_name": "dexamethasone"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9599cd1c09976f80a4b8621"}, {"db_id": "mimic_iii", "question": "during the last hospital encounter, when was the last time patient 26195 was prescribed amikacin?", "template": "when was the last time that patient 26195 was prescribed amikacin on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26195 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.drug = 'amikacin' order by prescriptions.startdate desc limit 1", "value": {"drug_name": "amikacin", "patient_id": 26195}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "993e43ae1618666e215848fc"}, {"db_id": "mimic_iii", "question": "when was the first time patient 16554 had meropenem prescribed in 01/this year?", "template": "when was the first time that patient 16554 was prescribed meropenem in 01/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16554 ) and prescriptions.drug = 'meropenem' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '01' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 16554, "drug_name": "meropenem"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ac14a7ebb5b520fd1205525"}, {"db_id": "mimic_iii", "question": "for the last time in 01/last year, when was patient 1912 prescribed for atorvastatin?", "template": "when was the last time that patient 1912 was prescribed atorvastatin in 01/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1912 ) and prescriptions.drug = 'atorvastatin' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '01' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 1912, "drug_name": "atorvastatin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e84ea4729c77079674537514"}, {"db_id": "mimic_iii", "question": "in the previous month, when was the first time patient 19175 was prescribed thiamine hcl?", "template": "when was the first time that patient 19175 was prescribed thiamine hcl last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) and prescriptions.drug = 'thiamine hcl' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 19175, "drug_name": "thiamine hcl"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a80fc6cc4938f089d87a1c4a"}, {"db_id": "mimic_iii", "question": " when was patient 4469 prescribed the first furosemide?", "template": "when was the first time that patient 4469 was prescribed furosemide?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4469 ) and prescriptions.drug = 'furosemide' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 4469, "drug_name": "furosemide"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name} [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b211ac68e5fff90164eb8636"}, {"db_id": "mimic_iii", "question": "in 01/this year, when did patient 5364 last get prescribed imipenem-cilastatin and propofol at the same time?", "template": "when was the last time that patient 5364 was prescribed imipenem-cilastatin and propofol at the same time in 01/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'imipenem-cilastatin' and admissions.subject_id = 5364 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '01' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'propofol' and admissions.subject_id = 5364 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '01' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "imipenem-cilastatin", "drug_name2": "propofol", "patient_id": 5364}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "432bae97fe32e109a02fb02c"}, {"db_id": "mimic_iii", "question": "when was patient 51977 prescribed a potassium chloride and diltiazem at the same time for the last time in 02/last year?", "template": "when was the last time that patient 51977 was prescribed potassium chloride and diltiazem at the same time in 02/last year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'potassium chloride' and admissions.subject_id = 51977 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '02' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'diltiazem' and admissions.subject_id = 51977 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '02' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "potassium chloride", "drug_name2": "diltiazem", "patient_id": 51977}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea545b2b98e9080549c79ec9"}, {"db_id": "mimic_iii", "question": "when was the last time since 118 months ago that patient 14987 was prescribed aspirin ec and heparin sodium at the same time?", "template": "when was the last time that patient 14987 was prescribed aspirin ec and heparin sodium at the same time since 118 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'aspirin ec' and admissions.subject_id = 14987 and datetime(prescriptions.startdate) >= datetime(current_time,'-118 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'heparin sodium' and admissions.subject_id = 14987 and datetime(prescriptions.startdate) >= datetime(current_time,'-118 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "aspirin ec", "drug_name2": "heparin sodium", "patient_id": 14987}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "68cc6fa24876de67dcf83914"}, {"db_id": "mimic_iii", "question": "the last time the previous month, when was patient 19175 prescribed d5w and pantoprazole at the same time?", "template": "when was the last time that patient 19175 was prescribed d5w and pantoprazole at the same time last month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'd5w' and admissions.subject_id = 19175 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'pantoprazole' and admissions.subject_id = 19175 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "d5w", "drug_name2": "pantoprazole", "patient_id": 19175}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4b1f9a1c7618b7cdd9717d76"}, {"db_id": "mimic_iii", "question": "what was the last time patient 5866 was prescribed senna and syringe (0.9% sodium chloride) until 19 months ago, at the same time?", "template": "when was the last time that patient 5866 was prescribed senna and syringe (0.9% sodium chloride) at the same time until 19 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'senna' and admissions.subject_id = 5866 and datetime(prescriptions.startdate) <= datetime(current_time,'-19 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'syringe (0.9% sodium chloride)' and admissions.subject_id = 5866 and datetime(prescriptions.startdate) <= datetime(current_time,'-19 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "senna", "drug_name2": "syringe (0.9% sodium chloride)", "patient_id": 5866}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3af3779afae84b52414f0451"}, {"db_id": "mimic_iii", "question": "when was the last time patient 25796 had been prescribed neo*po*chlorothiazide and cytarabine at the same time until 43 months ago?", "template": "when was the last time that patient 25796 was prescribed neo*po*chlorothiazide and cytarabine at the same time until 43 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'neo*po*chlorothiazide' and admissions.subject_id = 25796 and datetime(prescriptions.startdate) <= datetime(current_time,'-43 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'cytarabine' and admissions.subject_id = 25796 and datetime(prescriptions.startdate) <= datetime(current_time,'-43 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "neo*po*chlorothiazide", "drug_name2": "cytarabine", "patient_id": 25796}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d551bc33950b80f3901a0a27"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 71558 was prescribed with furosemide and aspirin ec at the same time?", "template": "when was the first time that patient 71558 was prescribed furosemide and aspirin ec at the same time?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 71558 ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'aspirin ec' and admissions.subject_id = 71558 ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "furosemide", "drug_name2": "aspirin ec", "patient_id": 71558}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:null]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c99f7592cb4a27dccff0365a"}, {"db_id": "mimic_iii", "question": "in 03/2104, when was the last time that patient 14982 was prescribed both allopurinol and ezetimibe at the same time?", "template": "when was the last time that patient 14982 was prescribed allopurinol and ezetimibe at the same time in 03/2104?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'allopurinol' and admissions.subject_id = 14982 and strftime('%y-%m',prescriptions.startdate) = '2104-03' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'ezetimibe' and admissions.subject_id = 14982 and strftime('%y-%m',prescriptions.startdate) = '2104-03' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "allopurinol", "drug_name2": "ezetimibe", "patient_id": 14982}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1056583addbce664f81264ad"}, {"db_id": "mimic_iii", "question": "when was the first time patient 9519 was prescribed magnesium sulfate with atorvastatin at the same time in 12/last year?", "template": "when was the first time that patient 9519 was prescribed magnesium sulfate and atorvastatin at the same time in 12/last year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'magnesium sulfate' and admissions.subject_id = 9519 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '12' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'atorvastatin' and admissions.subject_id = 9519 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '12' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "magnesium sulfate", "drug_name2": "atorvastatin", "patient_id": 9519}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2b93d427d55a5545f6b25b2b"}, {"db_id": "mimic_iii", "question": "when was patient 3929 last prescribed with potassium chloride and furosemide at the same time during this month?", "template": "when was the last time that patient 3929 was prescribed potassium chloride and furosemide at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'potassium chloride' and admissions.subject_id = 3929 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 3929 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "potassium chloride", "drug_name2": "furosemide", "patient_id": 3929}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "44b2e41d0875e4390065465e"}, {"db_id": "mimic_iii", "question": "when did patient 26286 get prescription for labetalol hcl and sodium chloride 3% (hypertonic) for the last time at the same time in this month?", "template": "when was the last time that patient 26286 was prescribed labetalol hcl and sodium chloride 3% (hypertonic) at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'labetalol hcl' and admissions.subject_id = 26286 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'sodium chloride 3% (hypertonic)' and admissions.subject_id = 26286 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "labetalol hcl", "drug_name2": "sodium chloride 3% (hypertonic)", "patient_id": 26286}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b8cd540c57d9db9eb2bc5d53"}, {"db_id": "mimic_iii", "question": "when is the first time that patient 26995 was prescribed docusate sodium and quinapril at the same time in 11/last year?", "template": "when was the first time that patient 26995 was prescribed docusate sodium and quinapril at the same time in 11/last year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'docusate sodium' and admissions.subject_id = 26995 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'quinapril' and admissions.subject_id = 26995 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "docusate sodium", "drug_name2": "quinapril", "patient_id": 26995}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d172e380ad03cc96cfd0667"}, {"db_id": "mimic_iii", "question": "when was the first time patient 57023 got prescribed for nitroglycerin and furosemide at the same time in 11/this year?", "template": "when was the first time that patient 57023 was prescribed nitroglycerin and furosemide at the same time in 11/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'nitroglycerin' and admissions.subject_id = 57023 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '11' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 57023 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '11' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "nitroglycerin", "drug_name2": "furosemide", "patient_id": 57023}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1069dee2ed1bb8918a9590f9"}, {"db_id": "mimic_iii", "question": "when was patient 73423 prescribed the drug docusate sodium and hydrocortisone na succ. at the same time for the last time since 162 months ago?", "template": "when was the last time that patient 73423 was prescribed docusate sodium and hydrocortisone na succ. at the same time since 162 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'docusate sodium' and admissions.subject_id = 73423 and datetime(prescriptions.startdate) >= datetime(current_time,'-162 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'hydrocortisone na succ.' and admissions.subject_id = 73423 and datetime(prescriptions.startdate) >= datetime(current_time,'-162 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "docusate sodium", "drug_name2": "hydrocortisone na succ.", "patient_id": 73423}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c296b61315349c83a60ce432"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 86791 was prescribed with furosemide and levofloxacin at the same time in 08/last year?", "template": "when was the last time that patient 86791 was prescribed furosemide and levofloxacin at the same time in 08/last year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 86791 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'levofloxacin' and admissions.subject_id = 86791 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "furosemide", "drug_name2": "levofloxacin", "patient_id": 86791}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5f674ac3f66036ac3cde02da"}, {"db_id": "mimic_iii", "question": "the last time patient 25951 was prescribed vial and 5% dextrose at the same time in 06/this year?", "template": "when was the last time that patient 25951 was prescribed 5% dextrose and vial at the same time in 06/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = '5% dextrose' and admissions.subject_id = 25951 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '06' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'vial' and admissions.subject_id = 25951 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '06' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "5% dextrose", "drug_name2": "vial", "patient_id": 25951}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f85e99f0d92ad8dcc00b3e7"}, {"db_id": "mimic_iii", "question": "when for the last time until 14 months ago was patient 7165 prescribed potassium phosphate and furosemide at the same time?", "template": "when was the last time that patient 7165 was prescribed potassium phosphate and furosemide at the same time until 14 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'potassium phosphate' and admissions.subject_id = 7165 and datetime(prescriptions.startdate) <= datetime(current_time,'-14 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 7165 and datetime(prescriptions.startdate) <= datetime(current_time,'-14 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "potassium phosphate", "drug_name2": "furosemide", "patient_id": 7165}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "95a630645abbd9fb3726e8ef"}, {"db_id": "mimic_iii", "question": "when had patient 83901 first been prescribed for vancomycin and pantoprazole at the same time during the last month?", "template": "when was the first time that patient 83901 was prescribed vancomycin and pantoprazole at the same time last month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'vancomycin' and admissions.subject_id = 83901 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'pantoprazole' and admissions.subject_id = 83901 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "vancomycin", "drug_name2": "pantoprazole", "patient_id": 83901}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9b25be492d8ccf357b82b334"}, {"db_id": "mimic_iii", "question": "when did patient 82132 receive the last iso-osmotic dextrose and metoprolol tartrate prescription at the same time during this month?", "template": "when was the last time that patient 82132 was prescribed iso-osmotic dextrose and metoprolol tartrate at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'iso-osmotic dextrose' and admissions.subject_id = 82132 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'metoprolol tartrate' and admissions.subject_id = 82132 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "iso-osmotic dextrose", "drug_name2": "metoprolol tartrate", "patient_id": 82132}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "77dfce254c1545b08c5bc5b5"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 29410 was prescribed trazodone hcl and ns until 21 months ago at the same time?", "template": "when was the first time that patient 29410 was prescribed ns and trazodone hcl at the same time until 21 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'ns' and admissions.subject_id = 29410 and datetime(prescriptions.startdate) <= datetime(current_time,'-21 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'trazodone hcl' and admissions.subject_id = 29410 and datetime(prescriptions.startdate) <= datetime(current_time,'-21 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "ns", "drug_name2": "trazodone hcl", "patient_id": 29410}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d6e41eac27e04957bc45fef"}, {"db_id": "mimic_iii", "question": "when were patient 20332 first prescribed for aspirin and potassium chl 20 meq / 1000 ml d5 1/2 ns at the same time?", "template": "when was the first time that patient 20332 was prescribed aspirin and potassium chl 20 meq / 1000 ml d5 1/2 ns at the same time?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'aspirin' and admissions.subject_id = 20332 ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'potassium chl 20 meq / 1000 ml d5 1/2 ns' and admissions.subject_id = 20332 ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "aspirin", "drug_name2": "potassium chl 20 meq / 1000 ml d5 1/2 ns", "patient_id": 20332}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:null]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4cd3b8f018f046a300d2cdde"}, {"db_id": "mimic_iii", "question": "when is the first time that patient 96833 has been prescribed albuterol 0.083% neb soln and nephrocaps at the same time in 12/this year?", "template": "when was the first time that patient 96833 was prescribed albuterol 0.083% neb soln and nephrocaps at the same time in 12/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'albuterol 0.083% neb soln' and admissions.subject_id = 96833 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'nephrocaps' and admissions.subject_id = 96833 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "albuterol 0.083% neb soln", "drug_name2": "nephrocaps", "patient_id": 96833}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "169db7858f23655ba6f4e931"}, {"db_id": "mimic_iii", "question": "when was the first time patient 42757 was prescribed famotidine and gabapentin in 10/2102 at the same time?", "template": "when was the first time that patient 42757 was prescribed famotidine and gabapentin at the same time in 10/2102?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'famotidine' and admissions.subject_id = 42757 and strftime('%y-%m',prescriptions.startdate) = '2102-10' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'gabapentin' and admissions.subject_id = 42757 and strftime('%y-%m',prescriptions.startdate) = '2102-10' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "famotidine", "drug_name2": "gabapentin", "patient_id": 42757}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7908f408980f575219520ec8"}, {"db_id": "mimic_iii", "question": "for the first time this month, when was patient 82132 prescribed furosemide and ferrous sulfate (liquid) at the same time?", "template": "when was the first time that patient 82132 was prescribed furosemide and ferrous sulfate (liquid) at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 82132 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'ferrous sulfate (liquid)' and admissions.subject_id = 82132 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "furosemide", "drug_name2": "ferrous sulfate (liquid)", "patient_id": 82132}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "588e47c1c5ab8ae8326bdddb"}, {"db_id": "mimic_iii", "question": "when patient 23929 was prescribed for the last time in 08/2104 iso-osmotic dextrose and insulin at the same time?", "template": "when was the last time that patient 23929 was prescribed iso-osmotic dextrose and insulin at the same time in 08/2104?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'iso-osmotic dextrose' and admissions.subject_id = 23929 and strftime('%y-%m',prescriptions.startdate) = '2104-08' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'insulin' and admissions.subject_id = 23929 and strftime('%y-%m',prescriptions.startdate) = '2104-08' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "iso-osmotic dextrose", "drug_name2": "insulin", "patient_id": 23929}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ababd88624c43e00545071b3"}, {"db_id": "mimic_iii", "question": "when was the first time when patient 31482 was prescribed phenylephrine hcl and albumin 5% (25g / 500ml) at the same time in this month?", "template": "when was the first time that patient 31482 was prescribed phenylephrine hcl and albumin 5% (25g / 500ml) at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'phenylephrine hcl' and admissions.subject_id = 31482 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'albumin 5% (25g / 500ml)' and admissions.subject_id = 31482 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "phenylephrine hcl", "drug_name2": "albumin 5% (25g / 500ml)", "patient_id": 31482}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a5e2896c22766cf0c832de22"}, {"db_id": "mimic_iii", "question": "when was the last time in 10/2104 that patient 14990 was prescribed with lisinopril and potassium chloride at the same time?", "template": "when was the last time that patient 14990 was prescribed lisinopril and potassium chloride at the same time in 10/2104?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'lisinopril' and admissions.subject_id = 14990 and strftime('%y-%m',prescriptions.startdate) = '2104-10' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'potassium chloride' and admissions.subject_id = 14990 and strftime('%y-%m',prescriptions.startdate) = '2104-10' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "lisinopril", "drug_name2": "potassium chloride", "patient_id": 14990}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0080ccccb8577145082e0c3c"}, {"db_id": "mimic_iii", "question": "the last time patient 21074 was prescribed syringe and amiodarone hcl at the same time in 05/2103?", "template": "when was the last time that patient 21074 was prescribed amiodarone hcl and syringe at the same time in 05/2103?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'amiodarone hcl' and admissions.subject_id = 21074 and strftime('%y-%m',prescriptions.startdate) = '2103-05' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'syringe' and admissions.subject_id = 21074 and strftime('%y-%m',prescriptions.startdate) = '2103-05' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "amiodarone hcl", "drug_name2": "syringe", "patient_id": 21074}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e3e45a961d149d358e351b2"}, {"db_id": "mimic_iii", "question": "when was the last time patient 14836 had been prescribed lr and eucerin at the same time in 02/2105?", "template": "when was the last time that patient 14836 was prescribed lr and eucerin at the same time in 02/2105?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'lr' and admissions.subject_id = 14836 and strftime('%y-%m',prescriptions.startdate) = '2105-02' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'eucerin' and admissions.subject_id = 14836 and strftime('%y-%m',prescriptions.startdate) = '2105-02' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "lr", "drug_name2": "eucerin", "patient_id": 14836}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d66b8dd55363cc831364819"}, {"db_id": "mimic_iii", "question": "when were patient 3918 first prescribed for vancomycin and ketorolac at the same time in 07/this year?", "template": "when was the first time that patient 3918 was prescribed vancomycin and ketorolac at the same time in 07/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'vancomycin' and admissions.subject_id = 3918 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '07' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'ketorolac' and admissions.subject_id = 3918 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '07' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "vancomycin", "drug_name2": "ketorolac", "patient_id": 3918}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "884a9969439f32f66484f6ee"}, {"db_id": "mimic_iii", "question": "what was the last time patient 7742 was prescribed vancomycin hcl and ondansetron odt in 03/2103, at the same time?", "template": "when was the last time that patient 7742 was prescribed vancomycin hcl and ondansetron odt at the same time in 03/2103?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'vancomycin hcl' and admissions.subject_id = 7742 and strftime('%y-%m',prescriptions.startdate) = '2103-03' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'ondansetron odt' and admissions.subject_id = 7742 and strftime('%y-%m',prescriptions.startdate) = '2103-03' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "vancomycin hcl", "drug_name2": "ondansetron odt", "patient_id": 7742}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a679d4f9656172464043fb35"}, {"db_id": "mimic_iii", "question": "when was patient 31260 prescribed the drug senna and glyburide at the same time for the first time until 01/2105?", "template": "when was the first time that patient 31260 was prescribed senna and glyburide at the same time until 01/2105?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'senna' and admissions.subject_id = 31260 and strftime('%y-%m',prescriptions.startdate) <= '2105-01' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'glyburide' and admissions.subject_id = 31260 and strftime('%y-%m',prescriptions.startdate) <= '2105-01' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "senna", "drug_name2": "glyburide", "patient_id": 31260}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "62e2cb3e748fba9f31cf8d75"}, {"db_id": "mimic_iii", "question": "when was patient 85131 prescribed the drug neo*iv*chlorothiazide and d5w at the same time for the last time until 19 months ago?", "template": "when was the last time that patient 85131 was prescribed neo*iv*chlorothiazide and d5w at the same time until 19 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'neo*iv*chlorothiazide' and admissions.subject_id = 85131 and datetime(prescriptions.startdate) <= datetime(current_time,'-19 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'd5w' and admissions.subject_id = 85131 and datetime(prescriptions.startdate) <= datetime(current_time,'-19 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "neo*iv*chlorothiazide", "drug_name2": "d5w", "patient_id": 85131}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "94098c007920f8683b0a5b76"}, {"db_id": "mimic_iii", "question": "when was the first time patient 68280 was prescribed heparin sodium and propofol in 12/this year at the same time?", "template": "when was the first time that patient 68280 was prescribed heparin sodium and propofol at the same time in 12/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'heparin sodium' and admissions.subject_id = 68280 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'propofol' and admissions.subject_id = 68280 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "heparin sodium", "drug_name2": "propofol", "patient_id": 68280}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0810814dcc2bbb280c8ba7ac"}, {"db_id": "mimic_iii", "question": "what was the last time patient 31300 was prescribed pantoprazole and furosemide in 03/2103, at the same time?", "template": "when was the last time that patient 31300 was prescribed pantoprazole and furosemide at the same time in 03/2103?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'pantoprazole' and admissions.subject_id = 31300 and strftime('%y-%m',prescriptions.startdate) = '2103-03' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 31300 and strftime('%y-%m',prescriptions.startdate) = '2103-03' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "pantoprazole", "drug_name2": "furosemide", "patient_id": 31300}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0779a41c38979bb22738456a"}, {"db_id": "mimic_iii", "question": "since 148 months ago, when was the first time that patient 16549 was prescribed both sterile water and sw at the same time?", "template": "when was the first time that patient 16549 was prescribed sterile water and sw at the same time since 148 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'sterile water' and admissions.subject_id = 16549 and datetime(prescriptions.startdate) >= datetime(current_time,'-148 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'sw' and admissions.subject_id = 16549 and datetime(prescriptions.startdate) >= datetime(current_time,'-148 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "sterile water", "drug_name2": "sw", "patient_id": 16549}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74cb3bb3887b3b1501a3a426"}, {"db_id": "mimic_iii", "question": "when was the first time patient 3918 was prescribed metoprolol tartrate with furosemide at the same time in 07/this year?", "template": "when was the first time that patient 3918 was prescribed metoprolol tartrate and furosemide at the same time in 07/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'metoprolol tartrate' and admissions.subject_id = 3918 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '07' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 3918 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '07' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "metoprolol tartrate", "drug_name2": "furosemide", "patient_id": 3918}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce04cc663b8268376af818d9"}, {"db_id": "mimic_iii", "question": "when for the last time during this month was patient 96833 prescribed senna and d5w at the same time?", "template": "when was the last time that patient 96833 was prescribed senna and d5w at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'senna' and admissions.subject_id = 96833 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'd5w' and admissions.subject_id = 96833 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "senna", "drug_name2": "d5w", "patient_id": 96833}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74316dc4853d6091f1e8cf7b"}, {"db_id": "mimic_iii", "question": "when for the first time until 02/2104 was patient 13806 prescribed insulin and potassium chloride (powder) at the same time?", "template": "when was the first time that patient 13806 was prescribed insulin and potassium chloride (powder) at the same time until 02/2104?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'insulin' and admissions.subject_id = 13806 and strftime('%y-%m',prescriptions.startdate) <= '2104-02' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'potassium chloride (powder)' and admissions.subject_id = 13806 and strftime('%y-%m',prescriptions.startdate) <= '2104-02' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "insulin", "drug_name2": "potassium chloride (powder)", "patient_id": 13806}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9fbec61fa04fb666f2a49e78"}, {"db_id": "mimic_iii", "question": "when was patient 12927 prescribed a magnesium citrate and diazepam at the same time for the first time during this month?", "template": "when was the first time that patient 12927 was prescribed magnesium citrate and diazepam at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'magnesium citrate' and admissions.subject_id = 12927 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'diazepam' and admissions.subject_id = 12927 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "magnesium citrate", "drug_name2": "diazepam", "patient_id": 12927}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f9980f916e189d75a721156"}, {"db_id": "mimic_iii", "question": "when was patient 69895 prescribed the drug ketorolac and pantoprazole sodium at the same time for the last time since 32 months ago?", "template": "when was the last time that patient 69895 was prescribed ketorolac and pantoprazole sodium at the same time since 32 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'ketorolac' and admissions.subject_id = 69895 and datetime(prescriptions.startdate) >= datetime(current_time,'-32 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'pantoprazole sodium' and admissions.subject_id = 69895 and datetime(prescriptions.startdate) >= datetime(current_time,'-32 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "ketorolac", "drug_name2": "pantoprazole sodium", "patient_id": 69895}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "15d7c8298ece94a09842b56f"}, {"db_id": "mimic_iii", "question": "when was patient 24547 prescribed a mycophenolate mofetil and cetylpyridinium chl (cepacol) at the same time for the first time in 08/last year?", "template": "when was the first time that patient 24547 was prescribed mycophenolate mofetil and cetylpyridinium chl (cepacol) at the same time in 08/last year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'mycophenolate mofetil' and admissions.subject_id = 24547 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'cetylpyridinium chl (cepacol)' and admissions.subject_id = 24547 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '08' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "mycophenolate mofetil", "drug_name2": "cetylpyridinium chl (cepacol)", "patient_id": 24547}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64986a9df1c9bc77b0d271c7"}, {"db_id": "mimic_iii", "question": "for the first time until 31 months ago, when was patient 7165 prescribed insulin human regular and labetalol hcl at the same time?", "template": "when was the first time that patient 7165 was prescribed insulin human regular and labetalol hcl at the same time until 31 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'insulin human regular' and admissions.subject_id = 7165 and datetime(prescriptions.startdate) <= datetime(current_time,'-31 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'labetalol hcl' and admissions.subject_id = 7165 and datetime(prescriptions.startdate) <= datetime(current_time,'-31 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "insulin human regular", "drug_name2": "labetalol hcl", "patient_id": 7165}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "548e4bbd043c227dba742ca7"}, {"db_id": "mimic_iii", "question": "when was the first time patient 92788 got prescribed for nicardipine iv and 0.9% sodium chloride at the same time during this month?", "template": "when was the first time that patient 92788 was prescribed nicardipine iv and 0.9% sodium chloride at the same time this month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'nicardipine iv' and admissions.subject_id = 92788 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = '0.9% sodium chloride' and admissions.subject_id = 92788 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "nicardipine iv", "drug_name2": "0.9% sodium chloride", "patient_id": 92788}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-this", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8db815d2bdd291a77b3b697"}, {"db_id": "mimic_iii", "question": "when was the last time patient 7698 was prescribed soln with albuterol 0.083% neb soln at the same time in a month before?", "template": "when was the last time that patient 7698 was prescribed soln and albuterol 0.083% neb soln at the same time last month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'soln' and admissions.subject_id = 7698 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'albuterol 0.083% neb soln' and admissions.subject_id = 7698 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "soln", "drug_name2": "albuterol 0.083% neb soln", "patient_id": 7698}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "86e7cecba24b2975cc348804"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 99647 was prescribed 5% dextrose and aspirin in 12/2105 at the same time?", "template": "when was the first time that patient 99647 was prescribed aspirin and 5% dextrose at the same time in 12/2105?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'aspirin' and admissions.subject_id = 99647 and strftime('%y-%m',prescriptions.startdate) = '2105-12' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = '5% dextrose' and admissions.subject_id = 99647 and strftime('%y-%m',prescriptions.startdate) = '2105-12' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "aspirin", "drug_name2": "5% dextrose", "patient_id": 99647}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8eba4510d8b1cfeb6146572a"}, {"db_id": "mimic_iii", "question": "when for the first time in the previous month was patient 73693 prescribed bupropion (sustained release) and amiodarone at the same time?", "template": "when was the first time that patient 73693 was prescribed bupropion (sustained release) and amiodarone at the same time last month?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'bupropion (sustained release)' and admissions.subject_id = 73693 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'amiodarone' and admissions.subject_id = 73693 and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "bupropion (sustained release)", "drug_name2": "amiodarone", "patient_id": 73693}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-last", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a5f85a2b1b0e5508147cab1"}, {"db_id": "mimic_iii", "question": "when was patient 18677 prescribed the drug pantoprazole and omeprazole at the same time for the last time since 10/2103?", "template": "when was the last time that patient 18677 was prescribed pantoprazole and omeprazole at the same time since 10/2103?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'pantoprazole' and admissions.subject_id = 18677 and strftime('%y-%m',prescriptions.startdate) >= '2103-10' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'omeprazole' and admissions.subject_id = 18677 and strftime('%y-%m',prescriptions.startdate) >= '2103-10' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "pantoprazole", "drug_name2": "omeprazole", "patient_id": 18677}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "304cd95eb811b8b76da849a4"}, {"db_id": "mimic_iii", "question": "when was the first time patient 12718 was prescribed insulin human regular with metoprolol succinate xl at the same time since 102 months ago?", "template": "when was the first time that patient 12718 was prescribed insulin human regular and metoprolol succinate xl at the same time since 102 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'insulin human regular' and admissions.subject_id = 12718 and datetime(prescriptions.startdate) >= datetime(current_time,'-102 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'metoprolol succinate xl' and admissions.subject_id = 12718 and datetime(prescriptions.startdate) >= datetime(current_time,'-102 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "insulin human regular", "drug_name2": "metoprolol succinate xl", "patient_id": 12718}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-since", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e212c3eb21ed2cb9393ed33"}, {"db_id": "mimic_iii", "question": "when is the first time that patient 10425 has been prescribed valganciclovir suspension and neutra-phos at the same time in 09/last year?", "template": "when was the first time that patient 10425 was prescribed valganciclovir suspension and neutra-phos at the same time in 09/last year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'valganciclovir suspension' and admissions.subject_id = 10425 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '09' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'neutra-phos' and admissions.subject_id = 10425 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '09' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "valganciclovir suspension", "drug_name2": "neutra-phos", "patient_id": 10425}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d6a7f3700156eb0599097c5"}, {"db_id": "mimic_iii", "question": "when was the last time in 12/this year that patient 10624 was prescribed with normocarb and insulin at the same time?", "template": "when was the last time that patient 10624 was prescribed normocarb and insulin at the same time in 12/this year?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'normocarb' and admissions.subject_id = 10624 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'insulin' and admissions.subject_id = 10624 and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "normocarb", "drug_name2": "insulin", "patient_id": 10624}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "820daf569ed4bb0ab0ee1f86"}, {"db_id": "mimic_iii", "question": "when was the first time when patient 7400 was prescribed furosemide and potassium chloride at the same time until 14 months ago?", "template": "when was the first time that patient 7400 was prescribed furosemide and potassium chloride at the same time until 14 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 7400 and datetime(prescriptions.startdate) <= datetime(current_time,'-14 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'potassium chloride' and admissions.subject_id = 7400 and datetime(prescriptions.startdate) <= datetime(current_time,'-14 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "furosemide", "drug_name2": "potassium chloride", "patient_id": 7400}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "529576fb0bc0fa8d928278c5"}, {"db_id": "mimic_iii", "question": "when for the first time until 31 months ago was patient 26922 prescribed d5w and furosemide at the same time?", "template": "when was the first time that patient 26922 was prescribed d5w and furosemide at the same time until 31 month ago?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'd5w' and admissions.subject_id = 26922 and datetime(prescriptions.startdate) <= datetime(current_time,'-31 month') ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'furosemide' and admissions.subject_id = 26922 and datetime(prescriptions.startdate) <= datetime(current_time,'-31 month') ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate asc limit 1", "value": {"drug_name1": "d5w", "drug_name2": "furosemide", "patient_id": 26922}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["rel-month-until", "", "within-same", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6df4b918925fad909247d6e4"}, {"db_id": "mimic_iii", "question": "when was the last time when patient 46528 was prescribed sevelamer and erythromycin at the same time in 04/2102?", "template": "when was the last time that patient 46528 was prescribed sevelamer and erythromycin at the same time in 04/2102?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'sevelamer' and admissions.subject_id = 46528 and strftime('%y-%m',prescriptions.startdate) = '2102-04' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'erythromycin' and admissions.subject_id = 46528 and strftime('%y-%m',prescriptions.startdate) = '2102-04' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "sevelamer", "drug_name2": "erythromycin", "patient_id": 46528}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-in", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af843584ed41674229bef6bb"}, {"db_id": "mimic_iii", "question": "when was the last time when patient 25965 was prescribed syringe (chemo) and chlorhexidine gluconate 0.12% oral rinse at the same time until 08/2105?", "template": "when was the last time that patient 25965 was prescribed syringe (chemo) and chlorhexidine gluconate 0.12% oral rinse at the same time until 08/2105?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'syringe (chemo)' and admissions.subject_id = 25965 and strftime('%y-%m',prescriptions.startdate) <= '2105-08' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'chlorhexidine gluconate 0.12% oral rinse' and admissions.subject_id = 25965 and strftime('%y-%m',prescriptions.startdate) <= '2105-08' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "syringe (chemo)", "drug_name2": "chlorhexidine gluconate 0.12% oral rinse", "patient_id": 25965}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-until", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d17203222e6d5f46cd2868fe"}, {"db_id": "mimic_iii", "question": "when was the last time since 04/2104 that patient 88659 was prescribed vial and iso-osmotic dextrose at the same time?", "template": "when was the last time that patient 88659 was prescribed vial and iso-osmotic dextrose at the same time since 04/2104?", "query": "select t1.startdate from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'vial' and admissions.subject_id = 88659 and strftime('%y-%m',prescriptions.startdate) >= '2104-04' ) as t1 join ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'iso-osmotic dextrose' and admissions.subject_id = 88659 and strftime('%y-%m',prescriptions.startdate) >= '2104-04' ) as t2 on t1.subject_id = t2.subject_id where datetime(t1.startdate) = datetime(t2.startdate) order by t1.startdate desc limit 1", "value": {"drug_name1": "vial", "drug_name2": "iso-osmotic dextrose", "patient_id": 88659}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within] [time_filter_global1]?", "t_tag": ["abs-month-since", "", "within-same", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed {drug_name1} and {drug_name2} [time_filter_within:within-same] [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "n/a", "para_type": "machine", "is_impossible": false, "split": "train", "id": "14956c2aa79208e0a708caf3"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 64538 was prescribed a medication until 11/2103 via oral?", "template": "when was the first time that patient 64538 was prescribed a medication via oral route until 11/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64538 ) and prescriptions.route = 'oral' and strftime('%y-%m',prescriptions.startdate) <= '2103-11' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "oral", "patient_id": 64538}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e77c9d218ca802110a606d3"}, {"db_id": "mimic_iii", "question": "when was the last time patient 65569 was prescribed a drug through iv route in 05/this year?", "template": "when was the last time that patient 65569 was prescribed a medication via iv route in 05/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65569 ) and prescriptions.route = 'iv' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '05' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 65569, "drug_route": "iv"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6054430b14c84b767f1838d0"}, {"db_id": "mimic_iii", "question": "when was the last time patient 83062 had been prescribed medication through the td route in this month?", "template": "when was the last time that patient 83062 was prescribed a medication via td route this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 ) and prescriptions.route = 'td' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "td", "patient_id": 83062}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7983f86969cdc8be3eae4517"}, {"db_id": "mimic_iii", "question": "when did patient 1114 get prescribed a drug via po/ng for the first time since 31 months ago?", "template": "when was the first time that patient 1114 was prescribed a medication via po/ng route since 31 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 ) and prescriptions.route = 'po/ng' and datetime(prescriptions.startdate) >= datetime(current_time,'-31 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 1114, "drug_route": "po/ng"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "956592398702c75aff623be8"}, {"db_id": "mimic_iii", "question": "what was the first time since 11/2102 patient 25814 was prescribed a medication via a ir route?", "template": "when was the first time that patient 25814 was prescribed a medication via ir route since 11/2102?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) and prescriptions.route = 'ir' and strftime('%y-%m',prescriptions.startdate) >= '2102-11' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ir", "patient_id": 25814}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "608cbc5653927c3b61c0a476"}, {"db_id": "mimic_iii", "question": "what was the last time patient 52018 was prescribed medications via ed route in 08/2104?", "template": "when was the last time that patient 52018 was prescribed a medication via ed route in 08/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52018 ) and prescriptions.route = 'ed' and strftime('%y-%m',prescriptions.startdate) = '2104-08' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "ed", "patient_id": 52018}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e18acd7af2791c95a2600afb"}, {"db_id": "mimic_iii", "question": "when was patient 3267 first prescribed a medicine via the ip route?", "template": "when was the first time that patient 3267 was prescribed a medication via ip route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3267 ) and prescriptions.route = 'ip' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ip", "patient_id": 3267}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17ecc1a5cf3ec375f74fc046"}, {"db_id": "mimic_iii", "question": "when was the first time until 10/2101 that patient 41816 was prescribed a medication via iv route?", "template": "when was the first time that patient 41816 was prescribed a medication via iv route until 10/2101?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 41816 ) and prescriptions.route = 'iv' and strftime('%y-%m',prescriptions.startdate) <= '2101-10' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 41816, "drug_route": "iv"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f1812317be0bec162f5a683"}, {"db_id": "mimic_iii", "question": "when was patient 99747 first prescribed any medication on the dialys route during the previous month?", "template": "when was the first time that patient 99747 was prescribed a medication via dialys route last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99747 ) and prescriptions.route = 'dialys' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 99747, "drug_route": "dialys"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b52a302dc45e7a629f98a188"}, {"db_id": "mimic_iii", "question": "and what was the last time patient 30826 was prescribed medication using the po/ng route in their current hospital encounter?", "template": "when was the last time that patient 30826 was prescribed a medication via po/ng route on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30826 and admissions.dischtime is null ) and prescriptions.route = 'po/ng' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "po/ng", "patient_id": 30826}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "308223718ea2c7cbe275d2dd"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 2425 was prescribed medication until 11/2104 via right eye route?", "template": "when was the last time that patient 2425 was prescribed a medication via right eye route until 11/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2425 ) and prescriptions.route = 'right eye' and strftime('%y-%m',prescriptions.startdate) <= '2104-11' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "right eye", "patient_id": 2425}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12dd58891319e517d21187ea"}, {"db_id": "mimic_iii", "question": "when was patient 15986 prescribed for the first time a medication via sl medication on this hospital encounter?", "template": "when was the first time that patient 15986 was prescribed a medication via sl route on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 and admissions.dischtime is null ) and prescriptions.route = 'sl' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "sl", "patient_id": 15986}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "83d7cde9ae028c7020f8d7a1"}, {"db_id": "mimic_iii", "question": "when was patient 75658 prescribed a medication via dialys route the last time?", "template": "when was the last time that patient 75658 was prescribed a medication via dialys route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 75658 ) and prescriptions.route = 'dialys' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 75658, "drug_route": "dialys"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df0da93a4d685f649108aad3"}, {"db_id": "mimic_iii", "question": "when was patient 3929 prescribed a medication during their current hospital visit for the last time via the po/ng route?", "template": "when was the last time that patient 3929 was prescribed a medication via po/ng route on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 and admissions.dischtime is null ) and prescriptions.route = 'po/ng' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "po/ng", "patient_id": 3929}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e535a435e133acf3e90b4619"}, {"db_id": "mimic_iii", "question": "when was patient 65309 for the last time prescribed a medication via the tp route in 10/last year?", "template": "when was the last time that patient 65309 was prescribed a medication via tp route in 10/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65309 ) and prescriptions.route = 'tp' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '10' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "tp", "patient_id": 65309}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c4805fa6cdc3414cb3951c9f"}, {"db_id": "mimic_iii", "question": "when was patient 18757 prescribed medication via ih route, for the last time until 02/2105?", "template": "when was the last time that patient 18757 was prescribed a medication via ih route until 02/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18757 ) and prescriptions.route = 'ih' and strftime('%y-%m',prescriptions.startdate) <= '2105-02' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 18757, "drug_route": "ih"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e7e51a848d290df1c710b4d1"}, {"db_id": "mimic_iii", "question": "when was patient 57023 last prescribed a medication via the po/ng route the previous month?", "template": "when was the last time that patient 57023 was prescribed a medication via po/ng route last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57023 ) and prescriptions.route = 'po/ng' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "po/ng", "patient_id": 57023}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d4e4b34a85cf7c36de3c7255"}, {"db_id": "mimic_iii", "question": "when was patient 77177 prescribed medications through the iv drip route for the last time in their last hospital encounter?", "template": "when was the last time that patient 77177 was prescribed a medication via iv drip route on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77177 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'iv drip' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 77177, "drug_route": "iv drip"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c1a28b18a815239d15efe24a"}, {"db_id": "mimic_iii", "question": "what time is the first time patient 1114 was prescribed a medicine via po/ng route since 31 months ago?", "template": "when was the first time that patient 1114 was prescribed a medication via po/ng route since 31 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 ) and prescriptions.route = 'po/ng' and datetime(prescriptions.startdate) >= datetime(current_time,'-31 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 1114, "drug_route": "po/ng"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e435ea8a75f5ed0c584a3122"}, {"db_id": "mimic_iii", "question": "when has patient 25814 been prescribed medication for the first time since 11/2102 via ir route?", "template": "when was the first time that patient 25814 was prescribed a medication via ir route since 11/2102?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25814 ) and prescriptions.route = 'ir' and strftime('%y-%m',prescriptions.startdate) >= '2102-11' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ir", "patient_id": 25814}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b236bf8c19c08eaff853014e"}, {"db_id": "mimic_iii", "question": "a month before when was the last time that patient 27703 was prescribed medication via the tp route?", "template": "when was the last time that patient 27703 was prescribed a medication via tp route last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) and prescriptions.route = 'tp' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 27703, "drug_route": "tp"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0c0c4f9f05dd2b569d775f6"}, {"db_id": "mimic_iii", "question": "when the last time patient 43959 was prescribed a medicine via ed route?", "template": "when was the last time that patient 43959 was prescribed a medication via ed route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 43959 ) and prescriptions.route = 'ed' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 43959, "drug_route": "ed"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "27d7c72fdbe37d7797944ba1"}, {"db_id": "mimic_iii", "question": "when is the last time patient 5828 was prescribed medication via po/ng on this hospital visit?", "template": "when was the last time that patient 5828 was prescribed a medication via po/ng route on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) and prescriptions.route = 'po/ng' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 5828, "drug_route": "po/ng"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5376366f27ea13476720f4bd"}, {"db_id": "mimic_iii", "question": "when was the first time that since 164 months ago patient 95909 was prescribed a medication via pr?", "template": "when was the first time that patient 95909 was prescribed a medication via pr route since 164 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95909 ) and prescriptions.route = 'pr' and datetime(prescriptions.startdate) >= datetime(current_time,'-164 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 95909, "drug_route": "pr"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af94ff72c039c6afde8834f5"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 31696 has been prescribed medication via td route in 07/last year?", "template": "when was the first time that patient 31696 was prescribed a medication via td route in 07/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31696 ) and prescriptions.route = 'td' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '07' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "td", "patient_id": 31696}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "74dc3a667ce2ae4439efc729"}, {"db_id": "mimic_iii", "question": "what was the first time patient 96774 was prescribed a medication using an sc route until 04/2102?", "template": "when was the first time that patient 96774 was prescribed a medication via sc route until 04/2102?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96774 ) and prescriptions.route = 'sc' and strftime('%y-%m',prescriptions.startdate) <= '2102-04' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 96774, "drug_route": "sc"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "28f2f5479616a07da821a455"}, {"db_id": "mimic_iii", "question": "when was the first time, , that patient 433 was prescribed with a medication through nas route?", "template": "when was the first time that patient 433 was prescribed a medication via nas route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and prescriptions.route = 'nas' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "nas", "patient_id": 433}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "760990c049878bfab868f00a"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 40435 was prescribed a medication via the vg route in the last hospital encounter?", "template": "when was the last time that patient 40435 was prescribed a medication via vg route on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40435 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'vg' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "vg", "patient_id": 40435}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fe1b48758dab0db0a4ed7d76"}, {"db_id": "mimic_iii", "question": "when was for the last time until 20 months ago patient 27599 prescribed a medication via iv route?", "template": "when was the last time that patient 27599 was prescribed a medication via iv route until 20 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27599 ) and prescriptions.route = 'iv' and datetime(prescriptions.startdate) <= datetime(current_time,'-20 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 27599, "drug_route": "iv"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e894d2540cc90ef0a8df6bb5"}, {"db_id": "mimic_iii", "question": "when was patient 71558 first prescribed a medication using the po route since 10/2103?", "template": "when was the first time that patient 71558 was prescribed a medication via po route since 10/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71558 ) and prescriptions.route = 'po' and strftime('%y-%m',prescriptions.startdate) >= '2103-10' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 71558, "drug_route": "po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "83d12b139d00c46c08eb9c60"}, {"db_id": "mimic_iii", "question": "when was patient 70267 prescribed a medication via im route for the first time?", "template": "when was the first time that patient 70267 was prescribed a medication via im route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70267 ) and prescriptions.route = 'im' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 70267, "drug_route": "im"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "20db7d05b61f7846c7c89835"}, {"db_id": "mimic_iii", "question": "when was the last time that until 09/2102 patient 3267 was prescribed a medicine via an subcut route?", "template": "when was the last time that patient 3267 was prescribed a medication via subcut route until 09/2102?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3267 ) and prescriptions.route = 'subcut' and strftime('%y-%m',prescriptions.startdate) <= '2102-09' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "subcut", "patient_id": 3267}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8e3b87afdfc4e33005851dfe"}, {"db_id": "mimic_iii", "question": "when was the last time patient 23237 was prescribed drugs via ih?", "template": "when was the last time that patient 23237 was prescribed a medication via ih route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23237 ) and prescriptions.route = 'ih' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 23237, "drug_route": "ih"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4fce695f019c1e6f442ece1"}, {"db_id": "mimic_iii", "question": "when was the first time patient 78221 was prescribed medicine via po route until 08/2101?", "template": "when was the first time that patient 78221 was prescribed a medication via po route until 08/2101?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 78221 ) and prescriptions.route = 'po' and strftime('%y-%m',prescriptions.startdate) <= '2101-08' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 78221, "drug_route": "po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0bd03be91ef99dc4cd537b35"}, {"db_id": "mimic_iii", "question": "when was patient 3929 for the first time prescribed a drug via ou route until 01/2105?", "template": "when was the first time that patient 3929 was prescribed a medication via ou route until 01/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3929 ) and prescriptions.route = 'ou' and strftime('%y-%m',prescriptions.startdate) <= '2105-01' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ou", "patient_id": 3929}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d7e3bbad3ba1811054ef1e97"}, {"db_id": "mimic_iii", "question": "when the first time patient 94293 was prescribed a medication in 01/2104 via the ivpca route?", "template": "when was the first time that patient 94293 was prescribed a medication via ivpca route in 01/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94293 ) and prescriptions.route = 'ivpca' and strftime('%y-%m',prescriptions.startdate) = '2104-01' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ivpca", "patient_id": 94293}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3644941a945ac77952681ed6"}, {"db_id": "mimic_iii", "question": "when was the first time patient 7107 was prescribed a medication since 03/2104 via pl route?", "template": "when was the first time that patient 7107 was prescribed a medication via pl route since 03/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7107 ) and prescriptions.route = 'pl' and strftime('%y-%m',prescriptions.startdate) >= '2104-03' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "pl", "patient_id": 7107}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "80c317e28c26ba9196890810"}, {"db_id": "mimic_iii", "question": "when was last time patient 9038 was prescribed a medication via right eye route in 04/last year?", "template": "when was the last time that patient 9038 was prescribed a medication via right eye route in 04/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9038 ) and prescriptions.route = 'right eye' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '04' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "right eye", "patient_id": 9038}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f89e5489400a6bfe4d9d344b"}, {"db_id": "mimic_iii", "question": "what was the last time patient 95088 was prescribed a drug via ih route in 11/last year?", "template": "when was the last time that patient 95088 was prescribed a medication via ih route in 11/last year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95088 ) and prescriptions.route = 'ih' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',prescriptions.startdate) = '11' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 95088, "drug_route": "ih"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4f17edef23036a0c208a5811"}, {"db_id": "mimic_iii", "question": "when was the last time until 6 months ago that patient 9297 was prescribed a medication via vg?", "template": "when was the last time that patient 9297 was prescribed a medication via vg route until 6 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9297 ) and prescriptions.route = 'vg' and datetime(prescriptions.startdate) <= datetime(current_time,'-6 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "vg", "patient_id": 9297}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d0ee58c9a9b47f3fc9959573"}, {"db_id": "mimic_iii", "question": "when was patient 73206 prescribed with a drug via im route for the first time since 05/2101?", "template": "when was the first time that patient 73206 was prescribed a medication via im route since 05/2101?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73206 ) and prescriptions.route = 'im' and strftime('%y-%m',prescriptions.startdate) >= '2101-05' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "im", "patient_id": 73206}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "77903e3342fa9d54fb6b007a"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 31854 was prescribed medication via an pb route in their current hospital encounter?", "template": "when was the first time that patient 31854 was prescribed a medication via pb route on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 and admissions.dischtime is null ) and prescriptions.route = 'pb' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 31854, "drug_route": "pb"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "05db67b2ccb4c5de2da3fd78"}, {"db_id": "mimic_iii", "question": "when was the first time patient 86555 was prescribed medication via po route?", "template": "when was the first time that patient 86555 was prescribed a medication via po route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86555 ) and prescriptions.route = 'po' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 86555, "drug_route": "po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f8d39354795224839141497e"}, {"db_id": "mimic_iii", "question": "when was the last time during their first hospital encounter that patient 17608 was prescribed a drug via subcut?", "template": "when was the last time that patient 17608 was prescribed a medication via subcut route on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17608 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.route = 'subcut' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "subcut", "patient_id": 17608}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ea398d4a7e0bd2346b16eff"}, {"db_id": "mimic_iii", "question": "when was the last time patient 65401 was prescribed medication through the ed route in 10/2105?", "template": "when was the last time that patient 65401 was prescribed a medication via ed route in 10/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65401 ) and prescriptions.route = 'ed' and strftime('%y-%m',prescriptions.startdate) = '2105-10' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 65401, "drug_route": "ed"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "851bb48ebbc8e1498f892889"}, {"db_id": "mimic_iii", "question": "when was the last time until 11/2105 patient 52898 was prescribed a drug via the ir route?", "template": "when was the last time that patient 52898 was prescribed a medication via ir route until 11/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) and prescriptions.route = 'ir' and strftime('%y-%m',prescriptions.startdate) <= '2105-11' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "ir", "patient_id": 52898}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e9b83b71fead99cf140a3645"}, {"db_id": "mimic_iii", "question": "when is the first time patient 7698 was prescribed a medication via pr route in a month before?", "template": "when was the first time that patient 7698 was prescribed a medication via pr route last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) and prescriptions.route = 'pr' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate asc limit 1", "value": {"drug_route": "pr", "patient_id": 7698}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93b663c7a36d037a49a56487"}, {"db_id": "mimic_iii", "question": "until 06/2105 what was the first time patient 80119 had a medication via iv drip route prescribed?", "template": "when was the first time that patient 80119 was prescribed a medication via iv drip route until 06/2105?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80119 ) and prescriptions.route = 'iv drip' and strftime('%y-%m',prescriptions.startdate) <= '2105-06' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 80119, "drug_route": "iv drip"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5528ddd0b29eba340dc63908"}, {"db_id": "mimic_iii", "question": "until 25 months ago, when was the first time that patient 13329 was prescribed medication via ir?", "template": "when was the first time that patient 13329 was prescribed a medication via ir route until 25 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13329 ) and prescriptions.route = 'ir' and datetime(prescriptions.startdate) <= datetime(current_time,'-25 month') order by prescriptions.startdate asc limit 1", "value": {"drug_route": "ir", "patient_id": 13329}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d445f0a59942785b53b6c929"}, {"db_id": "mimic_iii", "question": "when was patient 77177 first prescribed the medication via the ou route in the first hospital encounter?", "template": "when was the first time that patient 77177 was prescribed a medication via ou route on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77177 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.route = 'ou' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 77177, "drug_route": "ou"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "131e35d826e6f73211140e03"}, {"db_id": "mimic_iii", "question": "when was the last time patient 96833 had a medication prescribed via sc route during their current hospital visit?", "template": "when was the last time that patient 96833 was prescribed a medication via sc route on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) and prescriptions.route = 'sc' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "sc", "patient_id": 96833}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "410b202e226af200330fde1f"}, {"db_id": "mimic_iii", "question": "when did patient 5142 receive a prescription for the last time in the previous month, via po route?", "template": "when was the last time that patient 5142 was prescribed a medication via po route last month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) and prescriptions.route = 'po' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 5142, "drug_route": "po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f4a0f5da5ea67849da70ccc6"}, {"db_id": "mimic_iii", "question": "when was the first time patient 6196 was prescribed a medication via the po/ng?", "template": "when was the first time that patient 6196 was prescribed a medication via po/ng route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6196 ) and prescriptions.route = 'po/ng' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 6196, "drug_route": "po/ng"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f00c3b2f1118e4914c729c7e"}, {"db_id": "mimic_iii", "question": "when the last time patient 3712 was prescribed a medicine via oral route in the last hospital visit?", "template": "when was the last time that patient 3712 was prescribed a medication via oral route on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3712 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'oral' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "oral", "patient_id": 3712}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fed9506499305b39d6c900d2"}, {"db_id": "mimic_iii", "question": "what was the last time until 48 months ago patient 4718 was prescribed a medication via a tt route?", "template": "when was the last time that patient 4718 was prescribed a medication via tt route until 48 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4718 ) and prescriptions.route = 'tt' and datetime(prescriptions.startdate) <= datetime(current_time,'-48 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "tt", "patient_id": 4718}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a4ab4daa62e19581b20a5b3"}, {"db_id": "mimic_iii", "question": "when was patient 73423 for the first time prescribed a drug via po/ng route until 63 months ago?", "template": "when was the first time that patient 73423 was prescribed a medication via po/ng route until 63 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73423 ) and prescriptions.route = 'po/ng' and datetime(prescriptions.startdate) <= datetime(current_time,'-63 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 73423, "drug_route": "po/ng"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6ce60c61c7b399fca093443"}, {"db_id": "mimic_iii", "question": "when was patient 1114 prescribed a medication via oral route the first time in 12/this year?", "template": "when was the first time that patient 1114 was prescribed a medication via oral route in 12/this year?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 ) and prescriptions.route = 'oral' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',prescriptions.startdate) = '12' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "oral", "patient_id": 1114}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4313ffbe0ed4844dd090f9c8"}, {"db_id": "mimic_iii", "question": "when was the first time patient 26175 was prescribed a medication via iv drip route?", "template": "when was the first time that patient 26175 was prescribed a medication via iv drip route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26175 ) and prescriptions.route = 'iv drip' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 26175, "drug_route": "iv drip"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2378d5209d3a9efa3542e965"}, {"db_id": "mimic_iii", "question": "when was patient 10266 prescribed a medication via pr route the first time during their first hospital visit?", "template": "when was the first time that patient 10266 was prescribed a medication via pr route on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10266 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.route = 'pr' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 10266, "drug_route": "pr"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6a9842108097d208f9515ef5"}, {"db_id": "mimic_iii", "question": "when was patient 30614 last prescribed a medication using the po route in 12/2103?", "template": "when was the last time that patient 30614 was prescribed a medication via po route in 12/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30614 ) and prescriptions.route = 'po' and strftime('%y-%m',prescriptions.startdate) = '2103-12' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 30614, "drug_route": "po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fff1f83a288d7f9650b86d2c"}, {"db_id": "mimic_iii", "question": "when did patient 97314 get prescribed a drug via iv for the last time until 3 months ago?", "template": "when was the last time that patient 97314 was prescribed a medication via iv route until 3 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97314 ) and prescriptions.route = 'iv' and datetime(prescriptions.startdate) <= datetime(current_time,'-3 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 97314, "drug_route": "iv"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb5d519cb27fbff1452a2b6a"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 88573 was prescribed a medication via ih route?", "template": "when was the last time that patient 88573 was prescribed a medication via ih route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88573 ) and prescriptions.route = 'ih' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "ih", "patient_id": 88573}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d15cc3f038a4256f3db803c6"}, {"db_id": "mimic_iii", "question": "when was the first time in their last hospital visit patient 47295 was prescribed a drug via the oral route?", "template": "when was the first time that patient 47295 was prescribed a medication via oral route on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47295 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'oral' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "oral", "patient_id": 47295}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c956eda8db3b6e260ced4ea"}, {"db_id": "mimic_iii", "question": "when was patient 70516 last prescribed a medication using the right eye route since 10/2104?", "template": "when was the last time that patient 70516 was prescribed a medication via right eye route since 10/2104?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70516 ) and prescriptions.route = 'right eye' and strftime('%y-%m',prescriptions.startdate) >= '2104-10' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "right eye", "patient_id": 70516}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed1e512d36ef1694cbac1d8d"}, {"db_id": "mimic_iii", "question": "and what was the last time patient 2957 was prescribed medication using the iv drip route since 120 months ago?", "template": "when was the last time that patient 2957 was prescribed a medication via iv drip route since 120 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2957 ) and prescriptions.route = 'iv drip' and datetime(prescriptions.startdate) >= datetime(current_time,'-120 month') order by prescriptions.startdate desc limit 1", "value": {"patient_id": 2957, "drug_route": "iv drip"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "60e5e15fdc15673975fdc41c"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 25796 was prescribed a drug via pr?", "template": "when was the last time that patient 25796 was prescribed a medication via pr route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25796 ) and prescriptions.route = 'pr' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "pr", "patient_id": 25796}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c270a03b78a28bc47391016b"}, {"db_id": "mimic_iii", "question": "when did patient 10855 receive a prescription for the last time since 11/2102, via tt route?", "template": "when was the last time that patient 10855 was prescribed a medication via tt route since 11/2102?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and prescriptions.route = 'tt' and strftime('%y-%m',prescriptions.startdate) >= '2102-11' order by prescriptions.startdate desc limit 1", "value": {"drug_route": "tt", "patient_id": 10855}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ed2311a8c6f98f42783ebb6"}, {"db_id": "mimic_iii", "question": "and what was the first time patient 71192 was prescribed medication using the lock route in 07/2103?", "template": "when was the first time that patient 71192 was prescribed a medication via lock route in 07/2103?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71192 ) and prescriptions.route = 'lock' and strftime('%y-%m',prescriptions.startdate) = '2103-07' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "lock", "patient_id": 71192}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6205fdc0b848a57681e6c0d1"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 65484 was prescribed a medication via po?", "template": "when was the last time that patient 65484 was prescribed a medication via po route?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65484 ) and prescriptions.route = 'po' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 65484, "drug_route": "po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:null]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de60ddbd85377262e548e80a"}, {"db_id": "mimic_iii", "question": "when was patient 52898 for the last time prescribed a medication via the right ear route since 176 months ago?", "template": "when was the last time that patient 52898 was prescribed a medication via right ear route since 176 month ago?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) and prescriptions.route = 'right ear' and datetime(prescriptions.startdate) >= datetime(current_time,'-176 month') order by prescriptions.startdate desc limit 1", "value": {"drug_route": "right ear", "patient_id": 52898}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "55c2a174b92a5f951709bf77"}, {"db_id": "mimic_iii", "question": "when was for the last time during the last hospital encounter patient 31696 prescribed a medication via po/ng route?", "template": "when was the last time that patient 31696 was prescribed a medication via po/ng route on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31696 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'po/ng' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 31696, "drug_route": "po/ng"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f38a83b515f8c2d90c8c6c9"}, {"db_id": "mimic_iii", "question": "when did patient 96833 receive a prescription for the first time during this month, via pr route?", "template": "when was the first time that patient 96833 was prescribed a medication via pr route this month?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 ) and prescriptions.route = 'pr' and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month') order by prescriptions.startdate asc limit 1", "value": {"patient_id": 96833, "drug_route": "pr"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "44bedf65b8a2b575496ed9cc"}, {"db_id": "mimic_iii", "question": "what time is the first time patient 57050 was prescribed a medicine via im route during this hospital visit?", "template": "when was the first time that patient 57050 was prescribed a medication via im route on the current hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57050 and admissions.dischtime is null ) and prescriptions.route = 'im' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "im", "patient_id": 57050}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee79ef76a6f7f685aebd43d3"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 47460 was prescribed medication during the last hospital encounter via iv route?", "template": "when was the last time that patient 47460 was prescribed a medication via iv route on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47460 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'iv' order by prescriptions.startdate desc limit 1", "value": {"patient_id": 47460, "drug_route": "iv"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b84ed5fc6bfdc5651619cd0c"}, {"db_id": "mimic_iii", "question": "when was the first time that on the first hospital encounter patient 71192 was prescribed a medication via lock?", "template": "when was the first time that patient 71192 was prescribed a medication via lock route on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71192 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.route = 'lock' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "lock", "patient_id": 71192}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "493e093bab4fc9bb472b2307"}, {"db_id": "mimic_iii", "question": "when was patient 27362 first prescribed the medication via the irr route in the last hospital visit?", "template": "when was the first time that patient 27362 was prescribed a medication via irr route on the last hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and prescriptions.route = 'irr' order by prescriptions.startdate asc limit 1", "value": {"drug_route": "irr", "patient_id": 27362}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16a81de3d2c0cd41d1bb5b22"}, {"db_id": "mimic_iii", "question": "when they visited the hospital first time, when was patient 32592 prescribed a medication via pb route for the first time?", "template": "when was the first time that patient 32592 was prescribed a medication via pb route on the first hospital visit?", "query": "select prescriptions.startdate from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32592 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and prescriptions.route = 'pb' order by prescriptions.startdate asc limit 1", "value": {"patient_id": 32592, "drug_route": "pb"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} was prescribed a medication via {drug_route} route [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "low", "para_type": "machine", "is_impossible": false, "split": "train", "id": "41b2b0a06d3108359945dfc6"}, {"db_id": "mimic_iii", "question": "what was first lab test time a month before for patient 5142?", "template": "when was the first lab test of patient 5142 last month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 5142}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca6b970ce2b656db3cfde940"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 46802 had a lab test?", "template": "when was the first lab test of patient 46802?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 46802 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 46802}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2d551c1eed30fbf9527aa906"}, {"db_id": "mimic_iii", "question": "what was the time of patient 83225's last laboratory test in the first hospital visit?", "template": "when was the last lab test of patient 83225 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83225 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 83225}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e108f4f7f7330fcbb77f4739"}, {"db_id": "mimic_iii", "question": "when did patient 14671 receive the last lab test, during this hospital visit?", "template": "when was the last lab test of patient 14671 on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14671 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 14671}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bb03bbab85ec1d3a8dcfe93"}, {"db_id": "mimic_iii", "question": "when was the first test performed in the lab on patient 71689?", "template": "when was the first lab test of patient 71689?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 71689 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 71689}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "081ec3eb70e714ffe0c4cb56"}, {"db_id": "mimic_iii", "question": "when was the first laboratory test done on patient 56829?", "template": "when was the first lab test of patient 56829?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56829 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 56829}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ce7790ae97cc1d3af442342"}, {"db_id": "mimic_iii", "question": "when did patient 23929 receive a lab test in 08/last year last time?", "template": "when was the last lab test of patient 23929 in 08/last year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23929 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '08' order by labevents.charttime desc limit 1", "value": {"patient_id": 23929}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c5ddffee5dbee1a025803ab"}, {"db_id": "mimic_iii", "question": "when did patient 65582 get in the first hospital encounter a lab test for the first time?", "template": "when was the first lab test of patient 65582 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 65582}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a5625009bc0380bb21d65c6c"}, {"db_id": "mimic_iii", "question": "when did patient 52898 receive a test in the lab for the last time this month?", "template": "when was the last lab test of patient 52898 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 52898}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8611380f11eaf3f4e4de00e5"}, {"db_id": "mimic_iii", "question": "for the last time in their current hospital encounter, when was patient 22648 given a lab test?", "template": "when was the last lab test of patient 22648 on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 22648}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d38b0ccd0b162054c486e73"}, {"db_id": "mimic_iii", "question": "when did patient 95057's first lab test take place in 12/this year?", "template": "when was the first lab test of patient 95057 in 12/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95057 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.charttime asc limit 1", "value": {"patient_id": 95057}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3c49916f061fe5d12a9cac52"}, {"db_id": "mimic_iii", "question": "when did patient 73075 first have a laboratory test in 12/2104?", "template": "when was the first lab test of patient 73075 in 12/2104?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73075 ) and strftime('%y-%m',labevents.charttime) = '2104-12' order by labevents.charttime asc limit 1", "value": {"patient_id": 73075}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "72e919fd7f41ac6d490ac3da"}, {"db_id": "mimic_iii", "question": "when has patient 8016 for the first time received a lab test last month?", "template": "when was the first lab test of patient 8016 last month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 8016}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8c9263ea2876e40821943eda"}, {"db_id": "mimic_iii", "question": "when did the last lab test of patient 61751 happened in 11/2105?", "template": "when was the last lab test of patient 61751 in 11/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61751 ) and strftime('%y-%m',labevents.charttime) = '2105-11' order by labevents.charttime desc limit 1", "value": {"patient_id": 61751}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "17c44533cb020c14ca1945ac"}, {"db_id": "mimic_iii", "question": "when was the first lab test patient 55624 has received until 02/2100?", "template": "when was the first lab test of patient 55624 until 02/2100?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55624 ) and strftime('%y-%m',labevents.charttime) <= '2100-02' order by labevents.charttime asc limit 1", "value": {"patient_id": 55624}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "53e51474a2e5160bbfcc47bf"}, {"db_id": "mimic_iii", "question": "during this month, what was the last lab test time for patient 76327?", "template": "when was the last lab test of patient 76327 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 76327}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cc4414f41ca556f76f1c0aec"}, {"db_id": "mimic_iii", "question": "what was the first time patient 73913 had been tested for lab tests?", "template": "when was the first lab test of patient 73913?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73913 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 73913}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e4c44e032331daed4bee8bf0"}, {"db_id": "mimic_iii", "question": "when was the first time patient 2425 had a lab test, until 35 months ago?", "template": "when was the first lab test of patient 2425 until 35 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2425 ) and datetime(labevents.charttime) <= datetime(current_time,'-35 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 2425}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42544768fe42ba40bcd85ff0"}, {"db_id": "mimic_iii", "question": "when did patient 72364 receive the first test of a lab since 07/2105?", "template": "when was the first lab test of patient 72364 since 07/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72364 ) and strftime('%y-%m',labevents.charttime) >= '2105-07' order by labevents.charttime asc limit 1", "value": {"patient_id": 72364}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e26a9e737e388748ff8cd00"}, {"db_id": "mimic_iii", "question": "when was the first laboratory test patient 14458 received in 09/2104?", "template": "when was the first lab test of patient 14458 in 09/2104?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14458 ) and strftime('%y-%m',labevents.charttime) = '2104-09' order by labevents.charttime asc limit 1", "value": {"patient_id": 14458}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e5fe54ff0a0d4665aa9104e"}, {"db_id": "mimic_iii", "question": "when did patient 83038 get for the first time a lab test in this month?", "template": "when was the first lab test of patient 83038 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83038 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 83038}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c421cda07803010b66127999"}, {"db_id": "mimic_iii", "question": "for the first time on their first hospital encounter, when did patient 16572 get a lab test?", "template": "when was the first lab test of patient 16572 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 16572}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a81a128e8b3edf4c1a948dfb"}, {"db_id": "mimic_iii", "question": "when was patient 1272 first tested at a laboratory in 11/2104?", "template": "when was the first lab test of patient 1272 in 11/2104?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1272 ) and strftime('%y-%m',labevents.charttime) = '2104-11' order by labevents.charttime asc limit 1", "value": {"patient_id": 1272}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a4b1c9acdaaf985695f63215"}, {"db_id": "mimic_iii", "question": "what was the first time patient 65582 this month received a lab test?", "template": "when was the first lab test of patient 65582 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 65582}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8fefc83cae20d2f72345c9b9"}, {"db_id": "mimic_iii", "question": "in 03/this year when did patient 70516 get a lab test for the last time?", "template": "when was the last lab test of patient 70516 in 03/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70516 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '03' order by labevents.charttime desc limit 1", "value": {"patient_id": 70516}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2bd0c197ae883a78684ffc8a"}, {"db_id": "mimic_iii", "question": "when did the last lab test of patient 20165 until 09/2100 happen?", "template": "when was the last lab test of patient 20165 until 09/2100?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20165 ) and strftime('%y-%m',labevents.charttime) <= '2100-09' order by labevents.charttime desc limit 1", "value": {"patient_id": 20165}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ffacf23c42da408cc2927b19"}, {"db_id": "mimic_iii", "question": "when did patient 26849 on the last hospital encounter get a lab test for the first time?", "template": "when was the first lab test of patient 26849 on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26849 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 26849}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "202e66e6e581e8fb7b6a48cc"}, {"db_id": "mimic_iii", "question": "when did the first test of patient 72364 happen since 07/2105?", "template": "when was the first lab test of patient 72364 since 07/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72364 ) and strftime('%y-%m',labevents.charttime) >= '2105-07' order by labevents.charttime asc limit 1", "value": {"patient_id": 72364}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c4d7bcb04307406f6e2a66d"}, {"db_id": "mimic_iii", "question": "when did patient 8244 last receive a lab test since 12/2105.", "template": "when was the last lab test of patient 8244 since 12/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8244 ) and strftime('%y-%m',labevents.charttime) >= '2105-12' order by labevents.charttime desc limit 1", "value": {"patient_id": 8244}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a1e97eb313836a2f9e5f894"}, {"db_id": "mimic_iii", "question": "when did patient 65484 have the last lab test during their first hospital visit?", "template": "when was the last lab test of patient 65484 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65484 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 65484}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "859bb9228481386c51b17b7b"}, {"db_id": "mimic_iii", "question": "when was the first lab test for patient 61527 in 03/last year?", "template": "when was the first lab test of patient 61527 in 03/last year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61527 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '03' order by labevents.charttime asc limit 1", "value": {"patient_id": 61527}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f277b4dc16e720cbadcc0beb"}, {"db_id": "mimic_iii", "question": "when they came to the hospital last time, when did patient 83894 get a first lab test?", "template": "when was the first lab test of patient 83894 on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83894 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 83894}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "22095f4137d6dfcec9001a9b"}, {"db_id": "mimic_iii", "question": "when was patient 26286 tested for a lab test for the first time since 07/2105?", "template": "when was the first lab test of patient 26286 since 07/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26286 ) and strftime('%y-%m',labevents.charttime) >= '2105-07' order by labevents.charttime asc limit 1", "value": {"patient_id": 26286}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8f14ac63a814afe7f235009f"}, {"db_id": "mimic_iii", "question": "when did patient 21074 get a lab test until 27 months ago for the last time?", "template": "when was the last lab test of patient 21074 until 27 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21074 ) and datetime(labevents.charttime) <= datetime(current_time,'-27 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 21074}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "350d0cb32411fefcbcd17932"}, {"db_id": "mimic_iii", "question": "on their current hospital encounter when patient 76327 first received a lab test?", "template": "when was the first lab test of patient 76327 on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76327 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 76327}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8ad8f24be40e3b276eec96fd"}, {"db_id": "mimic_iii", "question": "when did patient 17667 receive the lab test first time in the current hospital visit?", "template": "when was the first lab test of patient 17667 on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17667 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 17667}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de5b349f2c1a63819dd93aed"}, {"db_id": "mimic_iii", "question": "when did the last laboratory test of patient 97395 take place since 07/2105?", "template": "when was the last lab test of patient 97395 since 07/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97395 ) and strftime('%y-%m',labevents.charttime) >= '2105-07' order by labevents.charttime desc limit 1", "value": {"patient_id": 97395}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2c897e25433b13208aaa873f"}, {"db_id": "mimic_iii", "question": "when was patient 84476 given for the first time a lab test since 61 months ago?", "template": "when was the first lab test of patient 84476 since 61 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84476 ) and datetime(labevents.charttime) >= datetime(current_time,'-61 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 84476}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45e45516342558a963981294"}, {"db_id": "mimic_iii", "question": "what time patient 40059 got a lab test for the first time the last month?", "template": "when was the first lab test of patient 40059 last month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 40059}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "83e4059acd607a5eb11d7caa"}, {"db_id": "mimic_iii", "question": "when patient 5887 was receiving a lab test for the first time on the last hospital visit?", "template": "when was the first lab test of patient 5887 on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5887 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 5887}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ed78e71cf1914d8d2c3cda58"}, {"db_id": "mimic_iii", "question": "when patient 49141 did get a lab test the first time during their first hospital visit?", "template": "when was the first lab test of patient 49141 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49141 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 49141}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1b1bc613982c300557535043"}, {"db_id": "mimic_iii", "question": "when did patient 24517 receive a laboratory test for the last time?", "template": "when was the last lab test of patient 24517?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24517 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 24517}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "26b7186a72c6dc9abbf1716e"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 32153 received a lab test since 06/2105?", "template": "when was the last lab test of patient 32153 since 06/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32153 ) and strftime('%y-%m',labevents.charttime) >= '2105-06' order by labevents.charttime desc limit 1", "value": {"patient_id": 32153}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a7ab15ae1dfafcdb0b5300db"}, {"db_id": "mimic_iii", "question": "when patient 1561 received a lab test for the last time this month?", "template": "when was the last lab test of patient 1561 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1561 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 1561}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2bf18c118c8fb1616a336d49"}, {"db_id": "mimic_iii", "question": "when did the last lab test of patient 60136 on the current hospital encounter take place?", "template": "when was the last lab test of patient 60136 on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 60136}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ec7dcb3044a606183e93ccbf"}, {"db_id": "mimic_iii", "question": "in this month when was the first lab test of patient 92788?", "template": "when was the first lab test of patient 92788 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 92788}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c9dabb890a0781b029d42fe2"}, {"db_id": "mimic_iii", "question": "when was the last laboratory test in 12/2105 for patient 40707?", "template": "when was the last lab test of patient 40707 in 12/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 ) and strftime('%y-%m',labevents.charttime) = '2105-12' order by labevents.charttime desc limit 1", "value": {"patient_id": 40707}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1270564aeb9b91b00e261a15"}, {"db_id": "mimic_iii", "question": "when has patient 1489 received the first lab test during their last hospital visit?", "template": "when was the first lab test of patient 1489 on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1489 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 1489}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9a64d2cf6ca42d8180fe4c39"}, {"db_id": "mimic_iii", "question": "since 135 months ago, when did patient 366 last receive a lab test?", "template": "when was the last lab test of patient 366 since 135 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 366 ) and datetime(labevents.charttime) >= datetime(current_time,'-135 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 366}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "995fbaeaf5db51dc92f401fd"}, {"db_id": "mimic_iii", "question": "when patient 10266 was receiving a lab test for the first time when they visited the hospital first time?", "template": "when was the first lab test of patient 10266 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10266 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 10266}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ea37bf121f3222bcdefc4fa7"}, {"db_id": "mimic_iii", "question": "when did the first lab test of patient 92846 happened during this month?", "template": "when was the first lab test of patient 92846 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92846 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 92846}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03b857b9fc00f3f59ba7f82d"}, {"db_id": "mimic_iii", "question": "when did patient 52647 get a last lab test?", "template": "when was the last lab test of patient 52647?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52647 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 52647}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ebe90272c4f09faf2445d38d"}, {"db_id": "mimic_iii", "question": "during the first hospital visit, when did patient 52598 first receive a lab test?", "template": "when was the first lab test of patient 52598 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52598 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 52598}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bcdfd55e49e3b298beec9773"}, {"db_id": "mimic_iii", "question": "when did patient 29410 receive the first lab test, during their first hospital visit?", "template": "when was the first lab test of patient 29410 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29410 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 29410}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b247341ac72a2f92567a0e5d"}, {"db_id": "mimic_iii", "question": "when did patient 4401 get a lab test this month for the last time?", "template": "when was the last lab test of patient 4401 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 4401}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "51ae3546d722d7f0a336a159"}, {"db_id": "mimic_iii", "question": "when did the last lab test of patient 29741 until 22 months ago happen?", "template": "when was the last lab test of patient 29741 until 22 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 29741 ) and datetime(labevents.charttime) <= datetime(current_time,'-22 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 29741}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "06f670de791c2c1de234d3e6"}, {"db_id": "mimic_iii", "question": "what was last lab test time during this month for patient 4401?", "template": "when was the last lab test of patient 4401 this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 4401}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "42f0609221f08cf2ddcd8443"}, {"db_id": "mimic_iii", "question": "when did the last lab test of patient 64185 in 07/this year happen?", "template": "when was the last lab test of patient 64185 in 07/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64185 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '07' order by labevents.charttime desc limit 1", "value": {"patient_id": 64185}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c8f7670e1153b71148a59a3"}, {"db_id": "mimic_iii", "question": "what time patient 13837 got a lab test for the last time during their first hospital visit?", "template": "when was the last lab test of patient 13837 on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13837 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 13837}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dffac3d3d57fe15c374ba2ec"}, {"db_id": "mimic_iii", "question": "when did patient 67468 get in their last hospital encounter a lab test for the last time?", "template": "when was the last lab test of patient 67468 on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67468 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 67468}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ce6db6df9cca3339ff4e805"}, {"db_id": "mimic_iii", "question": "what was the time of patient 31880's last laboratory test?", "template": "when was the last lab test of patient 31880?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31880 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 31880}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] lab test of patient {patient_id} [time_filter_global1:null]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "89de1da172e88e7535bfd10c"}, {"db_id": "mimic_iii", "question": "for the first time during their last hospital encounter, when did patient 13837 get a lab test?", "template": "when was the first lab test of patient 13837 on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13837 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 13837}, "q_tag": "when was the [time_filter_exact1] lab test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] lab test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d951a872223a00e89fbc7f9"}, {"db_id": "mimic_iii", "question": "what was the first magnesium lab test time in 10/this year for patient 22120?", "template": "when was the first time that patient 22120 received a magnesium lab test in 10/this year?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22120 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '10' order by labevents.charttime asc limit 1", "value": {"lab_name": "magnesium", "patient_id": 22120}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7aad1da9938cd8b260e3e1b0"}, {"db_id": "mimic_iii", "question": "tell me the first time that patient 87942 had a pt lab test in the last hospital visit?", "template": "when was the first time that patient 87942 received a pt lab test on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87942 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1", "value": {"lab_name": "pt", "patient_id": 87942}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d04586c6f7f9f62594778673"}, {"db_id": "mimic_iii", "question": "what was the first time until 29 months ago patient 30235 received a bilirubin, total lab test?", "template": "when was the first time that patient 30235 received a bilirubin, total lab test until 29 month ago?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30235 ) and datetime(labevents.charttime) <= datetime(current_time,'-29 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "bilirubin, total", "patient_id": 30235}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e39156d95a22e42406e41659"}, {"db_id": "mimic_iii", "question": "when was the first time patient 1014 got a lab test for platelet count since 19 months ago?", "template": "when was the first time that patient 1014 received a platelet count lab test since 19 month ago?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1014 ) and datetime(labevents.charttime) >= datetime(current_time,'-19 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 1014, "lab_name": "platelet count"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0092aa7c696a3dabf65bce1d"}, {"db_id": "mimic_iii", "question": "when was the last time patient 86209 had a chloride test in the lab since 88 months ago?", "template": "when was the last time that patient 86209 received a chloride lab test since 88 month ago?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86209 ) and datetime(labevents.charttime) >= datetime(current_time,'-88 month') order by labevents.charttime desc limit 1", "value": {"lab_name": "chloride", "patient_id": 86209}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd2653a9dec26f6e9e0fdc5b"}, {"db_id": "mimic_iii", "question": "when was the first time patient 30171 got a lab test until 05/2105 for bicarbonate?", "template": "when was the first time that patient 30171 received a bicarbonate lab test until 05/2105?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30171 ) and strftime('%y-%m',labevents.charttime) <= '2105-05' order by labevents.charttime asc limit 1", "value": {"patient_id": 30171, "lab_name": "bicarbonate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "850483f9f6f92fc0f79b6708"}, {"db_id": "mimic_iii", "question": "when did patient 8016 had a mch test the first time during a month before?", "template": "when was the first time that patient 8016 received a mch lab test last month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 8016, "lab_name": "mch"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c020807f937ad1cf94e8ed60"}, {"db_id": "mimic_iii", "question": "when has patient 18742 been given calculated total co2 test for the first time since 102 months ago?", "template": "when was the first time that patient 18742 received a calculated total co2 lab test since 102 month ago?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18742 ) and datetime(labevents.charttime) >= datetime(current_time,'-102 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 18742, "lab_name": "calculated total co2"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "741fd013bf261647c4030488"}, {"db_id": "mimic_iii", "question": "when had patient 72107 received the sodium lab test for the last time when they came to the hospital first time?", "template": "when was the last time that patient 72107 received a sodium lab test on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72107 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 72107, "lab_name": "sodium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de42a13cf0b24c8a1f8562d3"}, {"db_id": "mimic_iii", "question": "when was the last mchc test that patient 14203 received until 05/2101?", "template": "when was the last time that patient 14203 received a mchc lab test until 05/2101?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14203 ) and strftime('%y-%m',labevents.charttime) <= '2101-05' order by labevents.charttime desc limit 1", "value": {"patient_id": 14203, "lab_name": "mchc"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0cc7c3e5e00ecd52f82aac09"}, {"db_id": "mimic_iii", "question": "what was the time of the last bicarbonate lab test of patient 24118 when they came to the hospital last time?", "template": "when was the last time that patient 24118 received a bicarbonate lab test on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24118 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 24118, "lab_name": "bicarbonate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9015f405265c6a8716e43f71"}, {"db_id": "mimic_iii", "question": "when did patient 30044 for the last time until 07/2100 receive the ptt test?", "template": "when was the last time that patient 30044 received a ptt lab test until 07/2100?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30044 ) and strftime('%y-%m',labevents.charttime) <= '2100-07' order by labevents.charttime desc limit 1", "value": {"patient_id": 30044, "lab_name": "ptt"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da357c53ee093078c965bfef"}, {"db_id": "mimic_iii", "question": "when did patient 6440 first receive his or her ptt lab test in 12/2103?", "template": "when was the first time that patient 6440 received a ptt lab test in 12/2103?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6440 ) and strftime('%y-%m',labevents.charttime) = '2103-12' order by labevents.charttime asc limit 1", "value": {"patient_id": 6440, "lab_name": "ptt"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e121b7f4e1bb519892532115"}, {"db_id": "mimic_iii", "question": "when did patient 80555 receive bicarbonate test the first time during their current hospital encounter?", "template": "when was the first time that patient 80555 received a bicarbonate lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80555 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"lab_name": "bicarbonate", "patient_id": 80555}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "46e31d8f045f731f7dec355c"}, {"db_id": "mimic_iii", "question": "when did patient 22648 first take a rdw lab test in 12/this year?", "template": "when was the first time that patient 22648 received a rdw lab test in 12/this year?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.charttime asc limit 1", "value": {"patient_id": 22648, "lab_name": "rdw"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "63891e3891b98c89dd768470"}, {"db_id": "mimic_iii", "question": "when did patient 3516 first receive a lab test for potassium since 04/2103?", "template": "when was the first time that patient 3516 received a potassium lab test since 04/2103?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3516 ) and strftime('%y-%m',labevents.charttime) >= '2103-04' order by labevents.charttime asc limit 1", "value": {"lab_name": "potassium", "patient_id": 3516}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bab0f09222fe8e50772ae57e"}, {"db_id": "mimic_iii", "question": "when was the last time until 07/2105 that patient 84476 was given a platelet count lab test?", "template": "when was the last time that patient 84476 received a platelet count lab test until 07/2105?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 84476 ) and strftime('%y-%m',labevents.charttime) <= '2105-07' order by labevents.charttime desc limit 1", "value": {"patient_id": 84476, "lab_name": "platelet count"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cf1112d5a73d75c96d5c1a57"}, {"db_id": "mimic_iii", "question": "when was patient 728 given a alkaline phosphatase lab test for the last time?", "template": "when was the last time that patient 728 received a alkaline phosphatase lab test?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'alkaline phosphatase' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 728 ) order by labevents.charttime desc limit 1", "value": {"patient_id": 728, "lab_name": "alkaline phosphatase"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37cefde34e9a78e0b1a28499"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 7112 during this hospital visit received a hemoglobin lab test?", "template": "when was the last time that patient 7112 received a hemoglobin lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7112 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "hemoglobin", "patient_id": 7112}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb9c63c2c31157f44c37ade8"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 5828 was tested for neutrophils during this month?", "template": "when was the first time that patient 5828 received a neutrophils lab test this month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 5828, "lab_name": "neutrophils"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d2c12a8e1a7528dc5d55581"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 22648 during this month was given a hematocrit lab test?", "template": "when was the first time that patient 22648 received a hematocrit lab test this month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"lab_name": "hematocrit", "patient_id": 22648}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "16b1dd2cc720e3a993be6bca"}, {"db_id": "mimic_iii", "question": "when was patient 20898 last given a eosinophils test during this hospital encounter?", "template": "when was the last time that patient 20898 received a eosinophils lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'eosinophils' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 20898, "lab_name": "eosinophils"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac1aedb217df24ae2c042eca"}, {"db_id": "mimic_iii", "question": "when was the first time patient 13054 received a sodium test in the laboratory since 11/2102?", "template": "when was the first time that patient 13054 received a sodium lab test since 11/2102?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 ) and strftime('%y-%m',labevents.charttime) >= '2102-11' order by labevents.charttime asc limit 1", "value": {"patient_id": 13054, "lab_name": "sodium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c5a573db142c582f78a8f0d0"}, {"db_id": "mimic_iii", "question": "when is the last time that patient 23436 has received a hemoglobin lab test in this month?", "template": "when was the last time that patient 23436 received a hemoglobin lab test this month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 23436, "lab_name": "hemoglobin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "311f1b68a81c9290f09a676b"}, {"db_id": "mimic_iii", "question": "when did patient 15794 have a first anion gap laboratory test during their current hospital visit?", "template": "when was the first time that patient 15794 received a anion gap lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 and admissions.dischtime is null ) order by labevents.charttime asc limit 1", "value": {"patient_id": 15794, "lab_name": "anion gap"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a1d0563ae86009a872b66e2b"}, {"db_id": "mimic_iii", "question": "when did patient 62983 get the oxygen saturation lab test last time until 26 months ago?", "template": "when was the last time that patient 62983 received a oxygen saturation lab test until 26 month ago?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'oxygen saturation' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 62983 ) and datetime(labevents.charttime) <= datetime(current_time,'-26 month') order by labevents.charttime desc limit 1", "value": {"lab_name": "oxygen saturation", "patient_id": 62983}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7c11b31ae6e2100f80b5da22"}, {"db_id": "mimic_iii", "question": "when was patient 65582 tested for magnesium for the last time this month?", "template": "when was the last time that patient 65582 received a magnesium lab test this month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 65582, "lab_name": "magnesium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bbdc94d7e05700f20c42c58d"}, {"db_id": "mimic_iii", "question": "when did patient 92788 get white blood cells lab test for the last time during their current hospital visit?", "template": "when was the last time that patient 92788 received a white blood cells lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"lab_name": "white blood cells", "patient_id": 92788}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "00ead7b669cdeddd7aea42ba"}, {"db_id": "mimic_iii", "question": "when did patient 32168 have a hemoglobin test for the first time on their first hospital visit?", "template": "when was the first time that patient 32168 received a hemoglobin lab test on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32168 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"lab_name": "hemoglobin", "patient_id": 32168}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c08ea7463925c4768f3e875"}, {"db_id": "mimic_iii", "question": "what was the first ph laboratory test time patient 31482 had during this month?", "template": "when was the first time that patient 31482 received a ph lab test this month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 31482, "lab_name": "ph"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8b5d8ababe35124f5e448f32"}, {"db_id": "mimic_iii", "question": "when was the first time patient 51200 was tested for ptt during the previous month?", "template": "when was the first time that patient 51200 received a ptt lab test last month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51200 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 51200, "lab_name": "ptt"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac883b1146f5d81322226e4c"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 19981 was given a hemoglobin lab test in 02/last year?", "template": "when was the last time that patient 19981 received a hemoglobin lab test in 02/last year?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19981 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '02' order by labevents.charttime desc limit 1", "value": {"patient_id": 19981, "lab_name": "hemoglobin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:mix-month-last_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "02d7d2e0d17d43ce6cd187c3"}, {"db_id": "mimic_iii", "question": "when in 05/this year was patient 3939's last test for po2?", "template": "when was the last time that patient 3939 received a po2 lab test in 05/this year?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3939 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '05' order by labevents.charttime desc limit 1", "value": {"patient_id": 3939, "lab_name": "po2"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65962281d19e4aaa1c70443e"}, {"db_id": "mimic_iii", "question": "what was the first time patient 24894 received calcium, total in a lab test during the first hospital visit?", "template": "when was the first time that patient 24894 received a calcium, total lab test on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24894 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by labevents.charttime asc limit 1", "value": {"patient_id": 24894, "lab_name": "calcium, total"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-first]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "024cc1f72d1ec9d7b87e3a93"}, {"db_id": "mimic_iii", "question": "when was patient 16572 last tested until 11/2103 for chloride, whole blood?", "template": "when was the last time that patient 16572 received a chloride, whole blood lab test until 11/2103?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride, whole blood' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 ) and strftime('%y-%m',labevents.charttime) <= '2103-11' order by labevents.charttime desc limit 1", "value": {"patient_id": 16572, "lab_name": "chloride, whole blood"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fcd31719e161456d57837964"}, {"db_id": "mimic_iii", "question": "when has patient 79348 received a calcium, total lab test for the first time in 05/this year?", "template": "when was the first time that patient 79348 received a calcium, total lab test in 05/this year?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 79348 ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '05' order by labevents.charttime asc limit 1", "value": {"patient_id": 79348, "lab_name": "calcium, total"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:mix-month-this_year]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9b5f90cc841617873676cde"}, {"db_id": "mimic_iii", "question": "when was the last time patient 14749 until 04/2104 had a base excess laboratory test?", "template": "when was the last time that patient 14749 received a base excess lab test until 04/2104?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14749 ) and strftime('%y-%m',labevents.charttime) <= '2104-04' order by labevents.charttime desc limit 1", "value": {"patient_id": 14749, "lab_name": "base excess"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0d3a64e86b204eba6906efa2"}, {"db_id": "mimic_iii", "question": "when the last time patient 76332 had a phosphate lab test in their current hospital encounter?", "template": "when was the last time that patient 76332 received a phosphate lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 76332 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 76332, "lab_name": "phosphate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "91c67f8bdc98015d14c2cc2c"}, {"db_id": "mimic_iii", "question": "when did patient 49176 receive an mcv laboratory test for the first time since 01/2105?", "template": "when was the first time that patient 49176 received a mcv lab test since 01/2105?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 ) and strftime('%y-%m',labevents.charttime) >= '2105-01' order by labevents.charttime asc limit 1", "value": {"lab_name": "mcv", "patient_id": 49176}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31aeada25d59ba8bcb753701"}, {"db_id": "mimic_iii", "question": "when did patient 49457 get the lipase lab test until 06/2105 for the first time?", "template": "when was the first time that patient 49457 received a lipase lab test until 06/2105?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lipase' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49457 ) and strftime('%y-%m',labevents.charttime) <= '2105-06' order by labevents.charttime asc limit 1", "value": {"patient_id": 49457, "lab_name": "lipase"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e5a47f6d152cdfcf4d8dad1"}, {"db_id": "mimic_iii", "question": "when did patient 20000 receive the first anion gap test since 166 months ago?", "template": "when was the first time that patient 20000 received a anion gap lab test since 166 month ago?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20000 ) and datetime(labevents.charttime) >= datetime(current_time,'-166 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 20000, "lab_name": "anion gap"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "19083fe9f008c15ae2aed6c1"}, {"db_id": "mimic_iii", "question": "when was the last creatinine, urine lab test done for patient 96833 on this hospital encounter?", "template": "when was the last time that patient 96833 received a creatinine, urine lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine, urine' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 96833, "lab_name": "creatinine, urine"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c2b2decfd778291b1ebb9859"}, {"db_id": "mimic_iii", "question": "when did patient 10624 receive a neutrophils lab test, the first time, in 12/2105?", "template": "when was the first time that patient 10624 received a neutrophils lab test in 12/2105?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'neutrophils' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) and strftime('%y-%m',labevents.charttime) = '2105-12' order by labevents.charttime asc limit 1", "value": {"patient_id": 10624, "lab_name": "neutrophils"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d6ea3c0713d9c51466cdf635"}, {"db_id": "mimic_iii", "question": "when did patient 51177 receive a test for cholesterol, total for the last time since 02/2103?", "template": "when was the last time that patient 51177 received a cholesterol, total lab test since 02/2103?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'cholesterol, total' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) and strftime('%y-%m',labevents.charttime) >= '2103-02' order by labevents.charttime desc limit 1", "value": {"lab_name": "cholesterol, total", "patient_id": 51177}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-since]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d80269c3d399ef5455bc27e4"}, {"db_id": "mimic_iii", "question": "when in 09/2102 patient 19059 received the triglycerides test for the last time?", "template": "when was the last time that patient 19059 received a triglycerides lab test in 09/2102?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'triglycerides' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 ) and strftime('%y-%m',labevents.charttime) = '2102-09' order by labevents.charttime desc limit 1", "value": {"lab_name": "triglycerides", "patient_id": 19059}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-in]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0c716fbb737ef19ab9ead5f6"}, {"db_id": "mimic_iii", "question": "in the previous month when did patient 51177 last receive the ptt test?", "template": "when was the last time that patient 51177 received a ptt lab test last month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 51177, "lab_name": "ptt"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "879e5c32d736b600532a56e7"}, {"db_id": "mimic_iii", "question": "when did patient 95057 get the anion gap lab test for the last time during their current hospital encounter?", "template": "when was the last time that patient 95057 received a anion gap lab test on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95057 and admissions.dischtime is null ) order by labevents.charttime desc limit 1", "value": {"patient_id": 95057, "lab_name": "anion gap"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-cur]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "af2c6ebc8e25b31dfd299e53"}, {"db_id": "mimic_iii", "question": "when did patient 3516 receive the first calculated total co2 lab test until 42 months ago?", "template": "when was the first time that patient 3516 received a calculated total co2 lab test until 42 month ago?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3516 ) and datetime(labevents.charttime) <= datetime(current_time,'-42 month') order by labevents.charttime asc limit 1", "value": {"patient_id": 3516, "lab_name": "calculated total co2"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a72107995054b994a9f9d73"}, {"db_id": "mimic_iii", "question": "when was the first time patient 11080 had a anion gap laboratory test?", "template": "when was the first time that patient 11080 received a anion gap lab test?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11080 ) order by labevents.charttime asc limit 1", "value": {"lab_name": "anion gap", "patient_id": 11080}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:null]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd8cdfbcd55c1a93831d290b"}, {"db_id": "mimic_iii", "question": "when did patient 80119 receive bicarbonate test the first time until 03/2105?", "template": "when was the first time that patient 80119 received a bicarbonate lab test until 03/2105?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80119 ) and strftime('%y-%m',labevents.charttime) <= '2105-03' order by labevents.charttime asc limit 1", "value": {"patient_id": 80119, "lab_name": "bicarbonate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:abs-month-until]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "540ff4e98a0e0f50373fa589"}, {"db_id": "mimic_iii", "question": "when during their last hospital visit was patient 4718's first test for atypical lymphocytes?", "template": "when was the first time that patient 4718 received a atypical lymphocytes lab test on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'atypical lymphocytes' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4718 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by labevents.charttime asc limit 1", "value": {"lab_name": "atypical lymphocytes", "patient_id": 4718}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-hosp-last]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e3aba50bc41a2ef23a468b53"}, {"db_id": "mimic_iii", "question": "when was the last time patient 15986 got a lab test in this month for lactate?", "template": "when was the last time that patient 15986 received a lactate lab test this month?", "query": "select labevents.charttime from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15986 ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.charttime desc limit 1", "value": {"patient_id": 15986, "lab_name": "lactate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} received a {lab_name} lab test [time_filter_global1:rel-month-this]?", "department": "['physician', 'nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "125ca120ad22910f18384616"}, {"db_id": "mimic_iii", "question": "when is the last time patient 9619 had the minimum value of potassium until 42 months ago?", "template": "when was the last time that patient 9619 had the minimum value of potassium until 42 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9619 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and datetime(labevents.charttime) <= datetime(current_time,'-42 month') order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"patient_id": 9619, "lab_name": "potassium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ddfe1a24a4f5042491cda56e"}, {"db_id": "mimic_iii", "question": "when did patient 85700 have a minimum potassium for the first time this month?", "template": "when was the first time that patient 85700 had the minimum value of potassium this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85700 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 85700, "lab_name": "potassium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2a606ae36ef66a7c21030351"}, {"db_id": "mimic_iii", "question": "when did patient 97314 have the maximum amount of potassium in 03/this year for the first time?", "template": "when was the first time that patient 97314 had the maximum value of potassium in 03/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97314 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '03' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "potassium", "patient_id": 97314}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37c89931f485c5f047b60218"}, {"db_id": "mimic_iii", "question": "on their last hospital visit, when was the last time patient 80120 had the maximum po2?", "template": "when was the last time that patient 80120 had the maximum value of po2 on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 80120 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "po2", "patient_id": 80120}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5163b06d040d2e025134fef6"}, {"db_id": "mimic_iii", "question": "when was patient 97330 last having the maximum epithelial cells level since 16 months ago?", "template": "when was the last time that patient 97330 had the maximum value of epithelial cells since 16 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'epithelial cells' ) and datetime(labevents.charttime) >= datetime(current_time,'-16 month') order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 97330, "lab_name": "epithelial cells"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "03af162155801b142f55b447"}, {"db_id": "mimic_iii", "question": "when has patient 77053 first had the maximum value of monocytes in 04/this year?", "template": "when was the first time that patient 77053 had the maximum value of monocytes in 04/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77053 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'monocytes' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '04' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 77053, "lab_name": "monocytes"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "726cd2ce32acf172af31b73e"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 81461 had the chloride minimum value since 12/2105?", "template": "when was the last time that patient 81461 had the minimum value of chloride since 12/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 81461 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and strftime('%y-%m',labevents.charttime) >= '2105-12' order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "chloride", "patient_id": 81461}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d24bb00726ec1afe540ec57b"}, {"db_id": "mimic_iii", "question": "what was the first time patient 28959 had the maximum platelet count value until 06/2103?", "template": "when was the first time that patient 28959 had the maximum value of platelet count until 06/2103?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28959 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and strftime('%y-%m',labevents.charttime) <= '2103-06' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 28959, "lab_name": "platelet count"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c989c8f00700b429cf7ecb8a"}, {"db_id": "mimic_iii", "question": "when was the last time when patient 65582 had the maximum value of calculated total co2 since 08/2104?", "template": "when was the last time that patient 65582 had the maximum value of calculated total co2 since 08/2104?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65582 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and strftime('%y-%m',labevents.charttime) >= '2104-08' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "calculated total co2", "patient_id": 65582}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1ace3a2a758b6a8280a62aac"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 5544 had maximum phosphate value in 04/this year?", "template": "when was the first time that patient 5544 had the maximum value of phosphate in 04/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5544 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'phosphate' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '04' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "phosphate", "patient_id": 5544}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0a06b8022a8afc622653b842"}, {"db_id": "mimic_iii", "question": "when did patient 14203 first had the minimum magnesium level until 02/2105?", "template": "when was the first time that patient 14203 had the minimum value of magnesium until 02/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14203 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) and strftime('%y-%m',labevents.charttime) <= '2105-02' order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 14203, "lab_name": "magnesium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a7b04cec5c20dfe237f4221b"}, {"db_id": "mimic_iii", "question": "what was the last time patient 21003 had the minimum level of creatinine in 09/this year?", "template": "when was the last time that patient 21003 had the minimum value of creatinine in 09/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21003 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '09' order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"patient_id": 21003, "lab_name": "creatinine"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4d3665fc7416da53a44f9bce"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 65401 has the minimum chloride in 10/this year?", "template": "when was the first time that patient 65401 had the minimum value of chloride in 10/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65401 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '10' order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 65401, "lab_name": "chloride"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9f463e23a5b9e1831a57919e"}, {"db_id": "mimic_iii", "question": "when did patient 5849 first have maximum white blood cells in 07/last year?", "template": "when was the first time that patient 5849 had the maximum value of white blood cells in 07/last year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5849 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '07' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "white blood cells", "patient_id": 5849}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0cf201ac230d77948bb5a820"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 96774 had a maximum value of potassium, whole blood until 05/2105?", "template": "when was the last time that patient 96774 had the maximum value of potassium, whole blood until 05/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96774 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium, whole blood' ) and strftime('%y-%m',labevents.charttime) <= '2105-05' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 96774, "lab_name": "potassium, whole blood"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6eb41b18606ac9120a1a2d46"}, {"db_id": "mimic_iii", "question": "when did patient 28447 have the first maximum calculated total co2 value since 11/2105?", "template": "when was the first time that patient 28447 had the maximum value of calculated total co2 since 11/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and strftime('%y-%m',labevents.charttime) >= '2105-11' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "calculated total co2", "patient_id": 28447}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7468609e226fdc70f206017e"}, {"db_id": "mimic_iii", "question": "what was the first time patient 12927 had a maximum of hematocrit in this month?", "template": "when was the first time that patient 12927 had the maximum value of hematocrit this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hematocrit' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 12927, "lab_name": "hematocrit"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "100417e1fa4446b84cf19890"}, {"db_id": "mimic_iii", "question": "when was the last time in the first hospital visit that patient 7375 had the maximum value of bilirubin, total?", "template": "when was the last time that patient 7375 had the maximum value of bilirubin, total on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bilirubin, total' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "bilirubin, total", "patient_id": 7375}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fea5d1af4a87690e1a544de3"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 8016 had a maximum potassium in the previous month?", "template": "when was the last time that patient 8016 had the maximum value of potassium last month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 8016, "lab_name": "potassium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6ef5fb824d84d184f2cfde1d"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 85895 had minimum chloride during a month before.", "template": "when was the first time that patient 85895 had the minimum value of chloride last month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 85895, "lab_name": "chloride"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8adf84912d501bacd09d9de9"}, {"db_id": "mimic_iii", "question": "when was the last time during this month that patient 92788 had the minimum lactate value?", "template": "when was the last time that patient 92788 had the minimum value of lactate this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'lactate' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"patient_id": 92788, "lab_name": "lactate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "66f89e45746f2bf8aaa8c488"}, {"db_id": "mimic_iii", "question": "when was patient 60219 last having the minimum value of platelet count since 81 months ago?", "template": "when was the last time that patient 60219 had the minimum value of platelet count since 81 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60219 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'platelet count' ) and datetime(labevents.charttime) >= datetime(current_time,'-81 month') order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "platelet count", "patient_id": 60219}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99d92a19d6db352ce08505a4"}, {"db_id": "mimic_iii", "question": "when was the first time patient 16248 had the maximum glucose until 10/2103?", "template": "when was the first time that patient 16248 had the maximum value of glucose until 10/2103?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16248 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and strftime('%y-%m',labevents.charttime) <= '2103-10' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 16248, "lab_name": "glucose"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d0c4c4ea25d6f2244d0c7ae4"}, {"db_id": "mimic_iii", "question": "what's the last time patient 54825 had a minimum ptt?", "template": "when was the last time that patient 54825 had the minimum value of ptt?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"patient_id": 54825, "lab_name": "ptt"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3c0319702e3648058e21e8dc"}, {"db_id": "mimic_iii", "question": "when is the first time that patient 17435 has had the bicarbonate minimum until 54 months ago?", "template": "when was the first time that patient 17435 had the minimum value of bicarbonate until 54 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17435 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and datetime(labevents.charttime) <= datetime(current_time,'-54 month') order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"lab_name": "bicarbonate", "patient_id": 17435}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5e1008236224246cb04673be"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 42956 had the maximum amount of sodium until 04/2105?", "template": "when was the first time that patient 42956 had the maximum value of sodium until 04/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42956 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and strftime('%y-%m',labevents.charttime) <= '2105-04' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "sodium", "patient_id": 42956}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "24a98d45791c7479dc4cdc89"}, {"db_id": "mimic_iii", "question": "when is the first time patient 92397 had a maximum of bicarbonate in 12/last year?", "template": "when was the first time that patient 92397 had the maximum value of bicarbonate in 12/last year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92397 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '12' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 92397, "lab_name": "bicarbonate"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a801806b73a745dcc41d7c7"}, {"db_id": "mimic_iii", "question": "when was the last time patient 54825 had an maximum basophils?", "template": "when was the last time that patient 54825 had the maximum value of basophils?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54825 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'basophils' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 54825, "lab_name": "basophils"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2758c349c37ba6e530e34663"}, {"db_id": "mimic_iii", "question": "when did patient 6215 during their last hospital encounter have the maximum asparate aminotransferase (ast) for the last time?", "template": "when was the last time that patient 6215 had the maximum value of asparate aminotransferase (ast) on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6215 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'asparate aminotransferase (ast)' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "asparate aminotransferase (ast)", "patient_id": 6215}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09b507517b6f1757e6941d66"}, {"db_id": "mimic_iii", "question": "what was the last time until 50 months ago patient 28966 had the minimum hemoglobin value?", "template": "when was the last time that patient 28966 had the minimum value of hemoglobin until 50 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28966 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) and datetime(labevents.charttime) <= datetime(current_time,'-50 month') order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"patient_id": 28966, "lab_name": "hemoglobin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "609da09b0c28001dc4d45155"}, {"db_id": "mimic_iii", "question": "what was the last time in this month patient 40707 had the maximum anion gap.", "template": "when was the last time that patient 40707 had the maximum value of anion gap this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40707 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "anion gap", "patient_id": 40707}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad6f0ba2833f5a1c7487986d"}, {"db_id": "mimic_iii", "question": "when did patient 65759 have the maximum creatinine value in 07/this year the last time?", "template": "when was the last time that patient 65759 had the maximum value of creatinine in 07/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 65759 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '07' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 65759, "lab_name": "creatinine"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dfa09aceda920ae975b10b8b"}, {"db_id": "mimic_iii", "question": "when was last time that patient 5520 had the maximum potassium value in 07/last year?", "template": "when was the last time that patient 5520 had the maximum value of potassium in 07/last year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5520 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '07' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 5520, "lab_name": "potassium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a10011301234a108f8d2338c"}, {"db_id": "mimic_iii", "question": "when's the first time patient 83894 had the minimum hemoglobin in their last hospital encounter?", "template": "when was the first time that patient 83894 had the minimum value of hemoglobin on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83894 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 83894, "lab_name": "hemoglobin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d3e0e342aebb72d6a4c05b8"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 6440 had the maximum value of glucose since 12/2102?", "template": "when was the last time that patient 6440 had the maximum value of glucose since 12/2102?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6440 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and strftime('%y-%m',labevents.charttime) >= '2102-12' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "glucose", "patient_id": 6440}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8bf2d59e3324e4f742b49575"}, {"db_id": "mimic_iii", "question": "when did last patient 20033 have the maximum value of red blood cells during their first hospital encounter?", "template": "when was the last time that patient 20033 had the maximum value of red blood cells on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20033 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 20033, "lab_name": "red blood cells"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bd15cb73843971149c73650d"}, {"db_id": "mimic_iii", "question": "when has patient 46590 first had the ptt minimum value during their first hospital encounter?", "template": "when was the first time that patient 46590 had the minimum value of ptt on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 46590 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ptt' ) order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 46590, "lab_name": "ptt"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "da3ca1f299e19043c854f113"}, {"db_id": "mimic_iii", "question": "what time did patient 31300 first had the minimum tacrofk value until 11/2103?", "template": "when was the first time that patient 31300 had the minimum value of tacrofk until 11/2103?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'tacrofk' ) and strftime('%y-%m',labevents.charttime) <= '2103-11' order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 31300, "lab_name": "tacrofk"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5eb97c075187329d233c7ec4"}, {"db_id": "mimic_iii", "question": "when did patient 42473 first have the maximum mch - value in 12/this year?", "template": "when was the first time that patient 42473 had the maximum value of mch in 12/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "mch", "patient_id": 42473}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d607082929c457987073b7a1"}, {"db_id": "mimic_iii", "question": "when did patient 1798 last had the maximum value of mch in their first hospital visit?", "template": "when was the last time that patient 1798 had the maximum value of mch on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1798 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 1798, "lab_name": "mch"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0cb4f3f3fa6b617232f35e3e"}, {"db_id": "mimic_iii", "question": "when did patient 86786 have the minimum value of creatinine last until 11/2105?", "template": "when was the last time that patient 86786 had the minimum value of creatinine until 11/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86786 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and strftime('%y-%m',labevents.charttime) <= '2105-11' order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"patient_id": 86786, "lab_name": "creatinine"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a14ea7a4912843191b141044"}, {"db_id": "mimic_iii", "question": "when was the last time since 179 months ago that patient 1114 had the maximum magnesium?", "template": "when was the last time that patient 1114 had the maximum value of magnesium since 179 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) and datetime(labevents.charttime) >= datetime(current_time,'-179 month') order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 1114, "lab_name": "magnesium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f4147ed17929eac784d49bfe"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 88254 had the maximum white blood cells value?", "template": "when was the last time that patient 88254 had the maximum value of white blood cells?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88254 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "white blood cells", "patient_id": 88254}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93959f2825ab908f13427c7b"}, {"db_id": "mimic_iii", "question": "when did patient 739 last have pco2 minimum since 12/2104?", "template": "when was the last time that patient 739 had the minimum value of pco2 since 12/2104?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pco2' ) and strftime('%y-%m',labevents.charttime) >= '2104-12' order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "pco2", "patient_id": 739}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "32a3b0b20e0a950100de8c65"}, {"db_id": "mimic_iii", "question": "when has patient 58730 first had the minimum value of hemoglobin during their last hospital visit?", "template": "when was the first time that patient 58730 had the minimum value of hemoglobin on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 58730 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 58730, "lab_name": "hemoglobin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56c449399ce203ab191bad48"}, {"db_id": "mimic_iii", "question": "when did patient 9801 have a minimum mcv for the first time during the first hospital encounter?", "template": "when was the first time that patient 9801 had the minimum value of mcv on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9801 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 9801, "lab_name": "mcv"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "166d28f2b58b3412f8b819c1"}, {"db_id": "mimic_iii", "question": "when did patient 9294 last have minimum magnesium on their first hospital visit?", "template": "when was the last time that patient 9294 had the minimum value of magnesium on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9294 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "magnesium", "patient_id": 9294}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "78f4f93ab9f0ff3c3604196a"}, {"db_id": "mimic_iii", "question": "when has patient 59275 first had the minimum value of rdw until 40 months ago?", "template": "when was the first time that patient 59275 had the minimum value of rdw until 40 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59275 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'rdw' ) and datetime(labevents.charttime) <= datetime(current_time,'-40 month') order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 59275, "lab_name": "rdw"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "732883f30d115a6ce39e14de"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 15119 had a minimum po2 in 03/2105?", "template": "when was the first time that patient 15119 had the minimum value of po2 in 03/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15119 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'po2' ) and strftime('%y-%m',labevents.charttime) = '2105-03' order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"lab_name": "po2", "patient_id": 15119}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a14b176bb5f123a477e3f5b"}, {"db_id": "mimic_iii", "question": "when did first patient 2238 have the minimum value of fibrinogen, functional in 04/last year?", "template": "when was the first time that patient 2238 had the minimum value of fibrinogen, functional in 04/last year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2238 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'fibrinogen, functional' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '04' order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"lab_name": "fibrinogen, functional", "patient_id": 2238}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "547dade9d738f91962b8a06b"}, {"db_id": "mimic_iii", "question": "when did first patient 59220 have the minimum value of magnesium during the current hospital visit?", "template": "when was the first time that patient 59220 had the minimum value of magnesium on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59220 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'magnesium' ) order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 59220, "lab_name": "magnesium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d0bd4ec41eb3bb1293d9aa9"}, {"db_id": "mimic_iii", "question": "when did patient 20033 have the last minimum ph value until 09/2104?", "template": "when was the last time that patient 20033 had the minimum value of ph until 09/2104?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20033 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'ph' ) and strftime('%y-%m',labevents.charttime) <= '2104-09' order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "ph", "patient_id": 20033}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a87bb0fe23606cded6317d4b"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 19428 had the maximum value of sodium in this month?", "template": "when was the first time that patient 19428 had the maximum value of sodium this month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19428 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "sodium", "patient_id": 19428}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "bc49ca7027f7a49e9ea74042"}, {"db_id": "mimic_iii", "question": "when did patient 73652 last have the minimum urobilinogen - value during the first hospital visit?", "template": "when was the last time that patient 73652 had the minimum value of urobilinogen on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73652 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'urobilinogen' ) order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "urobilinogen", "patient_id": 73652}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "34364e35092ad43280fb6a70"}, {"db_id": "mimic_iii", "question": "when was the first time when patient 99647 had the minimum value of mch on this hospital encounter?", "template": "when was the first time that patient 99647 had the minimum value of mch on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99647 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mch' ) order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 99647, "lab_name": "mch"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa718ce305d39f8105b82428"}, {"db_id": "mimic_iii", "question": "when was the last time on the last hospital encounter that patient 8324 had the maximum alanine aminotransferase (alt) value?", "template": "when was the last time that patient 8324 had the maximum value of alanine aminotransferase (alt) on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8324 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'alanine aminotransferase (alt)' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 8324, "lab_name": "alanine aminotransferase (alt)"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef2b3ca68067b06b1f3fc991"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 27451 had a maximum value of mchc during the first hospital visit?", "template": "when was the last time that patient 27451 had the maximum value of mchc on the first hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27451 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mchc' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "mchc", "patient_id": 27451}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "18110e57888aaf4499f6f6c3"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 31482 had a minimum calcium, total on their current hospital encounter?", "template": "when was the last time that patient 31482 had the minimum value of calcium, total on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calcium, total' ) order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "calcium, total", "patient_id": 31482}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "93dfa7f9bd4191b8f3e3777f"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 7959 had the pco2 maximum value?", "template": "when was the first time that patient 7959 had the maximum value of pco2?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7959 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pco2' ) order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 7959, "lab_name": "pco2"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "cb9ae7f3c7474ee2987ba993"}, {"db_id": "mimic_iii", "question": "what was the last time patient 86792 had the maximum creatinine value until 18 months ago?", "template": "when was the last time that patient 86792 had the maximum value of creatinine until 18 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86792 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'creatinine' ) and datetime(labevents.charttime) <= datetime(current_time,'-18 month') order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "creatinine", "patient_id": 86792}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e08e33de68617652eab47ee"}, {"db_id": "mimic_iii", "question": "when did last patient 12927 have the maximum value of mcv in 12/this year?", "template": "when was the last time that patient 12927 had the maximum value of mcv in 12/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12927 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'mcv' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "mcv", "patient_id": 12927}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4580aabe3b759a816abd8dc2"}, {"db_id": "mimic_iii", "question": "when is the first time patient 90165 had the minimum value of white blood cells until 08/2101?", "template": "when was the first time that patient 90165 had the minimum value of white blood cells until 08/2101?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 90165 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'white blood cells' ) and strftime('%y-%m',labevents.charttime) <= '2101-08' order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 90165, "lab_name": "white blood cells"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e363b01b9e7ab166c27fd383"}, {"db_id": "mimic_iii", "question": "when was the last time when patient 46422 had the minimum value of pt in 07/2103?", "template": "when was the last time that patient 46422 had the minimum value of pt in 07/2103?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 46422 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pt' ) and strftime('%y-%m',labevents.charttime) = '2103-07' order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"patient_id": 46422, "lab_name": "pt"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "56655beb3b5d0fbde6dd0872"}, {"db_id": "mimic_iii", "question": "when did patient 97330 first had the maximum value of sodium since 03/2102?", "template": "when was the first time that patient 97330 had the maximum value of sodium since 03/2102?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'sodium' ) and strftime('%y-%m',labevents.charttime) >= '2102-03' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 97330, "lab_name": "sodium"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1d0cd4edce9d63605ec2e1e7"}, {"db_id": "mimic_iii", "question": "when was the last time until 38 months ago that patient 88558 had the minimum red blood cells value?", "template": "when was the last time that patient 88558 had the minimum value of red blood cells until 38 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88558 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'red blood cells' ) and datetime(labevents.charttime) <= datetime(current_time,'-38 month') order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "red blood cells", "patient_id": 88558}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "126b4f94685667188a2f8e71"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 95986 had the maximum value of metamyelocytes in 05/2105?", "template": "when was the first time that patient 95986 had the maximum value of metamyelocytes in 05/2105?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 95986 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'metamyelocytes' ) and strftime('%y-%m',labevents.charttime) = '2105-05' order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"patient_id": 95986, "lab_name": "metamyelocytes"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3d10c9ce9088855128cc3756"}, {"db_id": "mimic_iii", "question": "what was the first time patient 8005 had the minimum level of alanine aminotransferase (alt) when they visited the hospital last time?", "template": "when was the first time that patient 8005 had the minimum value of alanine aminotransferase (alt) on the last hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8005 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'alanine aminotransferase (alt)' ) order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 8005, "lab_name": "alanine aminotransferase (alt)"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "244d797b6e21b788eb74bdbf"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 85010 had the maximum value of base excess in the previous month?", "template": "when was the first time that patient 85010 had the maximum value of base excess last month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85010 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'base excess' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.valuenum desc, labevents.charttime asc limit 1", "value": {"lab_name": "base excess", "patient_id": 85010}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "12d735c4b9374d245c6536c4"}, {"db_id": "mimic_iii", "question": "when was patient 15945 last having the maximum value of glucose in 12/this year?", "template": "when was the last time that patient 15945 had the maximum value of glucose in 12/this year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'glucose' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',labevents.charttime) = '12' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "glucose", "patient_id": 15945}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0b74ff9f936e40eb8deba631"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 70516 had a maximum value of anion gap in 11/last year?", "template": "when was the last time that patient 70516 had the maximum value of anion gap in 11/last year?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70516 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anion gap' ) and datetime(labevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',labevents.charttime) = '11' order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 70516, "lab_name": "anion gap"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3cb75ff911c0bea714763777"}, {"db_id": "mimic_iii", "question": "when was the last time patient 51177 had an maximum chloride in a month before?", "template": "when was the last time that patient 51177 had the maximum value of chloride last month?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'chloride' ) and datetime(labevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"lab_name": "chloride", "patient_id": 51177}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "859774c8e6905273859b8191"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 1902 has the minimum bicarbonate since 47 months ago?", "template": "when was the last time that patient 1902 had the minimum value of bicarbonate since 47 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'bicarbonate' ) and datetime(labevents.charttime) >= datetime(current_time,'-47 month') order by labevents.valuenum asc, labevents.charttime desc limit 1", "value": {"lab_name": "bicarbonate", "patient_id": 1902}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "94fe50fe7a2a1454d2f8eed6"}, {"db_id": "mimic_iii", "question": "when was first time that patient 20000 had the minimum calculated total co2 value since 102 months ago?", "template": "when was the first time that patient 20000 had the minimum value of calculated total co2 since 102 month ago?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20000 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'calculated total co2' ) and datetime(labevents.charttime) >= datetime(current_time,'-102 month') order by labevents.valuenum asc, labevents.charttime asc limit 1", "value": {"patient_id": 20000, "lab_name": "calculated total co2"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "min", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had the [sort:min] value of {lab_name} [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "31e31f0a59e0091688c9b779"}, {"db_id": "mimic_iii", "question": "what was the last time during their current hospital visit patient 55360 had the maximum hemoglobin.", "template": "when was the last time that patient 55360 had the maximum value of hemoglobin on the current hospital visit?", "query": "select labevents.charttime from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 55360 and admissions.dischtime is null ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'hemoglobin' ) order by labevents.valuenum desc, labevents.charttime desc limit 1", "value": {"patient_id": 55360, "lab_name": "hemoglobin"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had the [sort] value of {lab_name} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "max", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had the [sort:max] value of {lab_name} [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fb3919bb731fd133c28d81ce"}, {"db_id": "mimic_iii", "question": "when did the last microbiology test of patient 26175 in 04/this year be performed?", "template": "when was the last microbiology test of patient 26175 in 04/this year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26175 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '04' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 26175}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "65440a59eeda1483283c3911"}, {"db_id": "mimic_iii", "question": "when has patient 19175 had a microbiology test for the first time during a month before?", "template": "when was the first microbiology test of patient 19175 last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 19175}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d8d2306a83a71c1cfcf9405"}, {"db_id": "mimic_iii", "question": "when did the last microbiology test take place for patient 26313 in 03/last year?", "template": "when was the last microbiology test of patient 26313 in 03/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26313 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '03' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 26313}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4fe5d33220cc69f421ae9c64"}, {"db_id": "mimic_iii", "question": "when the last time patient 18677 received a microbiology test in this month?", "template": "when was the last microbiology test of patient 18677 this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 18677}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "592605d84268a52c5767612e"}, {"db_id": "mimic_iii", "question": "when did patient 32163 get a microbiology test for the first time since 79 months ago.", "template": "when was the first microbiology test of patient 32163 since 79 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32163 ) and datetime(microbiologyevents.charttime) >= datetime(current_time,'-79 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 32163}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6d2c20728d65aa09f1246350"}, {"db_id": "mimic_iii", "question": "what is the last time that patient 51177 received a microbiology test?", "template": "when was the last microbiology test of patient 51177?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 51177 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 51177}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7230a36b440c7dc55f5c4a86"}, {"db_id": "mimic_iii", "question": "in 03/this year, when did patient 32026 get a microbiology test for the last time?", "template": "when was the last microbiology test of patient 32026 in 03/this year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32026 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '03' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 32026}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b511861be2fb4adb5183b546"}, {"db_id": "mimic_iii", "question": "when had patient 3242 first received a microbiology test in 01/last year?", "template": "when was the first microbiology test of patient 3242 in 01/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3242 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '01' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 3242}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e0a0d91362d4acb4cec15761"}, {"db_id": "mimic_iii", "question": "when did patient 13440 receive the first microbiology test on their last hospital visit?", "template": "when was the first microbiology test of patient 13440 on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13440 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 13440}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "dd1c1df8f2345cb61915cee9"}, {"db_id": "mimic_iii", "question": "since 08/2101 what was patient 59002's last microbiology test time?", "template": "when was the last microbiology test of patient 59002 since 08/2101?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59002 ) and strftime('%y-%m',microbiologyevents.charttime) >= '2101-08' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 59002}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "899eb4cfdd30defc19a97967"}, {"db_id": "mimic_iii", "question": "when patient 97733 last received a microbiology test during this month?", "template": "when was the last microbiology test of patient 97733 this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97733 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 97733}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "136101d7bf99f8135f1f4481"}, {"db_id": "mimic_iii", "question": "in 12/last year when did patient 13528 last get a microbiology test?", "template": "when was the last microbiology test of patient 13528 in 12/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13528 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '12' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 13528}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6b22b302fc44b504bcb3a4e7"}, {"db_id": "mimic_iii", "question": "when did patient 49654 last have a microbiological test in 07/this year?", "template": "when was the last microbiology test of patient 49654 in 07/this year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49654 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '07' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 49654}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e6c8a952e93d5ebefab32228"}, {"db_id": "mimic_iii", "question": "what was the first time patient 77987 had a microbiology test in 07/last year?", "template": "when was the first microbiology test of patient 77987 in 07/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77987 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '07' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 77987}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "de31a0e076f15b4753eff9fb"}, {"db_id": "mimic_iii", "question": "when a month before patient 14054 received a microbiology test for the first time?", "template": "when was the first microbiology test of patient 14054 last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 14054}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fa90cd9337110174ec2fb77b"}, {"db_id": "mimic_iii", "question": "when did the last month patient 19175 have been given a microbiology test for the first time?", "template": "when was the first microbiology test of patient 19175 last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 19175}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "933bbe0eb8a984975008b485"}, {"db_id": "mimic_iii", "question": "in 05/2103 when patient 73362 first got a microbiology test?", "template": "when was the first microbiology test of patient 73362 in 05/2103?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73362 ) and strftime('%y-%m',microbiologyevents.charttime) = '2103-05' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 73362}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab150b2c3b5f2bae356f8f93"}, {"db_id": "mimic_iii", "question": "when did patient 19894 get the last microbiological test until 08/2104?", "template": "when was the last microbiology test of patient 19894 until 08/2104?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19894 ) and strftime('%y-%m',microbiologyevents.charttime) <= '2104-08' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 19894}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "33a158e9a3adba563e2d1a6f"}, {"db_id": "mimic_iii", "question": "when did until 13 months ago patient 86206 last receive a microbiology test?", "template": "when was the last microbiology test of patient 86206 until 13 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86206 ) and datetime(microbiologyevents.charttime) <= datetime(current_time,'-13 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 86206}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b79069e13312aa92f7391c57"}, {"db_id": "mimic_iii", "question": "when was patient 433's first microbiology test done during the previous month?", "template": "when was the first microbiology test of patient 433 last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 433 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 433}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "575bfc22269e5b2825582658"}, {"db_id": "mimic_iii", "question": "when did patient 19144 first undergo a microbiology test in 08/2105?", "template": "when was the first microbiology test of patient 19144 in 08/2105?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19144 ) and strftime('%y-%m',microbiologyevents.charttime) = '2105-08' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 19144}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:abs-month-in]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d0c72bb8cdf687c49d80ea2e"}, {"db_id": "mimic_iii", "question": "when on their current hospital visit did patient 5828 get the first microbiology test?", "template": "when was the first microbiology test of patient 5828 on the current hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 and admissions.dischtime is null ) order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 5828}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5ddd8b2ed0c180dd32478b9b"}, {"db_id": "mimic_iii", "question": "when did patient 59002 have the last test for microbiology until 10 months ago?", "template": "when was the last microbiology test of patient 59002 until 10 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59002 ) and datetime(microbiologyevents.charttime) <= datetime(current_time,'-10 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 59002}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3be3f79446d9117bcd3abc6"}, {"db_id": "mimic_iii", "question": "when has patient 82132 last been given a microbiology test during the current hospital visit?", "template": "when was the last microbiology test of patient 82132 on the current hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 82132 and admissions.dischtime is null ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 82132}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "125a6ac33f14987f192ebcd7"}, {"db_id": "mimic_iii", "question": "when did the first microbiology testing of patient 28634 take place during their first hospital visit?", "template": "when was the first microbiology test of patient 28634 on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28634 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 28634}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2e7b1723ebc3b9599e217342"}, {"db_id": "mimic_iii", "question": "when was patient 88659 first tested for microbiology in 09/last year?", "template": "when was the first microbiology test of patient 88659 in 09/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 88659 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '09' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 88659}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "195fc47c73549dddf3c3cd51"}, {"db_id": "mimic_iii", "question": "when was the first time patient 32163 had a microbiology test, since 79 months ago?", "template": "when was the first microbiology test of patient 32163 since 79 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32163 ) and datetime(microbiologyevents.charttime) >= datetime(current_time,'-79 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 32163}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1cf4d22ff231bdf97897350b"}, {"db_id": "mimic_iii", "question": "when was patient 21110 last given a microbiology test on the last hospital visit?", "template": "when was the last microbiology test of patient 21110 on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 21110 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 21110}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ded75c0c9693e7c73d3d210d"}, {"db_id": "mimic_iii", "question": "when was the first microbiology test of patient 13528, since 149 months ago?", "template": "when was the first microbiology test of patient 13528 since 149 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13528 ) and datetime(microbiologyevents.charttime) >= datetime(current_time,'-149 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 13528}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a7056a1e7e786f6f2b0f9f41"}, {"db_id": "mimic_iii", "question": "what is the last time patient 73913 had the microbiology test in the last hospital encounter?", "template": "when was the last microbiology test of patient 73913 on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73913 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 73913}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a859633cb93fca7b73cf9b13"}, {"db_id": "mimic_iii", "question": "when did patient 69895 receive a microbiology test since 177 months ago first time?", "template": "when was the first microbiology test of patient 69895 since 177 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 69895 ) and datetime(microbiologyevents.charttime) >= datetime(current_time,'-177 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 69895}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "87e3e9d7b9acea898af0fb9f"}, {"db_id": "mimic_iii", "question": "when is the first microbiological test for patient 27703 during the last month?", "template": "when was the first microbiology test of patient 27703 last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 27703}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2501c5ff80c4cfc84a55e75b"}, {"db_id": "mimic_iii", "question": "what was the last microbiology test time of patient 16472 in 07/this year?", "template": "when was the last microbiology test of patient 16472 in 07/this year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16472 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '07' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 16472}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:mix-month-this_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a43cb91e780207512b8b8d6a"}, {"db_id": "mimic_iii", "question": "when has patient 18677 been given a microbiology test for the last time this month?", "template": "when was the last microbiology test of patient 18677 this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18677 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 18677}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0dbfa14abb7903c719b48ca1"}, {"db_id": "mimic_iii", "question": "tell me the first time patient 13528 took a microbiology test in 12/last year?", "template": "when was the first microbiology test of patient 13528 in 12/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13528 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '12' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 13528}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0560cf61ae273d11ca0d738d"}, {"db_id": "mimic_iii", "question": "when did patient 64519 receive his or her last microbiology test until 09/2105?", "template": "when was the last microbiology test of patient 64519 until 09/2105?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 64519 ) and strftime('%y-%m',microbiologyevents.charttime) <= '2105-09' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 64519}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d15c7f0ed9dea320251e7679"}, {"db_id": "mimic_iii", "question": "when did patient 17462 get the microbiology test, for the first time since 12/2102?", "template": "when was the first microbiology test of patient 17462 since 12/2102?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17462 ) and strftime('%y-%m',microbiologyevents.charttime) >= '2102-12' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 17462}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:abs-month-since]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e23bd2cddfcd577755cdaefc"}, {"db_id": "mimic_iii", "question": "when did patient 83062 receive a microbiology test in this hospital visit for the last time?", "template": "when was the last microbiology test of patient 83062 on the current hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 and admissions.dischtime is null ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 83062}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-cur]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "453d498eaea7c9875426f644"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 57023 got a microbiology test during a month before?", "template": "when was the first microbiology test of patient 57023 last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57023 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 57023}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-last]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "196762e1c35836f75e812bd4"}, {"db_id": "mimic_iii", "question": "when patient 15821 received a microbiology test for the last time?", "template": "when was the last microbiology test of patient 15821?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15821 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 15821}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:null]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2465d9e2ef1b8b920cf0e9de"}, {"db_id": "mimic_iii", "question": "when was the last microbiological test of patient 63849 when they visited the hospital first time?", "template": "when was the last microbiology test of patient 63849 on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 63849 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 63849}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:rel-hosp-first]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e8170175b3eb1ca8b047d920"}, {"db_id": "mimic_iii", "question": "when was the first microbiology test of patient 28447, in this month?", "template": "when was the first microbiology test of patient 28447 this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28447 ) and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 28447}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] microbiology test of patient {patient_id} [time_filter_global1:rel-month-this]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ba142d14a386a61f5762830"}, {"db_id": "mimic_iii", "question": "until 10/2104 when did patient 8005 last get a microbiology test?", "template": "when was the last microbiology test of patient 8005 until 10/2104?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8005 ) and strftime('%y-%m',microbiologyevents.charttime) <= '2104-10' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 8005}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:abs-month-until]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0e65142dcc70ad099f2a98bc"}, {"db_id": "mimic_iii", "question": "in 08/last year what was patient 26849's last microbiology test time?", "template": "when was the last microbiology test of patient 26849 in 08/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26849 ) and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '08' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 26849}, "q_tag": "when was the [time_filter_exact1] microbiology test of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] microbiology test of patient {patient_id} [time_filter_global1:mix-month-last_year]?", "department": "['physician']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4202be5ef6c897ab2c75a2c8"}, {"db_id": "mimic_iii", "question": "when patient 85895 received a microbiology test for a urine for the last time during a month before?", "template": "when was patient 85895's last urine microbiology test last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 85895 ) and microbiologyevents.spec_type_desc = 'urine' and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 85895, "culture_name": "urine"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c87e37ff8a51f1f4e20bc1a9"}, {"db_id": "mimic_iii", "question": "when did patient 31088 receive his or her tissue microbiology test for the first time during their current hospital visit?", "template": "when was patient 31088's first tissue microbiology test on the current hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31088 and admissions.dischtime is null ) and microbiologyevents.spec_type_desc = 'tissue' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "tissue", "patient_id": 31088}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8dacb01e3ec67145c952cd4f"}, {"db_id": "mimic_iii", "question": "what was patient 57023's last blood culture ( myco/f lytic bottle)'s microbiology test time in the last month?", "template": "when was patient 57023's last blood culture ( myco/f lytic bottle) microbiology test last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 57023 ) and microbiologyevents.spec_type_desc = 'blood culture ( myco/f lytic bottle)' and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "blood culture ( myco/f lytic bottle)", "patient_id": 57023}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5fe8b634c4882ffbf06aeb5e"}, {"db_id": "mimic_iii", "question": "when did patient 26313 get a catheter tip-iv microbial test for the last time in the last hospital visit.", "template": "when was patient 26313's last catheter tip-iv microbiology test on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26313 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'catheter tip-iv' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 26313, "culture_name": "catheter tip-iv"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "014126dd55e81e3c2ba3620d"}, {"db_id": "mimic_iii", "question": "since 08/2105, when did patient 28443 receive the first sputum microbiology test?", "template": "when was patient 28443's first sputum microbiology test since 08/2105?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) and microbiologyevents.spec_type_desc = 'sputum' and strftime('%y-%m',microbiologyevents.charttime) >= '2105-08' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "sputum", "patient_id": 28443}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b99af6b17eae108e0016c7e3"}, {"db_id": "mimic_iii", "question": "when did patient 86404 first receive a blood culture microbiological test since 09/2104?", "template": "when was patient 86404's first blood culture microbiology test since 09/2104?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86404 ) and microbiologyevents.spec_type_desc = 'blood culture' and strftime('%y-%m',microbiologyevents.charttime) >= '2104-09' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 86404, "culture_name": "blood culture"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3af5b48a20e8f4d4b127a6c"}, {"db_id": "mimic_iii", "question": "when did patient 11688 get its last urine microbiology test in 11/last year?", "template": "when was patient 11688's last urine microbiology test in 11/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11688 ) and microbiologyevents.spec_type_desc = 'urine' and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '11' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "urine", "patient_id": 11688}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6e72b8bf18a7698ada97c953"}, {"db_id": "mimic_iii", "question": "when was patient 86786 received the last sputum microbiology test on the last hospital encounter?", "template": "when was patient 86786's last sputum microbiology test on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86786 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'sputum' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 86786, "culture_name": "sputum"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c61809fc0c999b6f94e8379c"}, {"db_id": "mimic_iii", "question": "when was the first microbiological throat for strep test of patient 67480 performed in the first hospital visit?", "template": "when was patient 67480's first throat for strep microbiology test on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67480 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'throat for strep' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "throat for strep", "patient_id": 67480}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "35eb260fab50262c18ff02d4"}, {"db_id": "mimic_iii", "question": "what was patient 89565's first urine microbiology test time on the last hospital visit.", "template": "when was patient 89565's first urine microbiology test on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 89565 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'urine' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 89565, "culture_name": "urine"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1f29ae480ce9cdaa478bb538"}, {"db_id": "mimic_iii", "question": "when was the first sputum microbiology test given to patient 12775 during the current hospital encounter?", "template": "when was patient 12775's first sputum microbiology test on the current hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 and admissions.dischtime is null ) and microbiologyevents.spec_type_desc = 'sputum' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "sputum", "patient_id": 12775}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7f039d8fd105b329d420272a"}, {"db_id": "mimic_iii", "question": "when does patient 10425 have received a urine microbiology test for the first time in 09/last year?", "template": "when was patient 10425's first urine microbiology test in 09/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10425 ) and microbiologyevents.spec_type_desc = 'urine' and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '09' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "urine", "patient_id": 10425}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "05df3a092612e12ef20bc547"}, {"db_id": "mimic_iii", "question": "when patient 56502 received a catheter tip-iv microbiology test for the last time?", "template": "when was patient 56502's last catheter tip-iv microbiology test?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 56502 ) and microbiologyevents.spec_type_desc = 'catheter tip-iv' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 56502, "culture_name": "catheter tip-iv"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9ce5462c18957795cd2e7e05"}, {"db_id": "mimic_iii", "question": "when did patient 61339's last blood culture ( myco/f lytic bottle) microbiology test until 02/2101 be performed?", "template": "when was patient 61339's last blood culture ( myco/f lytic bottle) microbiology test until 02/2101?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 61339 ) and microbiologyevents.spec_type_desc = 'blood culture ( myco/f lytic bottle)' and strftime('%y-%m',microbiologyevents.charttime) <= '2101-02' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "blood culture ( myco/f lytic bottle)", "patient_id": 61339}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b0f9ea1ce2bdcfa590d71c70"}, {"db_id": "mimic_iii", "question": "in 11/last year when was patient 15107's first immunology microbiology test?", "template": "when was patient 15107's first immunology microbiology test in 11/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15107 ) and microbiologyevents.spec_type_desc = 'immunology' and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '11' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "immunology", "patient_id": 15107}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4a0904ab7408879d347fb99d"}, {"db_id": "mimic_iii", "question": "what was the last time of patient 70709 catheter tip-iv microbiology test since 142 months ago?", "template": "when was patient 70709's last catheter tip-iv microbiology test since 142 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 70709 ) and microbiologyevents.spec_type_desc = 'catheter tip-iv' and datetime(microbiologyevents.charttime) >= datetime(current_time,'-142 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "catheter tip-iv", "patient_id": 70709}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b57a771bcfd3d39c129412fd"}, {"db_id": "mimic_iii", "question": "what was the last time patient 4718 had a peripheral blood lymphocytes microbiology test in the last hospital visit?", "template": "when was patient 4718's last peripheral blood lymphocytes microbiology test on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4718 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'peripheral blood lymphocytes' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "peripheral blood lymphocytes", "patient_id": 4718}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a3ca530fe4f5760801390b81"}, {"db_id": "mimic_iii", "question": "when did patient 1372 since 102 months ago last get a mrsa screen microbiology test?", "template": "when was patient 1372's last mrsa screen microbiology test since 102 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1372 ) and microbiologyevents.spec_type_desc = 'mrsa screen' and datetime(microbiologyevents.charttime) >= datetime(current_time,'-102 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 1372, "culture_name": "mrsa screen"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "69887f507842c5190c0ee9f6"}, {"db_id": "mimic_iii", "question": "when has patient 14836 first received the urine microbiology test in the first hospital visit?", "template": "when was patient 14836's first urine microbiology test on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14836 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'urine' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 14836, "culture_name": "urine"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "642a72a99f3a042dcd205bff"}, {"db_id": "mimic_iii", "question": "when did patient 2425 on the first hospital encounter receive stool microbiology test for the last time?", "template": "when was patient 2425's last stool microbiology test on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2425 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'stool' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 2425, "culture_name": "stool"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d876e33d1d89dffee692423e"}, {"db_id": "mimic_iii", "question": "when did patient 1272 last take his or her tracheal aspirate microbiology test since 99 months ago?", "template": "when was patient 1272's last tracheal aspirate microbiology test since 99 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1272 ) and microbiologyevents.spec_type_desc = 'tracheal aspirate' and datetime(microbiologyevents.charttime) >= datetime(current_time,'-99 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "tracheal aspirate", "patient_id": 1272}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9c6a460a8623b94ffe14c15f"}, {"db_id": "mimic_iii", "question": "when did patient 16879 first get mrsa screen microbial tests until 09/2104?", "template": "when was patient 16879's first mrsa screen microbiology test until 09/2104?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16879 ) and microbiologyevents.spec_type_desc = 'mrsa screen' and strftime('%y-%m',microbiologyevents.charttime) <= '2104-09' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 16879, "culture_name": "mrsa screen"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3ca11f112c61d55826ea59f7"}, {"db_id": "mimic_iii", "question": "what was the last time patient 3911 got the rapid respiratory viral antigen test microbiology test on the first hospital visit?", "template": "when was patient 3911's last rapid respiratory viral antigen test microbiology test on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3911 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'rapid respiratory viral antigen test' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "rapid respiratory viral antigen test", "patient_id": 3911}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "488f73874cafdbc0ef818270"}, {"db_id": "mimic_iii", "question": "when is the last direct antigen test for herpes simplex virus types 1 & 2 microbiological test on patient 50065 since 107 months ago?", "template": "when was patient 50065's last direct antigen test for herpes simplex virus types 1 & 2 microbiology test since 107 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 50065 ) and microbiologyevents.spec_type_desc = 'direct antigen test for herpes simplex virus types 1 & 2' and datetime(microbiologyevents.charttime) >= datetime(current_time,'-107 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "direct antigen test for herpes simplex virus types 1 & 2", "patient_id": 50065}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "49a7bb663803a0e078068c7a"}, {"db_id": "mimic_iii", "question": "when patient 20441 received a microbiologic dialysis fluid test for the last time during the first hospital encounter?", "template": "when was patient 20441's last dialysis fluid microbiology test on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20441 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'dialysis fluid' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "dialysis fluid", "patient_id": 20441}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f1c6009e7b07410c13dec041"}, {"db_id": "mimic_iii", "question": "when did patient 50065 receive direct antigen test for herpes simplex virus types 1 & 2 microbiology test the first time in 04/this year?", "template": "when was patient 50065's first direct antigen test for herpes simplex virus types 1 & 2 microbiology test in 04/this year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 50065 ) and microbiologyevents.spec_type_desc = 'direct antigen test for herpes simplex virus types 1 & 2' and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '04' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "direct antigen test for herpes simplex virus types 1 & 2", "patient_id": 50065}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "71842b84fa1e1dcc1a31cb92"}, {"db_id": "mimic_iii", "question": "when did patient 25103 since 05/2103 first receive the stool microbiology test?", "template": "when was patient 25103's first stool microbiology test since 05/2103?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25103 ) and microbiologyevents.spec_type_desc = 'stool' and strftime('%y-%m',microbiologyevents.charttime) >= '2103-05' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 25103, "culture_name": "stool"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["abs-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:abs-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0112149dd4e8a8e6f6291351"}, {"db_id": "mimic_iii", "question": "when did patient 3369 first get pleural fluid's microbiology test during their last hospital visit?", "template": "when was patient 3369's first pleural fluid microbiology test on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'pleural fluid' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "pleural fluid", "patient_id": 3369}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0aba8da95f226d4cd1ef5cbc"}, {"db_id": "mimic_iii", "question": "when did patient 45316 recieve tissue microbiology test for the last time since 58 months ago?", "template": "when was patient 45316's last tissue microbiology test since 58 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 45316 ) and microbiologyevents.spec_type_desc = 'tissue' and datetime(microbiologyevents.charttime) >= datetime(current_time,'-58 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 45316, "culture_name": "tissue"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a6de99f0ef5351429987700e"}, {"db_id": "mimic_iii", "question": "when was the first sputum microbiology test performed for patient 12410?", "template": "when was patient 12410's first sputum microbiology test?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12410 ) and microbiologyevents.spec_type_desc = 'sputum' order by microbiologyevents.charttime asc limit 1", "value": {"patient_id": 12410, "culture_name": "sputum"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:null]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d2ccb1e7a93ec2e15cff208"}, {"db_id": "mimic_iii", "question": "what was the last bronchial washings's microbiology test patient 91249 had in 01/2104?", "template": "when was patient 91249's last bronchial washings microbiology test in 01/2104?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 91249 ) and microbiologyevents.spec_type_desc = 'bronchial washings' and strftime('%y-%m',microbiologyevents.charttime) = '2104-01' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 91249, "culture_name": "bronchial washings"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["abs-month-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:abs-month-in]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7be02dd02c90b6c10d5a8cdc"}, {"db_id": "mimic_iii", "question": "when was patient 14054 last sputum microbiologic test during the last month?", "template": "when was patient 14054's last sputum microbiology test last month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14054 ) and microbiologyevents.spec_type_desc = 'sputum' and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-1 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 14054, "culture_name": "sputum"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0f371de4b8b41fc35426d688"}, {"db_id": "mimic_iii", "question": "when did patient 92788 get a immunology (cmv) microbiology test last time in 12/this year?", "template": "when was patient 92788's last immunology (cmv) microbiology test in 12/this year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 92788 ) and microbiologyevents.spec_type_desc = 'immunology (cmv)' and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m',microbiologyevents.charttime) = '12' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "immunology (cmv)", "patient_id": 92788}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["mix-month-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:mix-month-this_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d2d63ddaef0e0082ed26ff9a"}, {"db_id": "mimic_iii", "question": "when did patient 24971 receive for the last time a foot culture microbiology test when they came to the hospital first time?", "template": "when was patient 24971's last foot culture microbiology test on the first hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24971 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) and microbiologyevents.spec_type_desc = 'foot culture' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 24971, "culture_name": "foot culture"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-first", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-first]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4cdbfcb0926f65edaed059f0"}, {"db_id": "mimic_iii", "question": "when did during the last hospital visit patient 86786 last get a sputum microbiology test?", "template": "when was patient 86786's last sputum microbiology test on the last hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 86786 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) and microbiologyevents.spec_type_desc = 'sputum' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 86786, "culture_name": "sputum"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-last]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0adf26e758cad3a269242457"}, {"db_id": "mimic_iii", "question": "what was the first sputum microbiology test performed in 05/last year for patient 54281?", "template": "when was patient 54281's first sputum microbiology test in 05/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 54281 ) and microbiologyevents.spec_type_desc = 'sputum' and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '05' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "sputum", "patient_id": 54281}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7bb79bc8fb81fda5c2bfa82a"}, {"db_id": "mimic_iii", "question": "when was the first blood culture - neonate microbiology test done for patient 72107 until 01/2104?", "template": "when was patient 72107's first blood culture - neonate microbiology test until 01/2104?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 72107 ) and microbiologyevents.spec_type_desc = 'blood culture - neonate' and strftime('%y-%m',microbiologyevents.charttime) <= '2104-01' order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "blood culture - neonate", "patient_id": 72107}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["abs-month-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:abs-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1a026431e070919847384205"}, {"db_id": "mimic_iii", "question": "when did patient 83062 receive foot culture microbiology testing for the last time in this month?", "template": "when was patient 83062's last foot culture microbiology test this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 83062 ) and microbiologyevents.spec_type_desc = 'foot culture' and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "foot culture", "patient_id": 83062}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "277d779d26d953e10c5ee6a2"}, {"db_id": "mimic_iii", "question": "when patient 99080 had their first staph aureus screen microbiology test since 180 months ago?", "template": "when was patient 99080's first staph aureus screen microbiology test since 180 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99080 ) and microbiologyevents.spec_type_desc = 'staph aureus screen' and datetime(microbiologyevents.charttime) >= datetime(current_time,'-180 month') order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "staph aureus screen", "patient_id": 99080}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c840d3495373e3669a3a5fd6"}, {"db_id": "mimic_iii", "question": "when did patient 96833 take the influenza a/b by dfa microbiology test for the first time during this month?", "template": "when was patient 96833's first influenza a/b by dfa microbiology test this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 96833 ) and microbiologyevents.spec_type_desc = 'influenza a/b by dfa' and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime asc limit 1", "value": {"culture_name": "influenza a/b by dfa", "patient_id": 96833}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-first] {culture_name} microbiology test [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "64d0dd099c7a83900a77f72d"}, {"db_id": "mimic_iii", "question": "when did patient 17398 receive the last microbiology test of the biopsy since 180 months ago?", "template": "when was patient 17398's last biopsy microbiology test since 180 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 ) and microbiologyevents.spec_type_desc = 'biopsy' and datetime(microbiologyevents.charttime) >= datetime(current_time,'-180 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "biopsy", "patient_id": 17398}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-since]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "84defa7de8c4d4068499b9c9"}, {"db_id": "mimic_iii", "question": "when did patient 67005 last get stool microbiology test in 08/last year?", "template": "when was patient 67005's last stool microbiology test in 08/last year?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 67005 ) and microbiologyevents.spec_type_desc = 'stool' and datetime(microbiologyevents.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m',microbiologyevents.charttime) = '08' order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 67005, "culture_name": "stool"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["mix-month-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:mix-month-last_year]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7d14588dcf684e69c67d1e07"}, {"db_id": "mimic_iii", "question": "when did patient 40059 last get the sputum microbiology test during this month?", "template": "when was patient 40059's last sputum microbiology test this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 40059 ) and microbiologyevents.spec_type_desc = 'sputum' and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 40059, "culture_name": "sputum"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a4a22238ad4be093cc9a16c"}, {"db_id": "mimic_iii", "question": "when did until 58 months ago patient 17505 last get a catheter tip-iv microbiology test?", "template": "when was patient 17505's last catheter tip-iv microbiology test until 58 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17505 ) and microbiologyevents.spec_type_desc = 'catheter tip-iv' and datetime(microbiologyevents.charttime) <= datetime(current_time,'-58 month') order by microbiologyevents.charttime desc limit 1", "value": {"patient_id": 17505, "culture_name": "catheter tip-iv"}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2ac56f7668362b6584a292d2"}, {"db_id": "mimic_iii", "question": "what was the last time patient 52898 had a immunology microbiology test this month?", "template": "when was patient 52898's last immunology microbiology test this month?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 52898 ) and microbiologyevents.spec_type_desc = 'immunology' and datetime(microbiologyevents.charttime,'start of month') = datetime(current_time,'start of month','-0 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "immunology", "patient_id": 52898}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-this]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0f9e94e8ec9627e6b3739135"}, {"db_id": "mimic_iii", "question": "during this hospital visit, when patient 42473 had the last csf;spinal fluid microbiology test?", "template": "when was patient 42473's last csf;spinal fluid microbiology test on the current hospital visit?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 42473 and admissions.dischtime is null ) and microbiologyevents.spec_type_desc = 'csf;spinal fluid' order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "csf;spinal fluid", "patient_id": 42473}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-hosp-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-hosp-cur]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "475f5a641bf0516321f602bf"}, {"db_id": "mimic_iii", "question": "when did patient 3369 until 67 months ago last get a viral culture:r/o herpes simplex virus microbiology test?", "template": "when was patient 3369's last viral culture:r/o herpes simplex virus microbiology test until 67 month ago?", "query": "select microbiologyevents.charttime from microbiologyevents where microbiologyevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) and microbiologyevents.spec_type_desc = 'viral culture:r/o herpes simplex virus' and datetime(microbiologyevents.charttime) <= datetime(current_time,'-67 month') order by microbiologyevents.charttime desc limit 1", "value": {"culture_name": "viral culture:r/o herpes simplex virus", "patient_id": 3369}, "q_tag": "when was patient {patient_id}'s [time_filter_exact1] {culture_name} microbiology test [time_filter_global1]?", "t_tag": ["rel-month-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was patient {patient_id}'s [time_filter_exact1:exact-last] {culture_name} microbiology test [time_filter_global1:rel-month-until]?", "department": "['nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "229f634a1c5a785826777990"}, {"db_id": "mimic_iii", "question": "what was the first intake time of promote w/fiber for patient 7698 on last month/04?", "template": "when was the first time that patient 7698 had a promote w/fiber intake on last month/04?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '04' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 7698, "intake_name": "promote w/fiber"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "822215f6ed04e3eb57bd16a3"}, {"db_id": "mimic_iii", "question": "what was the last time of patient 7698's e 20 fs po intake on last month/04?", "template": "when was the last time that patient 7698 had a e 20 fs po intake on last month/04?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7698 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'e 20 fs po' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '04' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 7698, "intake_name": "e 20 fs po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "70c4aaaa8dd767aa915e4047"}, {"db_id": "mimic_iii", "question": "when has patient 24921 had their first d5w intake on 09/19/last year?", "template": "when was the first time that patient 24921 had a d5w intake on 09/19/last year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24921 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '09-19' order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d5w", "patient_id": 24921}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "81687282f38b99c6d279f570"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 2514 had taken a d5w on 06/26/2105?", "template": "when was the first time that patient 2514 had a d5w intake on 06/26/2105?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2514 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2105-06-26' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 2514, "intake_name": "d5w"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ee27880cc279fb36e258278a"}, {"db_id": "mimic_iii", "question": "when was the first time patient 25997 had a drug intake of carrier until 1062 days ago?", "template": "when was the first time that patient 25997 had a carrier intake until 1062 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25997 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'carrier' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1062 day') order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "carrier", "patient_id": 25997}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "753f3c7b302b84eb9d6699d7"}, {"db_id": "mimic_iii", "question": "when did patient 1784 have for the last time intake of d5/.45ns today?", "template": "when was the last time that patient 1784 had a d5/.45ns intake today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1784 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5/.45ns' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "d5/.45ns", "patient_id": 1784}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca3c725cecb7b37ee813500b"}, {"db_id": "mimic_iii", "question": "when patient 10855 had the tpn d10.0 for the first time on this month/28?", "template": "when was the first time that patient 10855 had a tpn d10.0 intake on this month/28?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d10.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '28' order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "tpn d10.0", "patient_id": 10855}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3e2717e1672e1cd107569244"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 26793 has a .9% normal saline intake until 08/25/2105?", "template": "when was the last time that patient 26793 had a .9% normal saline intake until 08/25/2105?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26793 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-08-25' order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 26793}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "f20b41532fe012fa58e8bf55"}, {"db_id": "mimic_iii", "question": "when did patient 8773 get the first intake of .9% normal saline on the first icu visit?", "template": "when was the first time that patient 8773 had a .9% normal saline intake on the first icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8773 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 8773, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-icu-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "58180a010331cbd5f5658d12"}, {"db_id": "mimic_iii", "question": "when was the first time patient 20332 took an .9% normal saline since 06/16/2102?", "template": "when was the first time that patient 20332 had a .9% normal saline intake since 06/16/2102?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20332 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2102-06-16' order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 20332}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "0ee27cdd41cdae815236a1c7"}, {"db_id": "mimic_iii", "question": "what is the first time patient 9566 had lipids 20% taken on 12/30/this year?", "template": "when was the first time that patient 9566 had a lipids 20% intake on 12/30/this year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'lipids 20%' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-30' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 9566, "intake_name": "lipids 20%"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a195a59e215e6a1ad41fb3bb"}, {"db_id": "mimic_iii", "question": "what was patient 4401's last time of taking .9% normal saline today?", "template": "when was the last time that patient 4401 had a .9% normal saline intake today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 4401}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "52819bb0db398751ed419db1"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 31854 had a intake of .9% normal saline today?", "template": "when was the last time that patient 31854 had a .9% normal saline intake today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 31854}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7a0e0b9482c2b91ca26899cd"}, {"db_id": "mimic_iii", "question": "when is patient 13841's tpn d5.0 intake the first time until 386 days ago?", "template": "when was the first time that patient 13841 had a tpn d5.0 intake until 386 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13841 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d5.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-386 day') order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "tpn d5.0", "patient_id": 13841}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "fd6617e16e5873f067d64906"}, {"db_id": "mimic_iii", "question": "when did patient 22648 first take his/her d5w during a day before?", "template": "when was the first time that patient 22648 had a d5w intake yesterday?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 22648 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d5w", "patient_id": 22648}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ef9387094f353b8d3076b021"}, {"db_id": "mimic_iii", "question": "when did patient 2238 have the .9% normal saline for the last time until 619 days ago?", "template": "when was the last time that patient 2238 had a .9% normal saline intake until 619 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2238 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-619 day') order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 2238}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab643362eec8a85e608fe4e8"}, {"db_id": "mimic_iii", "question": "when did patient 16088 have the d5w intake since 931 days ago for the first time?", "template": "when was the first time that patient 16088 had a d5w intake since 931 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16088 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-931 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 16088, "intake_name": "d5w"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3b5521210db06575a90c930f"}, {"db_id": "mimic_iii", "question": "since 512 days ago when did patient 5828 get .9% normal saline for the last time?", "template": "when was the last time that patient 5828 had a .9% normal saline intake since 512 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-512 day') order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 5828, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "48bfa18756aa6334024ce943"}, {"db_id": "mimic_iii", "question": "when is the last time patient 24921 has had tpn d11.0 on 09/20/last year?", "template": "when was the last time that patient 24921 had a tpn d11.0 intake on 09/20/last year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 24921 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d11.0' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '09-20' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 24921, "intake_name": "tpn d11.0"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e9d24797f8ab1d10c123ed1"}, {"db_id": "mimic_iii", "question": "when was the first time since 265 days ago that patient 10624 had an .9% normal saline intake?", "template": "when was the first time that patient 10624 had a .9% normal saline intake since 265 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10624 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-265 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 10624, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "11e439eaf34cee2f837a1ab0"}, {"db_id": "mimic_iii", "question": "when did patient 15209 take his d5w for the first time on 09/21/this year?", "template": "when was the first time that patient 15209 had a d5w intake on 09/21/this year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15209 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '09-21' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 15209, "intake_name": "d5w"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54e320eb2de9d2bdf6f0d2db"}, {"db_id": "mimic_iii", "question": "on 08/28/2100, when patient 32592 got .9% normal saline for the last time?", "template": "when was the last time that patient 32592 had a .9% normal saline intake on 08/28/2100?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 32592 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2100-08-28' order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 32592}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d36ccb999c18309154967052"}, {"db_id": "mimic_iii", "question": "when did patient 14397 get the d5w last time?", "template": "when was the last time that patient 14397 had a d5w intake?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14397 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 14397, "intake_name": "d5w"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df6fb56293e430ee2125a1e4"}, {"db_id": "mimic_iii", "question": "what was the last time patient 5553 had intake of .9% normal saline until 05/15/2105?", "template": "when was the last time that patient 5553 had a .9% normal saline intake until 05/15/2105?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5553 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-05-15' order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 5553}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7948b01363f12e12891b9f02"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 8016 had pe 24 fs po intake on last month/27?", "template": "when was the last time that patient 8016 had a pe 24 fs po intake on last month/27?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'pe 24 fs po' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '27' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 8016, "intake_name": "pe 24 fs po"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1e32d7444492e9f0e41e4343"}, {"db_id": "mimic_iii", "question": "when was the first time patient 31854 since 06/15/2104 had promote w/fiber intake?", "template": "when was the first time that patient 31854 had a promote w/fiber intake since 06/15/2104?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31854 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2104-06-15' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 31854, "intake_name": "promote w/fiber"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ce0ec727c52415a2493be9be"}, {"db_id": "mimic_iii", "question": "when patient 18866 got an intake of .9% normal saline for the last time during a day before?", "template": "when was the last time that patient 18866 had a .9% normal saline intake yesterday?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 18866 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 18866, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ab7be2c0dbe57c6aa859448d"}, {"db_id": "mimic_iii", "question": "when was the first time patient 12775 took tpn d12.5, today?", "template": "when was the first time that patient 12775 had a tpn d12.5 intake today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn d12.5' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12775, "intake_name": "tpn d12.5"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9d8caf742e8a18ec3465d28e"}, {"db_id": "mimic_iii", "question": "what was patient 9566's last time of .9% normal saline intake since 12/31/2105?", "template": "when was the last time that patient 9566 had a .9% normal saline intake since 12/31/2105?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 9566 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2105-12-31' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 9566, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-since]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "268c67c69cce5476180f455f"}, {"db_id": "mimic_iii", "question": "when was the first time on this month/08 patient 23070 had a .9% normal saline intake?", "template": "when was the first time that patient 23070 had a .9% normal saline intake on this month/08?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '08' order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 23070}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "885052e6bb481e8e888f11ad"}, {"db_id": "mimic_iii", "question": "when was the first time yesterday that patient 10855 has had a promote w/fiber intake?", "template": "when was the first time that patient 10855 had a promote w/fiber intake yesterday?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 10855, "intake_name": "promote w/fiber"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8fafc2d25738ed0d64165930"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 16572 had promote w/fiber taken until 12/31/2101?", "template": "when was the last time that patient 16572 had a promote w/fiber intake until 12/31/2101?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'promote w/fiber' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2101-12-31' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 16572, "intake_name": "promote w/fiber"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-until]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "df83042b8862d579bf1f152c"}, {"db_id": "mimic_iii", "question": "when was the last time patient 15794 took tpn, on the current intensive care unit visit?", "template": "when was the last time that patient 15794 had a tpn intake on the current icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15794 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "tpn", "patient_id": 15794}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3bdd83610d7c649b54a62aa0"}, {"db_id": "mimic_iii", "question": "when was the last time that patient 13054 had a intake of .9% normal saline on this month/25?", "template": "when was the last time that patient 13054 had a .9% normal saline intake on this month/25?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13054 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '25' order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 13054}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-this_month]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "09c38811a74275530d8c04dc"}, {"db_id": "mimic_iii", "question": "when did patient 13622 last take his/her .9% normal saline on 08/25/2104?", "template": "when was the last time that patient 13622 had a .9% normal saline intake on 08/25/2104?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13622 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2104-08-25' order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": ".9% normal saline", "patient_id": 13622}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9e5b7ff6eb2569704fb1e055"}, {"db_id": "mimic_iii", "question": "when did patient 17398 first take his/her tpn on 08/21/2102?", "template": "when was the first time that patient 17398 had a tpn intake on 08/21/2102?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 17398 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2102-08-21' order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "tpn", "patient_id": 17398}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ac7fe4371bfe3fd681346278"}, {"db_id": "mimic_iii", "question": "on the current intensive care unit visit, when patient 20898 got d5w for the first time?", "template": "when was the first time that patient 20898 had a d5w intake on the current icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 20898 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'd5w' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "d5w", "patient_id": 20898}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "54fdc8c9dc4a3bd4140ddcbc"}, {"db_id": "mimic_iii", "question": "when has patient 30976 had their last .9% normal saline intake?", "template": "when was the last time that patient 30976 had a .9% normal saline intake?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 30976 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 30976, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:null]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4e4e97092279a0578e15038c"}, {"db_id": "mimic_iii", "question": "when patient 31696 had the .9% normal saline for the first time on 07/23/last year?", "template": "when was the first time that patient 31696 had a .9% normal saline intake on 07/23/last year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31696 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '07-23' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 31696, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "327bd4860403779b098ea1d3"}, {"db_id": "mimic_iii", "question": "what was patient 8016's first time of taking dextrose 10% on 11/23/this year?", "template": "when was the first time that patient 8016 had a dextrose 10% intake on 11/23/this year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'dextrose 10%' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '11-23' order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "dextrose 10%", "patient_id": 8016}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-this_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "4ea5f32232ad99ef18c625a1"}, {"db_id": "mimic_iii", "question": "when was the first time that patient 31300 had gastric meds intake on 02/26/2103?", "template": "when was the first time that patient 31300 had a gastric meds intake on 02/26/2103?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31300 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'gastric meds' and d_items.linksto = 'inputevents_cv' ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2103-02-26' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 31300, "intake_name": "gastric meds"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:abs-day-in]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "882a3eb369e7b2ae91391335"}, {"db_id": "mimic_iii", "question": "what was patient 12726's first time of taking .9% normal saline today?", "template": "when was the first time that patient 12726 had a .9% normal saline intake today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12726, "intake_name": ".9% normal saline"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d92de47c2316052507ecfcaa"}, {"db_id": "mimic_iii", "question": "on the last icu visit when did patient 25433 get tpn for the last time?", "template": "when was the last time that patient 25433 had a tpn intake on the last icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25433 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 25433, "intake_name": "tpn"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-icu-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "37fdf6bcec21822b2b564d83"}, {"db_id": "mimic_iii", "question": "what was patient 11362's last time of taking tpn on last month/24?", "template": "when was the last time that patient 11362 had a tpn intake on last month/24?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 11362 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tpn' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '24' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 11362, "intake_name": "tpn"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_month]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1229c894f1090c38e9c30294"}, {"db_id": "mimic_iii", "question": "when patient 10855 got an intake of s 24 fe po for the first time on the current intensive care unit visit?", "template": "when was the first time that patient 10855 had a s 24 fe po intake on the current icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10855 ) and icustays.outtime is null ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 's 24 fe po' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "s 24 fe po", "patient_id": 10855}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-icu-cur", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-icu-cur]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "43a8750ebc5783f1606f3d09"}, {"db_id": "mimic_iii", "question": "when was the last time in yesterday that patient 12775 has had a tf residual intake?", "template": "when was the last time that patient 12775 had a tf residual intake yesterday?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12775 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'tf residual' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1", "value": {"intake_name": "tf residual", "patient_id": 12775}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-last]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7218f94ca4840ad19ef99600"}, {"db_id": "mimic_iii", "question": "when was the first time patient 12455 on 09/27/last year had peptamen intake?", "template": "when was the first time that patient 12455 had a peptamen intake on 09/27/last year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12455 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'peptamen' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '09-27' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 12455, "intake_name": "peptamen"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:mix-day-last_year]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "35c43b7f3ca3569e9d53a149"}, {"db_id": "mimic_iii", "question": "when is patient 31473's po intake the first time on the first intensive care unit visit?", "template": "when was the first time that patient 31473 had a po intake on the first icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31473 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'po intake' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 31473, "intake_name": "po intake"}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-icu-first]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "6287915022932d0e6fd9e0c2"}, {"db_id": "mimic_iii", "question": "what was the first time of patient 1902's br milk fs ng intake today?", "template": "when was the first time that patient 1902 had a br milk fs ng intake today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1902 ) ) and inputevents_cv.itemid in ( select d_items.itemid from d_items where d_items.label = 'br milk fs ng' and d_items.linksto = 'inputevents_cv' ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime asc limit 1", "value": {"intake_name": "br milk fs ng", "patient_id": 1902}, "q_tag": "when was the [time_filter_exact1] time that patient {patient_id} had a {intake_name} intake [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] time that patient {patient_id} had a {intake_name} intake [time_filter_global1:rel-day-this]?", "department": "['physician', 'insurance_review', 'nursing']", "importance": "medium", "para_type": "machine", "is_impossible": false, "split": "train", "id": "844138d945bceebd3a6a2e88"}, {"db_id": "mimic_iii", "question": "when did patient 3277 have his or her last intake on 07/30/this year?", "template": "when was the last intake time of patient 3277 on 07/30/this year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3277 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-0 year') and strftime('%m-%d',inputevents_cv.charttime) = '07-30' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 3277}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-this_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d07063289ca33c1288c5b7ac"}, {"db_id": "mimic_iii", "question": "when did patient 25997 first have an intake, on 06/28/2100?", "template": "when was the first intake time of patient 25997 on 06/28/2100?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25997 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2100-06-28' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 25997}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3008456403e1fd21508f8f54"}, {"db_id": "mimic_iii", "question": "when is patient 1269 receiving an intake for the last time on 11/16/last year?", "template": "when was the last intake time of patient 1269 on 11/16/last year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1269 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '11-16' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 1269}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8d3957eecd8defed6ee21e25"}, {"db_id": "mimic_iii", "question": "when did patient 14413 take an intake for the last time on the last icu visit?", "template": "when was the last intake time of patient 14413 on the last icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 14413 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 14413}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "a66e9646ee3ad25c3fc7c2a9"}, {"db_id": "mimic_iii", "question": "what was the first time that patient 5828 had an intake in a day before?", "template": "when was the first intake time of patient 5828 yesterday?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 5828}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "3a77983c7d1006545b089daf"}, {"db_id": "mimic_iii", "question": "when was the first intake time until 04/13/2105 for patient 3369?", "template": "when was the first intake time of patient 3369 until 04/13/2105?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3369 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2105-04-13' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 3369}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "b9511cf4f7791bb7a16c246d"}, {"db_id": "mimic_iii", "question": "when was the last intake of patient 15178 on 12/16/last year?", "template": "when was the last intake time of patient 15178 on 12/16/last year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15178 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '12-16' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 15178}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "7fcaf299b5f17679d85575a9"}, {"db_id": "mimic_iii", "question": "when has patient 2002 first had an intake since 08/01/2101?", "template": "when was the first intake time of patient 2002 since 08/01/2101?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 2002 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) >= '2101-08-01' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 2002}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-since", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:abs-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "512def388ceb9b72019fdc8e"}, {"db_id": "mimic_iii", "question": "when was the first time patient 28443's intake time on this month/23?", "template": "when was the first intake time of patient 28443 on this month/23?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 28443 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '23' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 28443}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "d3fb3a96e839c7633304dff0"}, {"db_id": "mimic_iii", "question": "when was the first time patient 13806 had had an intake on 01/21/2102?", "template": "when was the first intake time of patient 13806 on 01/21/2102?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13806 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2102-01-21' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 13806}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "45676d30fad53b4f0f4666ed"}, {"db_id": "mimic_iii", "question": "when was patient 4368's last intake on 05/24/2105?", "template": "when was the last intake time of patient 4368 on 05/24/2105?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4368 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) = '2105-05-24' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 4368}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-in", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:abs-day-in]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "461fb2e1f35cd48d82453739"}, {"db_id": "mimic_iii", "question": "when did patient 16572 get an intake, the first time until 1872 days ago?", "template": "when was the first intake time of patient 16572 until 1872 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 16572 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1872 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 16572}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "23dc50e665486a2beb616e34"}, {"db_id": "mimic_iii", "question": "when on last month/05 patient 5142 had an intake for the last time?", "template": "when was the last intake time of patient 5142 on last month/05?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5142 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '05' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 5142}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "1dc94b88b0a59e9be514cb41"}, {"db_id": "mimic_iii", "question": "what was the last time patient 4401 intake time today?", "template": "when was the last intake time of patient 4401 today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 4401 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 4401}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2128ca8f8c9b188590c5d33d"}, {"db_id": "mimic_iii", "question": "what was the last time of intake of patient 27362 on 06/09/last year?", "template": "when was the last intake time of patient 27362 on 06/09/last year?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27362 ) ) and datetime(inputevents_cv.charttime,'start of year') = datetime(current_time,'start of year','-1 year') and strftime('%m-%d',inputevents_cv.charttime) = '06-09' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 27362}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_year", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-last_year]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "21027193df71c4fc0764074b"}, {"db_id": "mimic_iii", "question": "when did patient 23070 get intake on this month/07 for the last time?", "template": "when was the last intake time of patient 23070 on this month/07?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '07' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 23070}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ba7d9bc17df59602f2a6ea30"}, {"db_id": "mimic_iii", "question": "on the last intensive care unit visit, when did patient 3277 receive an intake for the last time?", "template": "when was the last intake time of patient 3277 on the last icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3277 ) and icustays.outtime is not null order by icustays.intime desc limit 1 ) order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 3277}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:rel-icu-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "99153ee9c0cf967f71f0b6e8"}, {"db_id": "mimic_iii", "question": "when was patient 19059 received an intake for the first time until 1106 days ago.", "template": "when was the first intake time of patient 19059 until 1106 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19059 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1106 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 19059}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "21ed4360aacbb9b37c8afd50"}, {"db_id": "mimic_iii", "question": "when was the first intake time of patient 3267 until 1545 days ago.", "template": "when was the first intake time of patient 3267 until 1545 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 3267 ) ) and datetime(inputevents_cv.charttime) <= datetime(current_time,'-1545 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 3267}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-until", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:rel-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "8641bfdd01240324c7d95472"}, {"db_id": "mimic_iii", "question": "when was patient 15945 for the last time received intake on this month/28?", "template": "when was the last intake time of patient 15945 on this month/28?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15945 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '28' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 15945}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ca079bd34f220fd99362904c"}, {"db_id": "mimic_iii", "question": "when was the last time in yesterday that patient 6170 had an intake?", "template": "when was the last intake time of patient 6170 yesterday?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 6170 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 6170}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-last", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:rel-day-last]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "2f9eacdeada3262fefd44db3"}, {"db_id": "mimic_iii", "question": "what was the last time that patient 7375 had intake until 08/17/2100?", "template": "when was the last intake time of patient 7375 until 08/17/2100?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 7375 ) ) and strftime('%y-%m-%d',inputevents_cv.charttime) <= '2100-08-17' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 7375}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["abs-day-until", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:abs-day-until]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "72f867658cab4121a9555621"}, {"db_id": "mimic_iii", "question": "when was the last time of intake time of patient 27242 since 1020 days ago?", "template": "when was the last intake time of patient 27242 since 1020 day ago?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27242 ) ) and datetime(inputevents_cv.charttime) >= datetime(current_time,'-1020 day') order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 27242}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-since", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:rel-day-since]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "ad305077292658eff3c539b9"}, {"db_id": "mimic_iii", "question": "what time has patient 10211 first had an intake on the first intensive care unit visit?", "template": "when was the first intake time of patient 10211 on the first icu visit?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 10211 ) and icustays.outtime is not null order by icustays.intime asc limit 1 ) order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 10211}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-icu-first", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:rel-icu-first]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "9781772626b172bcbb0e8b2e"}, {"db_id": "mimic_iii", "question": "when patient 19175 had intake for the first time on last month/02?", "template": "when was the first intake time of patient 19175 on last month/02?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19175 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '02' order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 19175}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:mix-day-last_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "5d3e251845ed66d9dc2902c7"}, {"db_id": "mimic_iii", "question": "when did patient 8116 get intakes for the first time today?", "template": "when was the first intake time of patient 8116 today?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8116 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-0 day') order by inputevents_cv.charttime asc limit 1", "value": {"patient_id": 8116}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["rel-day-this", "", "", "exact-first", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-first] intake time of patient {patient_id} [time_filter_global1:rel-day-this]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "c8f2aef2c4c833de3b475f05"}, {"db_id": "mimic_iii", "question": "when did patient 23070 last take an intake on this month/04?", "template": "when was the last intake time of patient 23070 on this month/04?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-0 month') and strftime('%d',inputevents_cv.charttime) = '04' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 23070}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-this_month", "", "", "exact-last", ""], "o_tag": ["", "", "", "", "", "", "", "", ""], "tag": "when was the [time_filter_exact1:exact-last] intake time of patient {patient_id} [time_filter_global1:mix-day-this_month]?", "department": "['nursing']", "importance": "high", "para_type": "machine", "is_impossible": false, "split": "train", "id": "e07a927dcc90717794421da1"}, {"db_id": "mimic_iii", "question": "for the last time on last month/06, when did patient 27703 receive an intake?", "template": "when was the last intake time of patient 27703 on last month/06?", "query": "select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 27703 ) ) and datetime(inputevents_cv.charttime,'start of month') = datetime(current_time,'start of month','-1 month') and strftime('%d',inputevents_cv.charttime) = '06' order by inputevents_cv.charttime desc limit 1", "value": {"patient_id": 27703}, "q_tag": "when was the [time_filter_exact1] intake time of patient {patient_id} [time_filter_global1]?", "t_tag": ["mix-day-last_month", "", "", "exact-last", ""], "o_tag": ["", "",