Question: what is lidocaine 5% ointment's way of ingesting it?

what is the intake method of lidocaine 5% ointment?

Question: select distinct prescriptions.route from prescriptions where prescriptions.drug = 'lidocaine 5% ointment'

what is the intake method of {drug_name}?

Answer: tp


Question: what is the method for ingestion of danazol?

Question: select distinct prescriptions.route from prescriptions where prescriptions.drug = 'danazol'

what is the intake method of {drug_name}?

Answer: po


Question: how is naproxen taken?

Question: select distinct prescriptions.route from prescriptions where prescriptions.drug = 'naproxen'

what is the intake method of {drug_name}?

Answer: po


Question: what is phenytoin infatab's intake method?

what is the intake method of phenytoin infatab?

Question: select distinct prescriptions.route from prescriptions where prescriptions.drug = 'phenytoin infatab'

what is the intake method of {drug_name}?

Answer: po/ng

Answer: ng


Question: what is the price of a procedure named soft tissue division nec?

what is the cost of a procedure named soft tissue division nec?

Question: 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 = 'soft tissue division nec' ) )

what is the cost of a procedure named {procedure_name}?

Answer: 10.75


Question: how much to pay for a dressing of wound nec?

what is the cost of a procedure named dressing of wound nec?

Question: 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 = 'dressing of wound nec' ) )

what is the cost of a procedure named {procedure_name}?

Answer: 9.96


Question: what is heart vessel op nec's price?

what is the cost of a procedure named heart vessel op nec?

Question: 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 = 'heart vessel op nec' ) )

what is the cost of a procedure named {procedure_name}?

Answer: 12.38


Question: what is the price for loc exc bone lesion nec?

what is the cost of a procedure named loc exc bone lesion nec?

Question: 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' ) )

what is the cost of a procedure named {procedure_name}?

Answer: 11.25


Question: what is the cost of a laboratory test of calculated total co2?

what is the cost of a calculated total co2 lab test?

Question: 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 = 'calculated total co2' ) )

what is the cost of a {lab_name} lab test?

Answer: 7.05


Question: how much does a 24 hr creatinine lab test cost?

what is the cost of a 24 hr creatinine lab test?

Question: 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' ) )

what is the cost of a {lab_name} lab test?

Answer: 7.24


Question: what is the cost of hematocrit, pleural?

what is the cost of a hematocrit, pleural lab test?

Question: 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, pleural' ) )

what is the cost of a {lab_name} lab test?

Answer: 7.33


Question: what is the price for amylase, body fluid?

what is the cost of a amylase, body fluid lab test?

Question: 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 = 'amylase, body fluid' ) )

what is the cost of a {lab_name} lab test?

Answer: 8.89


Question: cost of ziprasidone and how much does it cost.

what is the cost of a drug named ziprasidone?

Question: 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' )

what is the cost of a drug named {drug_name}?

Answer: 11.12


Question: how much does it cost for emtricitabine-tenofovir?

what is the cost of a drug named emtricitabine-tenofovir?

Question: 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-tenofovir' )

what is the cost of a drug named {drug_name}?

Answer: 11.58


Question: what is the cost of neo*iv*parenteral nutrition?

what is the cost of a drug named neo*iv*parenteral nutrition?

Question: 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 = 'neo*iv*parenteral nutrition' )

what is the cost of a drug named {drug_name}?

Answer: 12.25


Question: how much does nicardipine hcl iv cost?

what is the cost of a drug named nicardipine hcl iv?

Question: 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 = 'nicardipine hcl iv' )

what is the cost of a drug named {drug_name}?

Answer: 10.88


Question: what is 'diagnosis cost' of abn liver function study?

what is the cost of diagnosing abn liver function study?

Question: 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 = 'abn liver function study' ) )

what is the cost of diagnosing {diagnosis_name}?

Answer: 3.91


Question: how much does it cost to receive a diagnosis for leukocytosis nos?

what is the cost of diagnosing leukocytosis nos?

Question: 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 = 'leukocytosis nos' ) )

what is the cost of diagnosing {diagnosis_name}?

Answer: 4.54


Question: what is the diagnosis cost of poisoning-barbiturates?

what is the cost of diagnosing poisoning-barbiturates?

Question: 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' ) )

what is the cost of diagnosing {diagnosis_name}?

Answer: 5.57


Question: how much does diagnosing long-term use of insulin cost?

what is the cost of diagnosing long-term use of insulin?

