inputs
stringlengths
25
211
labels
stringlengths
62
1.22k
db_id
stringclasses
1 value
is_impossible
bool
1 class
id
stringlengths
24
24
whats the sex of patient 22315?
select patients.gender from patients where patients.subject_id = 22315
mimic_iii
false
22efcdd791fe253702845816
tell me the sex of patient 5310.
select patients.gender from patients where patients.subject_id = 5310
mimic_iii
false
e2a9e83b809842aaaeb11cb0
whats the sex of patient 97734?
select patients.gender from patients where patients.subject_id = 97734
mimic_iii
false
91347031651c021ecad6a8bc
whats the sex of patient 68641?
select patients.gender from patients where patients.subject_id = 68641
mimic_iii
false
0b0ebc1d836d4c77e967b929
tell me the sex of patient 14467.
select patients.gender from patients where patients.subject_id = 14467
mimic_iii
false
790d3ecf58182a796356837f
whats the sex of patient 25869?
select patients.gender from patients where patients.subject_id = 25869
mimic_iii
false
32ed05549f9a876ff730ae6e
does patient 15760 have a male or female gender?
select patients.gender from patients where patients.subject_id = 15760
mimic_iii
false
e9f43332d75377c8134a4780
does patient 12917 have a male or female gender?
select patients.gender from patients where patients.subject_id = 12917
mimic_iii
false
58e9f628d986087491aac20d
what are patient 26793's genders?
select patients.gender from patients where patients.subject_id = 26793
mimic_iii
false
08340726db8f6a1116594967
what are patient 70709's genders?
select patients.gender from patients where patients.subject_id = 70709
mimic_iii
false
d93058c12f048d80eaae1c99
tell me the sex of patient 49140.
select patients.gender from patients where patients.subject_id = 49140
mimic_iii
false
8a62e2920c5009af5a3a3841
does patient 61749 have a male or female gender?
select patients.gender from patients where patients.subject_id = 61749
mimic_iii
false
94b911b2b14a6b38b4d8b5df
tell me the sex of patient 24330.
select patients.gender from patients where patients.subject_id = 24330
mimic_iii
false
4031e5f9f8bc4dab82e76a49
what are patient 7524's genders?
select patients.gender from patients where patients.subject_id = 7524
mimic_iii
false
9590cd9048e7511c6e900b83
does patient 53443 have a male or female gender?
select patients.gender from patients where patients.subject_id = 53443
mimic_iii
false
5f906175c07c3bb709c240df
does patient 25997 have a male or female gender?
select patients.gender from patients where patients.subject_id = 25997
mimic_iii
false
6204e3eb4fb2e612284e522d
what are patient 25815's genders?
select patients.gender from patients where patients.subject_id = 25815
mimic_iii
false
4e9b52c52f9d427b2bf584ff
tell me the sex of patient 29806.
select patients.gender from patients where patients.subject_id = 29806
mimic_iii
false
8454585b8ca166b9939f7711
what are patient 8204's genders?
select patients.gender from patients where patients.subject_id = 8204
mimic_iii
false
2cfacb9d5b3047949bf93660
tell me the birth date of patient 88409?
select patients.dob from patients where patients.subject_id = 88409
mimic_iii
false
cbbf389620cd370f7c6c708a
what is the date of birth for patient 16368?
select patients.dob from patients where patients.subject_id = 16368
mimic_iii
false
a97610737c664ec2bdfb1ca0
tell me the date of patient 6940's birth?
select patients.dob from patients where patients.subject_id = 6940
mimic_iii
false
f26f9def3073afd6b2dc2504
when is the birthday of patient 61527?
select patients.dob from patients where patients.subject_id = 61527
mimic_iii
false
9dce203776ce097bbf52c610
tell me the birthdate of patient 18726?
select patients.dob from patients where patients.subject_id = 18726
mimic_iii
false
2e1486b7c28196294b775ab4
when patient 19096's birthday is?
select patients.dob from patients where patients.subject_id = 19096
mimic_iii
false
0626fb4a20a4f74325417cda
what are the birth dates of patient 26262?
select patients.dob from patients where patients.subject_id = 26262
mimic_iii
false
ea36051aa9a1b91509f8ebce
when's patient 97834's birthday?
select patients.dob from patients where patients.subject_id = 97834
mimic_iii
false
cd3c6b4ad9fd5fa046a1777c
what's the date of patient 60572's birth?
select patients.dob from patients where patients.subject_id = 60572
mimic_iii
false
33966e102ef605b9ba65cfc4
what's the date of birth for patient 30614?
select patients.dob from patients where patients.subject_id = 30614
mimic_iii
false
7caac1ca9069acf120ada24b
what's the date of the birth of patient 7524?
select patients.dob from patients where patients.subject_id = 7524
mimic_iii
false
75960a2731716a1f5c9408fc
what date is patient 83038's birthday?
select patients.dob from patients where patients.subject_id = 83038
mimic_iii
false
4ea79d261bc7179fffe58480
what's the date of patient 20589's birth?
select patients.dob from patients where patients.subject_id = 20589
mimic_iii
false
ecedaa3a30c10bce8a99050c
what is the date of birth for patient 81546?
select patients.dob from patients where patients.subject_id = 81546
mimic_iii
false
27826df884b68f4c9acf8d06
tell me the birth date of patient 57899?
select patients.dob from patients where patients.subject_id = 57899
mimic_iii
false
8dce6ceeb95c7b179d1cf5d2
when's patient 73693's birthday?
select patients.dob from patients where patients.subject_id = 73693
mimic_iii
false
ad3de7f574dc0d5677194328
what's the date of patient 1819's birth?
select patients.dob from patients where patients.subject_id = 1819
mimic_iii
false
b2e646be2dd62d74194ceef2
when's patient 15125's birthday?
select patients.dob from patients where patients.subject_id = 15125
mimic_iii
false
f0cbbaa00e60325701ddf524
tell me the date of patient 76494's birth?
select patients.dob from patients where patients.subject_id = 76494
mimic_iii
false
07ed8855bb4ae83e4b1886aa
when is the birthday of patient 63049?
select patients.dob from patients where patients.subject_id = 63049
mimic_iii
false
43bb2658862eac6c10697365
what date is patient 5658's birthday?
select patients.dob from patients where patients.subject_id = 5658
mimic_iii
false
8084219e24aa49c029927973
tell me the birth date of patient 53089?
select patients.dob from patients where patients.subject_id = 53089
mimic_iii
false
22eea421ecbb8a7e2ec73d1e
what's the date of patient 61527's birth?
select patients.dob from patients where patients.subject_id = 61527
mimic_iii
false
4b328f71d7fffa70ad99a24b
what's the date of birth for patient 96833?
select patients.dob from patients where patients.subject_id = 96833
mimic_iii
false
f5ad250732f7722d2b078922
tell me the birth date of patient 19096?
select patients.dob from patients where patients.subject_id = 19096
mimic_iii
false
b607f0bbc46ec3720e572f09
tell me the birthdate of patient 61527?
select patients.dob from patients where patients.subject_id = 61527
mimic_iii
false
dde9bb86221553b0a2e8c501
tell me the birth date of patient 23002?
select patients.dob from patients where patients.subject_id = 23002
mimic_iii
false
4f980da9ff8a18822909681f
what's the date of patient 8991's birth?
select patients.dob from patients where patients.subject_id = 8991
mimic_iii
false
8912fc8a67c747585817696f
tell me the birthdate of patient 19175?
select patients.dob from patients where patients.subject_id = 19175
mimic_iii
false
315be12f57ae80bf323b6108
what date is patient 76327's birthday?
select patients.dob from patients where patients.subject_id = 76327
mimic_iii
false
f8f33b394f411c39da0e3924
what's the date of patient 14611's birth?
select patients.dob from patients where patients.subject_id = 14611
mimic_iii
false
9845ac07d30744b76b037803
tell me the birth date of patient 366?
select patients.dob from patients where patients.subject_id = 366
mimic_iii
false
f3480d7fd190ab2aebee7728
what's the date of the birth of patient 24330?
select patients.dob from patients where patients.subject_id = 24330
mimic_iii
false
f261628dde9cff85602c381e
when patient 24330's birthday is?
select patients.dob from patients where patients.subject_id = 24330
mimic_iii
false
10e1546caccfef5febcd932d
what's the date of patient 3939's birth?
select patients.dob from patients where patients.subject_id = 3939
mimic_iii
false
6d39bd1d64b83f1a292884bd
when's patient 91004's birthday?
select patients.dob from patients where patients.subject_id = 91004
mimic_iii
false
4a6d7c79eff28029b09a61c8
tell me the birth date of patient 1819?
select patients.dob from patients where patients.subject_id = 1819
mimic_iii
false
5c44ae9fa575eab71a3a9ef9
what are the birth dates of patient 25847?
select patients.dob from patients where patients.subject_id = 25847
mimic_iii
false
ca68018a8bb1bad410ef3756
when patient 67005's birthday is?
select patients.dob from patients where patients.subject_id = 67005
mimic_iii
false
eb88dc78e3bfa22e88e0b9e4
what are the birth dates of patient 28600?
select patients.dob from patients where patients.subject_id = 28600
mimic_iii
false
d61e1f2115a5981bc3e0af53
calculate the total length of patient 60142's first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 60142 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
6ede4d80cbbd31c80cf9d38c
calculate the length of stay of patient 82159 during his first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 82159 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
bd151cd8268174fa6dae7e83
tell me the duration of patient 23224's first stay in the hospital.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 23224 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
97328033f2d1fc4d4d8ed4c4
calculate the length of stay of patient 15135 during the last hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 15135 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
285e25b2209815f682eb3813
calculate the length of stay of the first hospital stay of patient 41014.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 41014 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
54e919142503a5307206d7fe
calculate the length of the first hospital stay of patient 65883.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 65883 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
c0902865390ff8934a6e1ac4
what is the length of patient 60180's first hospital stay?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 60180 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
a19f114f3128f3b64e386d20
calculate patient 59049's length of stay during his first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 59049 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
2d92c8fedcdb58e0254b0a97
what is patient 6580's length of stay of the first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 6580 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
872c04bcf52067c7fe100e4b
how long did patient 32486's first stay stay in the hospital?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 32486 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
4f6cf5cf21d0a918967e562c
what was the length of stay in patient 26195's first hospital stay?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 26195 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
67102b83e7b792ad27c68151
how long was patient 7959's last stay in the hospital.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 7959 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
fafed78ab22b71eb1edf4529
calculate the duration of hospital stay of patient 23760's last hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 23760 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
69236c9c8834c2f871fe055c
how long was the last of patient 82159's stay in the hospital?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 82159 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
dda58394674f8f51d357bc1b
calculate the length of patient 7959's stay for the last hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 7959 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
a61a10eccc1eee0eb109bbcd
tell me what the length of stay was for patient 85169's first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 85169 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
2465f3fb32d29ad669d272d1
show me the duration of patient 20862's hospital stay for the first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 20862 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
9ffd3dfb23c478098ac1627e
how long was the first stay of patient 98015 in the hospital?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 98015 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
479bfc604638005ef171deda
calculate the duration of patient 41014's first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 41014 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
51867187382260a798457c07
what was the length of stay of patient 15135's last hospital stay?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 15135 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
ddcfa775c0b0e1f78a983e33
how long was patient 78076's last stay in hospital?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 78076 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
7518e032d446c5e9a4d4cf97
calculate the duration of patient 23224's last hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 23224 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
4f95d44ed48cdc179558b35c
how long was the first stay in the hospital of patient 52898?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 52898 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
2b6d0ad01344ae370e301269
how long does patient 8562 stay in hospital for the first time.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 8562 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
b6babaa797fb929e4274ac03
what is patient 3745's length of stay of the last hospital stay?
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
mimic_iii
false
450b3fcc9cc1824f8571641b
how long is the last hospital stay of patient 9038?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 9038 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
f694688bbae5b6f2b8ae365a
how long did patient 26195 first stay in the hospital?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 26195 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
d9c1d57a006b2660b813e1ce
how long was the first hospital stay of patient 65883?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 65883 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
2d5c62eac353dd85459ce2f8
tell me how long patient 11362 stayed in the hospital last time.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 11362 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
d404b0136ac6a4e88ed487ba
calculate the length of hospital stay of the first hospital stay of patient 74716.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 74716 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
1ad8aa0f97d64bf73ac5b4e8
what was the length of stay in patient 30789's last hospital stay?
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 30789 and admissions.dischtime is not null order by admissions.admittime desc limit 1
mimic_iii
false
392b15ff719ead4a11fa5fe5
tell me how long patient 3745 stayed in the hospital last time.
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
mimic_iii
false
97742043cd30e95f5eda50bd
calculate patient 7375's length of stay during his first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 7375 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
a4329669028efce8a99b4b6d
calculate the length of the hospital stay of patient 77980 for the first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 77980 and admissions.dischtime is not null order by admissions.admittime asc limit 1
mimic_iii
false
ca77689e92953807a8df4042
how much is the difference in body weight of patient 12726 last measured on the current hospital visit compared to the value first measured on the current hospital visit?
select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 12726 and admissions.dischtime is null ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )
mimic_iii
false
ca779e3add56f7ce8437f6ac
how much of a change is patient 19161's weight change second measured on the first hospital visit compared to the value first measured on the first hospital visit?
select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19161 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 19161 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )
mimic_iii
false
2657cff199f03b4872ee38c0
what difference in weight did patient 8016 have second measured on the last hospital visit compared to the value first measured on the last hospital visit?
select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 offset 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 8016 and admissions.dischtime is not null order by admissions.admittime desc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )
mimic_iii
false
0afd0c35d5c7b3f4f1303541
what difference in weight was there in patient 25461 last measured on the first hospital visit compared to the first value measured on the first hospital visit?
select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 25461 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime asc limit 1 )
mimic_iii
false
71787ac73e3b7a5390840b8a
what is the variation of patient 594's weight last measured on the first hospital visit compared to the second to last value measured on the first hospital visit?
select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 594 and admissions.dischtime is not null order by admissions.admittime asc limit 1 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) order by chartevents.charttime desc limit 1 offset 1 )
mimic_iii
false
b769a87ae08b925b127e1f63
show the change in weight of patient 23070's measured at 2105-12-12 04:00:00 compared to the value measured at 2105-12-08 03:00:00?
select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-12 04:00:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23070 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-08 03:00:00' )
mimic_iii
false
3ab3f7016325e3c9a35d8fdb
how much is the change in weight of patient 739 measured at 2105-12-31 16:30:00 compared to the value measured at 2105-12-30 04:00:00?
select ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-31 16:30:00' ) - ( select chartevents.valuenum from chartevents where chartevents.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 739 ) ) and chartevents.itemid in ( select d_items.itemid from d_items where d_items.label = 'admit wt' and d_items.linksto = 'chartevents' ) and chartevents.charttime = '2105-12-30 04:00:00' )
mimic_iii
false
d43171ebeffea8831ee3f316