This implements in-memory file storage, which is useful if we want to allow the file to be downloaded as it was uploaded verbatim. This would also be necessary for any of the features which require the pml error to be displayed as the raw file with troublesome lines highlighted.
I've also add file download helper function which would be able to download the file as it was uploaded or any raw pml response that panacea might generate, which may be needed as part of the "merging clinical pathways" feature or any of the PML-TX features 😱
This implements in-memory file storage, which is useful if we want to allow the file to be downloaded as it was uploaded verbatim. This would also be necessary for any of the features which require the pml error to be displayed as the raw file with troublesome lines highlighted.
I've also add file download helper function which would be able to download the file as it was uploaded or any raw pml response that panacea might generate, which may be needed as part of the "merging clinical pathways" feature or any of the PML-TX features 😱