Question: 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' ) )

what is the cost of diagnosing {diagnosis_name}?

Answer: 5.6


Question: what ac embl internl jug vein does it stand for?

what does ac embl internl jug vein stand for?

Question: select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'ac embl internl jug vein' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'ac embl internl jug vein'

Answer: acute venous embolism and thrombosis of internal jugular veins


Question: what exactly does the periph t cell lym abdom stand for?

what does periph t cell lym abdom stand for?

Question: 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'

Answer: peripheral t cell lymphoma, intra-abdominal lymph nodes


Question: what is acq cardiac septl defect short for?

what does acq cardiac septl defect stand for?

Question: select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'acq cardiac septl defect' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'acq cardiac septl defect'

Answer: acquired cardiac septal defect


Question: what is the unabbreviated version of screening for diphtheria?

what does screening for diphtheria stand for?

Question: select d_icd_diagnoses.long_title from d_icd_diagnoses where d_icd_diagnoses.short_title = 'screening for diphtheria' union select d_icd_procedures.long_title from d_icd_procedures where d_icd_procedures.short_title = 'screening for diphtheria'

Answer: screening examination for diphtheria


Question: what are the genders of patient 7107?

Question: select patients.gender from patients where patients.subject_id = 7107

what is the gender of patient {patient_id}?

Answer: f


Question: tell me patient 76005's sex.

Question: select patients.gender from patients where patients.subject_id = 76005

what is the gender of patient {patient_id}?

Answer: m


Question: tell me the gender of 27038?

Question: select patients.gender from patients where patients.subject_id = 27038

what is the gender of patient {patient_id}?

Answer: f


Question: what is patient 1114's gender?

Question: select patients.gender from patients where patients.subject_id = 1114

what is the gender of patient {patient_id}?

Answer: m


Question: what is the date of patient 65467's birth?

what is the date of birth of patient 65467?

Question: select patients.dob from patients where patients.subject_id = 65467

what is the date of birth of patient {patient_id}?

Answer: 2066-01-08 00:00:00


Question: whats the date of birth of patient 31854?

what is the date of birth of patient 31854?

Question: select patients.dob from patients where patients.subject_id = 31854

what is the date of birth of patient {patient_id}?

Answer: 2035-12-15 00:00:00


Question: when was patient 45601 born?

what is the date of birth of patient 45601?

Question: select patients.dob from patients where patients.subject_id = 45601

what is the date of birth of patient {patient_id}?

Answer: 2023-02-08 00:00:00


Question: when is the birth date of patient 61527?

what is the date of birth of patient 61527?

Question: select patients.dob from patients where patients.subject_id = 61527

what is the date of birth of patient {patient_id}?

Answer: 2066-11-27 00:00:00


Question: tell me the length of the hospital stay of the last hospital stay of patient 3745.

what was the last length of hospital stay of patient 3745?

Question: 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

what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?

what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?

Answer: 2


Question: calculate patient 93104's length of stay of the last hospital stay that occurred.

what was the last length of hospital stay of patient 93104?

Question: select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 93104 and admissions.dischtime is not null order by admissions.admittime desc limit 1

what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?

what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?

Answer: 6


Question: show me patient 28020's length of stay of the last hospital stay.

what was the last length of hospital stay of patient 28020?

Question: select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 28020 and admissions.dischtime is not null order by admissions.admittime desc limit 1

what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?

what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?

Answer: 6


Question: show me patient 62298's los of the last hospital stay.

what was the last length of hospital stay of patient 62298?

Question: select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 62298 and admissions.dischtime is not null order by admissions.admittime desc limit 1

what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?

what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?

Answer: 3


Question: get me patient 63781's los of the last hospital stay.

what was the last length of hospital stay of patient 63781?

Question: select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 63781 and admissions.dischtime is not null order by admissions.admittime desc limit 1

what was the [time_filter_exact1] length of hospital stay of patient {patient_id}?

what was the [time_filter_exact1:exact-last] length of hospital stay of patient {patient_id}?

Answer: 9


Question: what is the weight variation of patient 2518 last measured on the current hospital visit compared to the first value measured on the current hospital visit?

what is the change in the weight of patient 2518 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?

Question: 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 asc limit 1 )

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]?

rel-hosp-cur rel-hosp-cur exact-first exact-last

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]?

Answer: 27.400001525878878


Question: what difference is there in patient 20166's weight second measured on the first hospital visit compared to the first value measured on the first hospital visit?

what is the change in the weight of patient 20166 from the second value measured on the first hospital visit compared to the first value measured on the first hospital visit?

Question: 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 = 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 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 = 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 asc limit 1 )

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]?

rel-hosp-first rel-hosp-first exact-first exact-second

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]?

Answer: -0.40000152587890625


Question: what is patient 13806's weight difference from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?

what is the change in the weight of patient 13806 from the last value measured on the last hospital visit compared to the first value measured on the last hospital visit?

Question: 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 = 13806 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 = 13806 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 )

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]?

rel-hosp-last rel-hosp-last exact-first exact-last

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]?

Answer: 2.0


Question: what is the weight difference of patient 30826 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?

what is the change in the weight of patient 30826 from the last value measured on the current hospital visit compared to the first value measured on the current hospital visit?

Question: 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 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 = 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 )

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]?

rel-hosp-cur rel-hosp-cur exact-first exact-last

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]?

Answer: 43.29999542236327


Question: what is the weight change of patient 12927 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?

what is the change in the weight of patient 12927 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?

Question: 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 = 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 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 = 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 )

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]?

rel-hosp-cur rel-hosp-cur exact-first exact-second

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]?

Answer: 39.80000305175781


Question: what's the potassium change/difference of patient 99747 second measured on the last hospital visit compared to the first value measured on the last hospital visit?

what is the change in the value of potassium of patient 99747 from the second value measured on the last hospital visit compared to the first value measured on the last hospital visit?

Question: select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 99747 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 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 = 99747 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 asc limit 1 )

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]?

rel-hosp-last rel-hosp-last exact-first exact-second

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]?

Answer: -0.5


Question: how much difference there is among patient 71558's potassium change second measured on the current hospital visit compared to the value first measured on the current hospital visit?

what is the change in the value of potassium of patient 71558 from the second value measured on the current hospital visit compared to the first value measured on the current hospital visit?

Question: 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 = 'potassium' ) 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 = 71558 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 asc limit 1 )

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]?

rel-hosp-cur rel-hosp-cur exact-first exact-second

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]?

Answer: 1.9000000000000004


Question: what is patient 98235's difference in hemoglobin from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?

what is the change in the value of hemoglobin of patient 98235 from the last value measured on the first hospital visit compared to the first value measured on the first hospital visit?

Question: select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 98235 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 = 98235 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 )

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]?

rel-hosp-first rel-hosp-first exact-first exact-last

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]?

Answer: -3.3000000000000007


Question: what is the potassium difference of patient 47746 from the value measured at 2103-09-16 14:24:00 compared to the value measured at 2103-09-12 04:24:00?

what is the change in the value of potassium of patient 47746 from the value measured at 2103-09-16 14:24:00 compared to the value measured at 2103-09-12 04:24:00?

Question: select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47746 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.charttime = '2103-09-16 14:24:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 47746 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'potassium' ) and labevents.charttime = '2103-09-12 04:24:00' )

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]?

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]?

Answer: 0.5


Question: how much does patient 26195's pco2 differ from the value measured at 2104-02-08 14:00:00 compared to the value measured at 2104-02-08 13:08:00?

what is the change in the value of pco2 of patient 26195 from the value measured at 2104-02-08 14:00:00 compared to the value measured at 2104-02-08 13:08:00?

Question: select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26195 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pco2' ) and labevents.charttime = '2104-02-08 14:00:00' ) - ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26195 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'pco2' ) and labevents.charttime = '2104-02-08 13:08:00' )

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]?

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]?

Answer: 7.0


Question: how much difference of arterial bp [systolic] was there in patient 30235 last measured on the first icu visit compared to the second to last value measured on the first icu visit?

what is the change in the arterial bp [systolic] of patient 30235 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?

Question: 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 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 = 30235 ) 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 )

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]?

rel-icu-first rel-icu-first exact-second_to_last exact-last

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]?

Answer: 11.0


Question: what is the variation of patient 29540's heart rate measured at 2101-04-21 16:00:00 compared to the value measured at 2101-04-21 15:00:00?

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?

Question: 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' )

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]?

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]?

Answer: 2.0


Question: what is patient 18866's difference in heart rate from the second value measured on the current icu visit compared to the first value measured on the current icu visit?

what is the change in the heart rate of patient 18866 from the second value measured on the current icu visit compared to the first value measured on the current icu visit?

Question: 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 = '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 = 18866 ) 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 )

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]?

