DOC - Medical Document
Naming and Coding
The medical document, like all other files within the patientās folder, is also a markdown note bearing an encoded name in the form mdocXYZ-N-K.document, where XYZ denotes the patientās numerical identifier, N is the sequential number for the current case, and K is the sequential number for the medical document. Accordingly, within each clinical case, one or more medical documents may be created and linked. For example, mdoc100-1-2.document represents the second medical document associated with the first clinical case of the patient with the alias - NIKOLAOS_PAPADOPOULOS_6945678901.
To display this open file in the Obsidian File Explorer (left-hand panel), click on the š icon located at the top right, next to its title (see Fig. 1). There is also a pages icon which, when clicked, opens the patient folderās file in the Windows File Explorer.
Medical Document Description
As with every file in the patientās folder, at the top beneath the banner the patientās full name, age, and date of birth are displayed. Immediately below, there is an internal link to open the clinical case to which the document refers, followed by a link to open the patientās record (summary). The user then selects the type of media files to be embedded in the document (text, image, etc.) and the category of medical procedures represented by the media (imaging, laboratory, etc.) (see Fig. 1).

Embedding a Section of a Medical Document
At this point, by making use of the embedding functionality provided by Obsidian, we can view multi-media cards from the medical document. In this example, there are three: one transcribed speech from the audio file and two imaging examinations (MRI and CT) (see Fig. 2).

Here are the multi-media cards embedded one by one
Medical Document Front-Matter
The information entered in the media cardsāsuch as date, previous and new file name, description/notes, file type, and category of examinationsāis automatically recorded in the fields of the front-matter, which can be accessed from the applicationās right-hand panel (Fig. 3) by clicking on the š icon.

Create a New Medical Document
A prerequisite for creating a new medical document for patient NIKOLAOS_PAPADOPOULOS_6945678901 is to open a clinical case, so that the medical document can be associated with it. For example, in the case of this particular patient, within the latest (his second) clinical case, the NEW DOCUMENT button is pressed.
Obsidian MEDILIG will attempt to locate media files in the predefined media_feeder folder (C:\media_feeder). You must create this folder on your PC, from which the patientās folder will be fed with media files (image, video, text). If the application cannot locate this folder, it will display the message:
Click on the message to dismiss it.
C:\ driveit is not possible to move files from one device (drive C:\) where the media_feeder is located to another device (drive D:\) where patient's folder is located.
If you have created the C:\media_feeder folder but have not placed any media files in it to be transferred to the patientās folder, the application will display the following message:
Click on the message to dismiss it. Provided that you have correctly created the C:\media_feeder folder, placed media files in it (image, audio, video, PDF, DOC, XLSX, etc.), and your Obsidian Vault is also on the same drive C:\, the files (not folders) will be transferred (Fig. 4) from C:\media_feeder to the patientās assets folder.

media_feeder folder containing three PNG images, one PDF file, one PPT file, and one TXT file. There are also folders, which the system ignores during the file transfer.Screen Capture Demo
We have created a screen capture video that demonstrates the entire process of importing media into the patientās folder, showing exactly how the medical document functions in conjunction with the clinical case and the medical library. We continue the example using the images mentioned above.
Adding Files to the media_feeder ā Creating a New Medical Document
First, we demonstrate how to add files to C:\media_feeder as shown in Fig. 4. After pressing the NEW DOCUMENT button, the message New media files are added in assets folder - 40sec will appear, followed by mdoc100-2-3.document updated - 47sec. At this point, the file transfer process and the creation of the new medical document have been completed.
Clinical Case ā Automatic Update in Medical Documents
Next, after confirming that the files have been added to the patientās folder and renamed, we scroll down to the clinical case, Medical Documents section (1m 14sec), and observe that the medical documents have been updated with the addition of No.3 mdoc100-2-3.document for the second (No. 2) clinical case, displaying the six multimedia files that were added.
A Medical Library of Medical Documents
Alternatively, we can open patientās medical library lib100.library (1m 30sec) and view a table listing all the medical documents that have been created, with the third 3rd medical document appearing first in sequence.
Obsidian File Explorer ā Opening and Modifying a Medical Document
On the 2m of the presentation, we opened the Obsidian File Explorer in the left-hand panel and displayed the media files in the assets subfolder under the patientās folder. We then opened mdoc100-2-3.document; this can also be opened from the medical library or from the clinical case by clicking the green internal link.
Within the medical document, we specify the file types (2m 13sec) (text and image) and the category of medical procedures (laboratory, other documents). We observe the changes reflected in the medical documents catalogue. Subsequently, we add a description and modify the previous names/titles of the media files, seeing once again how the table view in the medical documents catalogue is updated.
Opening multi-media files from inside the medical document
On the 3m 55sec of the presentation, we opened some of the media files. Specifically, we opened the TXT file and read its contents, viewed the discharge summary in PDF format, zooming in and out, and finally opened the doctorās presentation in PowerPoint (PPT file).



