@ouiliam I was able to see the issue fine. Are you able to see it now?
I modified the ticket slightly to follow the pattern we’re using for bug reports: Steps to Reproduce, Expected Behavior, Actual Behavior.
Personally I don’t understand why we use an autocomplete widget there, instead of a dropdown, because there would typically be only a small number of allowed options for document type. So, my proposal would be to change this to a dropdown.
Does anyone know the original motivation for the autocomplete and/or think we should stick to that? (@arjun?)
@ouiliam, I am not sure but I think there could be more than one choice available in the drop-down. I believe ‘Patient file’ refers to the underlying concept to which the document will be attached.
This concept is a member of the ‘Patient Document’ set (id:330).
So adding more members to this set should allow selecting more types of patient documents.
Anyway we should definitely add a title to this field to say what it is, eg ‘Document type’ and have it has a drop down.
About having a file name added as a description or something, I don’t know if that’s possible. I suggest for now to use the notes fields.
What I take away from this is that we’re missing some validation in the upload of the files, is this correct? Or, is what you’re saying that regardless of the config and which type is chosen, PDFs do not display in the clinical app, but JPGs do?