rel-icu-cur rel-icu-cur exact-first exact-second

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]?

Answer: 15.0


Question: how much does patient 19473's arterial bp [diastolic] change from the last value measured on the first intensive care unit visit compared to the second to last value measured on the first intensive care unit visit?

what is the change in the arterial bp [diastolic] of patient 19473 from the last value measured on the first icu visit compared to the second to last value measured on the first icu visit?

Question: 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 = 19473 ) 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 = 19473 ) 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 )

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]?

rel-icu-first rel-icu-first exact-second_to_last exact-last

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]?

Answer: 19.0


Question: what is patient 10624's change in heart rate from the second value measured on the first icu visit compared to the first value measured on the first icu visit?

what is the change in the heart rate of patient 10624 from the second value measured on the first icu visit compared to the first value measured on the first icu visit?

Question: 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 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 = 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 )

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]?

rel-icu-first rel-icu-first exact-first exact-second

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]?

Answer: 2.0


Question: was the rdw value of patient 273 second measured on the last hospital visit greater than that first measured on the last hospital visit?

is the value of rdw of patient 273 second measured on the last hospital visit greater than the first value measured on the last hospital visit?

Question: select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 273 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 = 273 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 )

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]?

rel-hosp-last rel-hosp-last exact-first exact-second

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]?

Answer: 1


Question: is the amylase of patient 16088 second measured on the first hospital visit less than it was first measured on the first hospital visit?

is the value of amylase of patient 16088 second measured on the first hospital visit less than the first value measured on the first hospital visit?

Question: select ( select labevents.valuenum from labevents where labevents.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 ) and labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'amylase' ) 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 = 16088 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 = 'amylase' ) order by labevents.charttime asc limit 1 )

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]?

rel-hosp-first rel-hosp-first exact-first exact-second

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]?

Answer: 1


Question: is the rdw of patient 15119 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?

is the value of rdw of patient 15119 last measured on the last hospital visit greater than the second to last value measured on the last hospital visit?

Question: select ( select labevents.valuenum from labevents where labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 15119 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 = 15119 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 offset 1 )

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]?

rel-hosp-last rel-hosp-last exact-second_to_last exact-last

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]?

Answer: 0


Question: did patient 96774 have a greater glucose value last measured on the first hospital visit than the second to last value measured on the first hospital visit?

is the value of glucose of patient 96774 last measured on the first hospital visit greater than the second to last value measured on the first hospital visit?

Question: select ( select labevents.valuenum 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 ) 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 = 96774 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 )

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]?

rel-hosp-first rel-hosp-first exact-second_to_last exact-last

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]?

Answer: 0


Question: compared to last measured on the first icu visit, was patient 14054's arterial bp [systolic] greater than the value first measured on the first icu visit?

is the arterial bp [systolic] of patient 14054 last measured on the first icu visit greater than the first value measured on the first icu visit?

Question: 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 = '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 = 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 = 'arterial bp [systolic]' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )

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]?

rel-icu-first rel-icu-first exact-first exact-last

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]?

Answer: 0


Question: the arterial bp [diastolic] of patient 26262 last measured on the last icu visit was less than second to last measured on the last icu visit?

is the arterial bp [diastolic] of patient 26262 last measured on the last icu visit less than the second to last value measured on the last icu visit?

Question: 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 = 26262 ) 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 = 26262 ) 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 )

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]?

rel-icu-last rel-icu-last exact-second_to_last exact-last

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]?

Answer: 1


Question: is the value of patient 1205's last arterial bp [systolic] measured on the first intensive care unit visit less than the second to last value measured on the first intensive care unit visit?

is the arterial bp [systolic] of patient 1205 last measured on the first icu visit less than the second to last value measured on the first icu visit?

Question: 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 = 1205 ) 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 = 1205 ) 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 )

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]?

rel-icu-first rel-icu-first exact-second_to_last exact-last

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]?

Answer: 1


Question: did patient 20165 have a greater arterial bp mean value second measured on the first intensive care unit visit compared to the first value measured on the first intensive care unit visit?

is the arterial bp mean of patient 20165 second measured on the first icu visit greater than the first value measured on the first icu visit?

Question: 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 = 20165 ) 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 = 20165 ) 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 )

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]?

rel-icu-first rel-icu-first exact-first exact-second

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]?

Answer: 0


Question: what patient 42757's age is during their first hospital encounter?

what was the age of patient 42757 on the first hospital visit?

