Closed MiskoG closed 3 years ago
@simonvadee As we discussed, we can disaply a mention at the beginning of each document preview. Something like this, just for the user to know that the original document may be presented in a slightly more "damaged" way.
----------------------------------------------------------------
Ce document a été automatiquement généré
à partir du contenu texte d'un compte-rendu médical
----------------------------------------------------------------
... actual content ...
Context
To give some context, this is how we currently store in FHIR for Toulouse the content of the documents available
As far as I know this is not very standard FHIR-ly speaking, but was the quickest solution to implement as Cohort already checks this extension when searching on documents.
here
or here while creating a cohort
Issue
Now that we can search on those documents, we want to be able to show them.
Today it seems that Cohort knows how to render a DocumentReference when it contains an external reference to an image (png for instance) or a PDF.
In our case in Toulouse, it doesn't render anything as the DocumentReference directly contains a string which is the text extracted from the original document.
I raise 2 questions here @elsiehoffet-94 @Peltier10 @simonvadee