[1282] | 1 | == Requirements == |
---|
| 2 | |
---|
[1463] | 3 | 1. BASE 3.0 or later. |
---|
[1282] | 4 | |
---|
| 5 | == Introduction == |
---|
| 6 | |
---|
| 7 | This package is an extension package to BASE that can be used to |
---|
| 8 | simplify biosource and sample registration. |
---|
| 9 | |
---|
| 10 | * The homepage for this extension: |
---|
| 11 | http://baseplugins.thep.lu.se/wiki/net.sf.basedb.reggie |
---|
| 12 | |
---|
[1463] | 13 | == Installation and updating == |
---|
[1282] | 14 | |
---|
| 15 | 1. Download the reggie-*.tar.gz file. |
---|
| 16 | 2. Unpack the downloaded file to a directory of your choice. |
---|
[1463] | 17 | 3. Copy the 'reggie.jar' file to your BASE plug-ins directory. |
---|
| 18 | Eg. the directory specified by the 'plugins.dir' setting in 'base.config'. |
---|
| 19 | 4. Log in to BASE as a user with Administrator priviliges. |
---|
| 20 | 5. Go to 'Administrate->Plug-ins & Extensions->Overview' page. |
---|
| 21 | Run the installation wizard and select to install/update 'reggie.jar'. |
---|
[1310] | 22 | 6. Create a project and set it as the active project. This step is |
---|
| 23 | optional but is recommended. Running Reggie without an active project |
---|
| 24 | will generate warning messages later on. |
---|
[1334] | 25 | 7. Go to the Extensions->Reggie menu. Select the 'Installation wizard' |
---|
| 26 | If the 'Reggie' menu is not visible try BASE->Reload permissions menu. |
---|
[1310] | 27 | 8. It should display a list with several error message about missing items. |
---|
| 28 | Click on the "Create missing items" button to create them. If no project |
---|
| 29 | was created in step 6, all annotatation types will be shared with the |
---|
| 30 | 'PatientCurator' group, otherwise only some will be shared to the |
---|
| 31 | group and some will be shared to the active project. |
---|
| 32 | 9. Done. |
---|
[1301] | 33 | |
---|
| 34 | == Using == |
---|
| 35 | |
---|
[1282] | 36 | Reggie appears as a menu entry in the Extensions menu. All operations |
---|
[1301] | 37 | are available on that page. |
---|
[1282] | 38 | |
---|
[1334] | 39 | * Installation wizard: |
---|
[1301] | 40 | This entry is available if the logged in user is an 'Administrator' and |
---|
| 41 | will perform some basic checks that items that are needed by Reggie |
---|
| 42 | exists and have been properly configured. Items that doesn't exists can |
---|
| 43 | be created automatically. |
---|
| 44 | |
---|
[1334] | 45 | * Personal information registration wizard: |
---|
[1301] | 46 | This entry is available for 'Administrators' and members of the |
---|
| 47 | 'PatientCurator' group. It is used to register new patients and |
---|
| 48 | cases and connect this information to (already existing) |
---|
[1334] | 49 | specimen tubes. It can also be used to update missing information |
---|
| 50 | on existing cases and specimen tubes. |
---|
[1337] | 51 | |
---|
| 52 | * Referral form registration wizard: |
---|
| 53 | This entry is available for 'Administrators' and members of the |
---|
| 54 | 'PatientCurator' group. It is used to connect scanned referral |
---|
| 55 | forms (eg. pdf files) to already existing cases. |
---|
[1301] | 56 | |
---|
[1355] | 57 | * Consent form registration wizard: |
---|
| 58 | This entry is available for 'Administrators' and members of the |
---|
| 59 | 'PatientCurator' group. It is used to connect register consent |
---|
[1461] | 60 | for participating in the study. |
---|
| 61 | |
---|
| 62 | * Specimen tube registration wizard: |
---|
| 63 | This entry is available for those with permission to create samples. |
---|
| 64 | It is used to register new specimen tubes for cases that are not yet |
---|
| 65 | in BASE. |
---|
| 66 | |
---|
| 67 | * Partition registration wizard: |
---|
| 68 | This entry is available for those with permission to create samples |
---|
| 69 | and extracts. It is used to register new partitions of existing |
---|
| 70 | specimen tubes. |
---|
[1301] | 71 | |
---|
[1282] | 72 | == Compiling == |
---|
| 73 | |
---|
| 74 | To compile this package you also need: |
---|
| 75 | |
---|
| 76 | 1. Ant 1.6 |
---|
| 77 | 2. Java 1.6 |
---|
| 78 | |
---|
| 79 | Follow these instructions: |
---|
| 80 | |
---|
| 81 | 1. Download the source code from the subversion repository. See |
---|
| 82 | http://baseplugins.thep.lu.se/wiki/net.sf.basedb.reggie for instructions. |
---|
| 83 | |
---|
| 84 | 2. Type `ant download-lib` to automatically download the BASE core JAR files that |
---|
| 85 | are neeed for compilation. You can also do this manually by copying the |
---|
[1463] | 86 | base-*.jar files from the BASE installation directory |
---|
| 87 | (<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory. |
---|
[1282] | 88 | |
---|
| 89 | 3. Type 'ant' to compile the code and generate the 'reggie.jar' file |
---|
| 90 | in the project directory. |
---|
| 91 | |
---|
| 92 | 4. Use 'ant package' to create a downloadable tar.gz package. |
---|
| 93 | |
---|
| 94 | Tip: If you need different values for any of the properties defined in |
---|
| 95 | the 'build.xml' file, create a file named 'build.properties' and set |
---|
| 96 | the values there. |
---|
| 97 | |
---|