CLAN Folder Stripping

To use CLAN to strip an entire folder of CHA Files, we need to go through a series of steps that involve preparing the input folder before running some scripts.

Steps

Process

To Do

1

Create copy of input folder with all the CHA files.

Find the input folder with the patients' CHA files like this:

  1. Copy the entire folder so that there is a back-up in the case that there is an issue with this process.

  2. Create a subfolder in the input folder and name it “stripped”.

image-20241118-162735.png

2

Open Clan and set directories.

Now we will begin working inside of the Clan software itself:

 

  1. Open Clan so that you get to its home window. Here, you will see multiple tabs at the top (i.e., File, Edit, View, Window, Help).

  2. Click Window.

  3. Click Commands.

  4. Click on “working” and then select the input folder before clicking “<- Select directory”.

image-20241118-162413.png
  1. Click on “output” and then click the “stripped” folder that you made in Step 1. Then click “<- Select directory”.

3

Enter the script.

We will now enter the script in:

  1. Type into the textbox “chat2text”.

  1. Click on “File In” and then “Add All” to populate the right box with all the files from the input folder and then click on “Done”.

  1. Press “Run”.

4

Check the output.

Go to the “stripped” folder you made in Step 1.

Check that the output files are there and that they match with the number that you were expecting.

Video tutorial

 

Related pages