Question: select admissions.age from admissions where admissions.subject_id = 42757 and admissions.dischtime is not null order by admissions.admittime asc limit 1

what is_verb the age of patient {patient_id} [time_filter_global1]?

what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-first]?

Answer: 59


Question: what age was patient 12885 on their last hospital visit?

what was the age of patient 12885 on the last hospital visit?

Question: select admissions.age from admissions where admissions.subject_id = 12885 and admissions.dischtime is not null order by admissions.admittime desc limit 1

what is_verb the age of patient {patient_id} [time_filter_global1]?

what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-last]?

Answer: 33


Question: tell me the age of patient 23436 during their current hospital encounter?

what is the age of patient 23436 on the current hospital visit?

Question: select admissions.age from admissions where admissions.subject_id = 23436 and admissions.dischtime is null

what is_verb the age of patient {patient_id} [time_filter_global1]?

what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?

Answer: 73


Question: on this hospital encounter, how old is patient 13054?

what is the age of patient 13054 on the current hospital visit?

Question: select admissions.age from admissions where admissions.subject_id = 13054 and admissions.dischtime is null

what is_verb the age of patient {patient_id} [time_filter_global1]?

what is_verb the age of patient {patient_id} [time_filter_global1:rel-hosp-cur]?

Answer: 65


Question: what is the name of the insurance in patient 57050 on this hospital encounter?

what is the name of insurance of patient 57050 on the current hospital visit?

Question: select admissions.insurance from admissions where admissions.subject_id = 57050 and admissions.dischtime is null

what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?

what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-cur]?

Answer: medicare


Question: what is the name of the insurance of patient 75581 on the first hospital encounter.

what was the name of insurance of patient 75581 on the first hospital visit?

Question: select admissions.insurance from admissions where admissions.subject_id = 75581 and admissions.dischtime is not null order by admissions.admittime asc limit 1

what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?

what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?

Answer: private


Question: what is patient 88409's insurance on their last hospital encounter?

what was the name of insurance of patient 88409 on the last hospital visit?

Question: select admissions.insurance from admissions where admissions.subject_id = 88409 and admissions.dischtime is not null order by admissions.admittime desc limit 1

what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?

what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-last]?

Answer: government


Question: what is patient 59941's insurance name when they visited the hospital first time?

what was the name of insurance of patient 59941 on the first hospital visit?

Question: select admissions.insurance from admissions where admissions.subject_id = 59941 and admissions.dischtime is not null order by admissions.admittime asc limit 1

what is_verb the name of insurance of patient {patient_id} [time_filter_global1]?

what is_verb the name of insurance of patient {patient_id} [time_filter_global1:rel-hosp-first]?

Answer: medicare


Question: what was the married status of patient 40707 during this hospital visit?

what is the marital status of patient 40707 on the current hospital visit?

Question: select admissions.marital_status from admissions where admissions.subject_id = 40707 and admissions.dischtime is null

what is_verb the marital status of patient {patient_id} [time_filter_global1]?

what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?

Answer: married


Question: what did patient 72032's marital status in their current hospital encounter?

what is the marital status of patient 72032 on the current hospital visit?

Question: select admissions.marital_status from admissions where admissions.subject_id = 72032 and admissions.dischtime is null

what is_verb the marital status of patient {patient_id} [time_filter_global1]?

what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-cur]?

Answer: married


Question: when they came to the hospital first time, what is the marital status of patient 28343?

what was the marital status of patient 28343 on the first hospital visit?

Question: select admissions.marital_status from admissions where admissions.subject_id = 28343 and admissions.dischtime is not null order by admissions.admittime asc limit 1

what is_verb the marital status of patient {patient_id} [time_filter_global1]?

what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?

Answer: single


Question: what is patient 43052's marital status on their first hospital encounter?

what was the marital status of patient 43052 on the first hospital visit?

Question: select admissions.marital_status from admissions where admissions.subject_id = 43052 and admissions.dischtime is not null order by admissions.admittime asc limit 1

what is_verb the marital status of patient {patient_id} [time_filter_global1]?

what is_verb the marital status of patient {patient_id} [time_filter_global1:rel-hosp-first]?

Answer: married


Question: tell me the percentile of mcv 97.0 in patients of the same age as patient 2127 during the last hospital visit?

what percentile is the value of 97.0 in a mcv lab test among patients of the same age as patient 2127 on the last hospital visit?

