ANNOCRF Create Template Annotated CRF

Annotated CRF Overview
Case report forms can be annotated with variable names corresponding to the extracted datasets.  The variable names are annotated by their corresponding dataset name in the format of:

DATA_TABLE.VARIABLE

The name of the dataset and associated variables are then placed on top of the case report form next to corresponding fields on the CRF.  This process can lead to typos if done manually.  The ANNOCRF will generate a template Word document with all the variables made available and ready to be annotated.  All that is then needed is for you to move the annotation over the correct field on the CRF to have a complete set of annotated case report forms.

Selecting Data 
You can have the option of selecting either extract scripts or extracted datasets. If extract scripts are selected, the ANNOCRF tool will parse and capture the variables from the selected files to derive the template annotated CRF.    

You can select the data to be used for creating the template by doing the following:

  1. Source Path - Select the source path which contains either the test script or data.
  2. Scripts/Data - The list of extracted datasets or scripts will be listed under the selected path.  Select the items in the list in which you want to product the template for.
  3. Preview  - You can only view one program script at one point.  You can therefore preview a program by selecting on one of the item in the "Extracted Scripts" list and click on the "Preview Program" button.  This will provide a view of the selected SAS program.  You can also preview the data by selecting on one or more of the extracted data and then clicking on the "Preview Data" button to produce a preview of the data.
  4. Question Name - It is optional to have the question names added to the annotations.  In this case the annotation will be in the format of:

    QUESION_NAME: DATA_TABLE.VARIABLE

Creating Template 
You would need to select the dataset as specified in the previous section before generating the template.  In addition, you would need to specify an output file with the file extension of RTF.  The template created will be a RTF file which can be edited using MS Word.  After the selection has been made, click on the OK button to have the annotated case report form created.  In this event, the application will open the RTF file in MS Word once it is generated.

Creating Template in Batch
The same selection of datasets or extract script file specified in the graphical tool of ANNOCRF can be assigned in batch mode through the macro %annocrf.  This can be generated through the "Save Code" button.   A sample code generated is shown here:

/*----------------------------------------------------*
* Program: annocrf.sas
* Path: C:\Program Files\SAS\SAS 9.1
* Description: Creating Annotated CRF template
* By: Sy Truong, %annocrf, 09/05/2007, 4:47:58 pm
*-----------------------------------------------------*/

%annocrf(source=c:\apache\htdocs\extractoc\testing\study123\data,
datname=SCOM NORMDATA NORMLAB,
questname = Yes,
output= C:\Program Files\SAS\SAS 9.1\annocrf.rtf); 

 
     ExtractOC - Extact Oracle Clinical to SAS, Meta-Xceed Inc.© 2009
Bookmark and Share