Open jtktam opened 4 years ago
I've been facing this issue as well. Was anyone able to figure out what's going on?
Hi, apologies for not noticing this issue sooner. These observations you noticed here are special in that they aren't intended to represent actual observations in the context of a patient's medical care, these are post-generation calculated measures of disease burden: Quality-Adjusted Life Years (QALY), Disability-Adjusted Life Years (DALY), and Quality of Life Scale (QOLS). Because they aren't "real" observations, there isn't a real encounter to link them to. Let us know if this is still an issue, maybe we should consider a config setting to enable/disable exporting these special observations.
I have generated a 25k sized data set and there are some observations that has no encounters, according to the docs the encounter is a required field?
2012-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,-0.0,a,numeric 2013-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,-0.0,a,numeric 2014-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,0.9,a,numeric 2015-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,1.8,a,numeric 2016-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,2.7,a,numeric 2017-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,3.6,a,numeric 2018-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,4.5,a,numeric 2019-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QALY,QALY,5.3,a,numeric 2012-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.0,a,numeric 2013-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.0,a,numeric 2014-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.1,a,numeric 2015-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.2,a,numeric 2016-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.3,a,numeric 2017-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.4,a,numeric 2018-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.5,a,numeric 2019-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,DALY,DALY,0.7,a,numeric 2012-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,1.0,{score},numeric 2013-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,1.0,{score},numeric 2014-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,0.9,{score},numeric 2015-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,0.9,{score},numeric 2016-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,0.9,{score},numeric 2017-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,0.9,{score},numeric 2018-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,0.9,{score},numeric 2019-09-11T12:02:04Z,803f0236-405d-4e82-a8d6-dbdcda1768be,,QOLS,QOLS,0.8,{score},numeric