Question: 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 = 2127 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) ) as t1 where t1.valuenum = 97.0

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]?

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]?

Answer: 0.8565573770491803


Question: what is the percentile of 1.1 in a creatinine lab test that given the same age of patient 25814 in this hospital visit?

what percentile is the value of 1.1 in a creatinine lab test among patients of the same age as patient 25814 on the current hospital visit?

Question: 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 = 25814 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 1.1

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]?

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]?

Answer: 0.5586592178770949


Question: what is the percentile of 26.5 in a hematocrit lab test given the same age of patient 4495 during their first hospital visit?

what percentile is the value of 26.5 in a hematocrit lab test among patients of the same age as patient 4495 on the first hospital visit?

Question: 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 = 4495 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) ) as t1 where t1.valuenum = 26.5

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]?

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]?

Answer: 0.1974025974025974


Question: what percentile is red blood cells 3.61 among patients of the same age as patient 15209 during their current hospital visit?

what percentile is the value of 3.61 in a red blood cells lab test among patients of the same age as patient 15209 on the current hospital visit?

Question: 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 = 15209 and admissions.dischtime is null ) ) ) as t1 where t1.valuenum = 3.61

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]?

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]?

Answer: 0.6743119266055045


Question: how many days have gone since patient 60136 was admitted to the hospital for?

how many days have passed since patient 60136 was admitted to the hospital currently?

Question: select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 60136 and admissions.dischtime is null

how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?

how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?

Answer: -355


Question: how many days has it been since the admission of patient 11826 to the hospital?

how many days have passed since patient 11826 was admitted to the hospital currently?

Question: select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 11826 and admissions.dischtime is null

how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?

how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?

Answer: -362


Question: how many days has it been since patient 72032 was admitted to the hospital currently?

how many days have passed since patient 72032 was admitted to the hospital currently?

Question: select 1 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 72032 and admissions.dischtime is null

how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?

how many [unit_count:days] have passed since patient {patient_id} was admitted to the hospital currently?

Answer: -364


Question: how many hours have passed since patient 31854 was admitted to the hospital?

how many hours have passed since patient 31854 was admitted to the hospital currently?

Question: select 24 * ( strftime('%j',current_time) - strftime('%j',admissions.admittime) ) from admissions where admissions.subject_id = 31854 and admissions.dischtime is null

how many [unit_count] have passed since patient {patient_id} was admitted to the hospital currently?

how many [unit_count:hours] have passed since patient {patient_id} was admitted to the hospital currently?

Answer: -8640


Question: how many days have passed since patient 12775 was admitted to icu?

how many days have passed since patient 12775 was admitted to the icu currently?

Question: 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 = 12775 ) and icustays.outtime is null

how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?

how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?

Answer: -357


Question: how many hours have passed since patient 31854 was admitted to the intensive care unit?

how many hours have passed since patient 31854 was admitted to the icu currently?

Question: 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 = 31854 ) and icustays.outtime is null

how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?

how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?

Answer: -8640


Question: how many days have elapsed since patient 5828 was admitted to the intensive care unit currently?

how many days have passed since patient 5828 was admitted to the icu currently?

Question: 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 = 5828 ) and icustays.outtime is null

how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?

how many [unit_count:days] have passed since patient {patient_id} was admitted to the icu currently?

Answer: -359


Question: how many hours have passed since patient 90663 went to the icu?

how many hours have passed since patient 90663 was admitted to the icu currently?

Question: 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

how many [unit_count] have passed since patient {patient_id} was admitted to the icu currently?

how many [unit_count:hours] have passed since patient {patient_id} was admitted to the icu currently?

Answer: -8688


Question: how many days have it elapsed since the last time patient 31854 stayed in the careunit ccu during this hospital encounter?

how many days have passed since the last time patient 31854 stayed in careunit ccu on the current hospital visit?

Question: 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

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?

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?

Answer: -360


Question: how many hours have it been since the last time that patient 17667 stayed in careunit micu during their current hospital visit?

how many hours have passed since the last time patient 17667 stayed in careunit micu on the current hospital visit?

Question: 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

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?

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?

Answer: -8640


Question: how many hours has it been since the last time patient 14154 stayed in careunit csru during their current hospital encounter?

how many hours have passed since the last time patient 14154 stayed in careunit csru on the current hospital visit?

Question: 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 = 14154 and admissions.dischtime is null ) and transfers.careunit = 'csru' order by transfers.intime desc limit 1

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?

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?

Answer: -8712


