Closed karafecho closed 10 months ago
@karafecho After further investigating, I realized this issue was triggered by changes to address the issue #247 which changed the response from cohort endpoint to return number of patients rather than number of observations as previously implemented. So the counts returned here are for number of observations for selected cohort rather than aggregating across years. Should we make it clear the returned count are for number of observations? The confusion here is that the cohort returns number of patients while these features and features associations endpoints return number of observations for the select cohort, which was discussed a bit in that issue #247. It seems to me these endpoints are all returning correct results and we just need to update documentation to make the returned results clearer to the users. What do you think?
See my 10.11.2023 post at #280.
Closing ticket, as this issue has been resolved ...
This issue is to report that the PCD endpoint is aggregated across years instead of returning results for selected cohort. May be related to #280.
For example:
"return value": { "cohort_id": "COHORT:1", "size": 7940 }
curl -X 'GET' \ 'https://icees-pcd.renci.org/patient/cohort/COHORT%3A1/features' \ -H 'accept: text/tabular'
Excerpt: