Open MiskoG opened 3 years ago
I identified the issue, it's partly due to a mapping issue on DocumentReference and also because the cohort app is not flexible at all. I'm fixing this thanks to @Peltier10 help.
Ok great ! Does fixing this imply only modifying the mapping, or also make Cohort more flexible in this case ?
We need to modify both. Should be done tomorrow.
don't have time to finish this sorry: For @Jasopaum :
in src/components/Cohort/Documents/DocumentList/DocumentList.tsx
: the file url needs to start with file://
and end with.pdf
. We only use the first extension but sometimes there are multiple ones (for tls, there are three sections).
You need to adapt src/components/Cohort/Documents/PdfRenderer/PdfRenderer.tsx
to accept multiple sections
don't have time to finish this sorry: For @Jasopaum : in
src/components/Cohort/Documents/DocumentList/DocumentList.tsx
: the file url needs to start withfile://
and end withsrc/components/Cohort/Documents/PdfRenderer/PdfRenderer.tsx
to accept multiple sections
I don't think this was really the answer to this issue. The problem was that the api response was an empty bundle when trying to sort on the search param date. I removed the sorting for now but we need to investigate
I removed the sorting for now but we need to investigate
@Jasopaum Can we consider this initial bug/issue as fixed ? Is there any PR associated with the sort removing ?
Spotted by @elsiehoffet-94
Seems like we have a bad request on the DocumentReference FHIR endpoint. I think there is an easy fix but I'm not sure, what do you think @simonvadee ?