Question: how many hours have elapsed since the first time patient 808 stayed in careunit sicu in this hospital encounter?

how many hours have passed since the first time patient 808 stayed in careunit sicu on the current hospital visit?

Question: 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 = 808 and admissions.dischtime is null ) and transfers.careunit = 'sicu' order by transfers.intime asc limit 1

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?

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?

Answer: -8496


Question: how many hours have passed since patient 31482's last stay in careunit tsicu on their current hospital encounter?

how many hours have passed since the last time patient 31482 stayed in careunit tsicu on the current hospital visit?

Question: 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 = 31482 and admissions.dischtime is null ) and transfers.careunit = 'tsicu' order by transfers.intime desc limit 1

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} stayed in careunit {careunit} on the current hospital visit?

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?

Answer: -8688


Question: how many days have passed since patient 10855 stayed in the ward 50 in their current hospital visit for the last time?

how many days have passed since the last time patient 10855 stayed in ward 50 on the current hospital visit?

Question: 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 = 10855 and admissions.dischtime is null ) ) and transfers.wardid = 50 order by transfers.intime desc limit 1

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?

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?

Answer: -344


Question: how many hours have elapsed since patient 40707's last stay in the ward 33 during this hospital encounter?

how many hours have passed since the last time patient 40707 stayed in ward 33 on the current hospital visit?

Question: 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

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?

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?

Answer: -8664


Question: how many days have elapsed since the first time patient 25733 stayed in ward 52 on their current hospital encounter?

how many days have passed since the first time patient 25733 stayed in ward 52 on the current hospital visit?

Question: 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

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?

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?

Answer: -363


Question: how many hours has it been since patient 96833's last stay in ward 33 during the current hospital visit?

how many hours have passed since the last time patient 96833 stayed in ward 33 on the current hospital visit?

Question: 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 = 33 order by transfers.intime desc limit 1

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?

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?

Answer: -8448


Question: how many hours have passed since patient 90663's first stay in ward 12 during their current hospital encounter?

how many hours have passed since the first time patient 90663 stayed in ward 12 on the current hospital visit?

Question: 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 = 90663 and admissions.dischtime is null ) ) and transfers.wardid = 12 order by transfers.intime asc limit 1

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?

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?

Answer: -8688


Question: how many days have there been since patient 57050's last sec mal neo brain/spine diagnosis during this hospital encounter?

how many days have passed since the last time patient 57050 was diagnosed with sec mal neo brain/spine on the current hospital visit?

Question: 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 = 'sec mal neo brain/spine' ) 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

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?

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?

Answer: -357


Question: how many hours has it been since the last time patient 94229 was diagnosed in the current hospital visit with empyema w/o fistula?

how many hours have passed since the last time patient 94229 was diagnosed with empyema w/o fistula on the current hospital visit?

Question: 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 = 'empyema w/o fistula' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 94229 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1

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?

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?

Answer: -8544


Question: how many hours has it been since the first time patient 60136 was diagnosed with ac on chr diast hrt fail during their current hospital visit?

how many hours have passed since the first time patient 60136 was diagnosed with ac on chr diast hrt fail on the current hospital visit?

Question: 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 = 'ac on chr diast hrt fail' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 60136 and admissions.dischtime is null ) order by diagnoses_icd.charttime asc limit 1

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?

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?

Answer: -8520


Question: how many days have elapsed since the last time patient 12927 was diagnosed with atrial flutter on the current hospital encounter?

how many days have passed since the last time patient 12927 was diagnosed with atrial flutter on the current hospital visit?

Question: 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 = 'atrial flutter' ) 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

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?

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?

Answer: -358


Question: how many hours have passed since patient 97330 was last diagnosed with renal agenesis on their current hospital encounter?

how many hours have passed since the last time patient 97330 was diagnosed with renal agenesis on the current hospital visit?

Question: 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 = 'renal agenesis' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 97330 and admissions.dischtime is null ) order by diagnoses_icd.charttime desc limit 1

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?

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?

Answer: -8520


Question: how many days have passed since patient 82132 last received prescriptions for trazodone on the current hospital encounter?

how many days have passed since the last time patient 82132 was prescribed trazodone on the current hospital visit?

Question: 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

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?

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?

Answer: -362


Question: how many days is it since patient 40707's first d10w prescription in the current hospital visit?

how many days have passed since the first time patient 40707 was prescribed d10w on the current hospital visit?

Question: 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

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?

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?

Answer: -361


Question: how many hours has it been since patient 2518 was first prescribed bupropion during the current hospital encounter?

how many hours have passed since the first time patient 2518 was prescribed bupropion on the current hospital visit?

Question: 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

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?

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?

Answer: -8592


Question: how many days have elapsed since patient 10855's first senna prescription during their current hospital visit?

how many days have passed since the first time patient 10855 was prescribed senna on the current hospital visit?

Question: 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 = 'senna' order by prescriptions.startdate asc limit 1

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?

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?

Answer: -348


Question: how many days have passed since patient 76327 was last prescribed docusate sodium on the current hospital encounter?

how many days have passed since the last time patient 76327 was prescribed docusate sodium on the current hospital visit?

Question: 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 = 76327 and admissions.dischtime is null ) and prescriptions.drug = 'docusate sodium' order by prescriptions.startdate desc limit 1

how many [unit_count] have passed since the [time_filter_exact1] time patient {patient_id} was prescribed {drug_name} on the current hospital visit?

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?

Answer: -363


Question: on this hospital encounter how many hours has it been since when patient 95892 received a pt lab test for the first time?

how many hours have passed since the first time patient 95892 received a pt lab test on the current hospital visit?

Question: 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

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?

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?

Answer: -8664


Question: how many hours does it have been since patient 19428 last received a anion gap lab test in the current hospital encounter?

how many hours have passed since the last time patient 19428 received a anion gap lab test on the current hospital visit?

Question: 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 = 19428 and admissions.dischtime is null ) order by labevents.charttime desc limit 1

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?

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?

Answer: -8736


Question: how many days have elapsed since patient 22648 first received a creatinine lab test on their current hospital encounter?

how many days have passed since the first time patient 22648 received a creatinine lab test on the current hospital visit?

Question: 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 = 22648 and admissions.dischtime is null ) order by labevents.charttime asc limit 1

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?

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?

Answer: -361


Question: how many days have elapsed since patient 15794's last pco2 lab test on the current hospital visit?

how many days have passed since the last time patient 15794 received a pco2 lab test on the current hospital visit?

Question: 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

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?

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?

Answer: -362


Question: how many days has it been since patient 72909's last calculated total co2 lab test in the current hospital visit?

how many days have passed since the last time patient 72909 received a calculated total co2 lab test on the current hospital visit?

Question: 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 = 72909 and admissions.dischtime is null ) order by labevents.charttime desc limit 1

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?

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?

Answer: -364


Question: how many hours have elapsed since patient 14467 received a last intake of d10w on the current icu visit?

how many hours have passed since the last time patient 14467 had a d10w intake on the current icu visit?

Question: 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

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?

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?

Answer: -8736


Question: how many days has it been since the last lactated ringers intake of patient 12775 on the current icu visit?

how many days have passed since the last time patient 12775 had a lactated ringers intake on the current icu visit?

Question: 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 = 'lactated ringers' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime desc limit 1

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?

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?

Answer: -364


Question: how many days has it been since patient 1561 first received a .45% normal saline intake on the current icu visit?

how many days have passed since the first time patient 1561 had a .45% normal saline intake on the current icu visit?

Question: 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 = '.45% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1

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?

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?

Answer: -363


Question: how many days has it been since patient 5828's first .9% normal saline intake on the current intensive care unit visit?

how many days have passed since the first time patient 5828 had a .9% normal saline intake on the current icu visit?

Question: 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 = '.9% normal saline' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1

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?

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?

Answer: -359


Question: how many hours have elapsed since the first time patient 3125 had a impact w/fiber intake on the current intensive care unit visit?

how many hours have passed since the first time patient 3125 had a impact w/fiber intake on the current icu visit?

Question: 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 = 'impact w/fiber' and d_items.linksto = 'inputevents_cv' ) order by inputevents_cv.charttime asc limit 1

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?

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?

Answer: -8736


Question: how did since 2104 patient 25365 first get admitted to the hospital?

what was the first hospital admission type of patient 25365 since 2104?

Question: select admissions.admission_type from admissions where admissions.subject_id = 25365 and strftime('%Y',admissions.admittime) >= '2104' order by admissions.admittime asc limit 1

what was the [time_filter_exact1] hospital admission type of patient {patient_id} [time_filter_global1]?

what was the [time_filter_exact1:exact-first] hospital admission type of patient {patient_id} [time_filter_global1:abs-year-since]?

Answer: emergency