By clicking Document Manager > Manage Document Types you can add categories of documents to be linked to items within DrugPak and define how those documents are linked to items in DrugPak.
It is important to note that at the last step of this process a utility must be run in DrugPak to execute the changes, and at that time it is necessary that no one is using DrugPak. The utility only takes a moment, but if anyone is actively using DrugPak it can cause the update to fail and trigger errors.
For this example we will illustrate how to create a document type for the chain of custody form. To add a new document type go to the Document Manager menu and select Manage Document Types. Click "Add" and then enter a name for the document (for this example, COC) and then click OK. Next, to define how the document links to DrugPak data, click "Add Link" at the bottom left of the window. Choose which table the document to be linked to from the drop-down list at the top left labeled "Link To", for the example of the COC form, select the RESULT table. From the drop-down list at the bottom left of the window select which field will be used to link documents to the table, for this example select SPECIMEN ID, and then click "Add" and then click "OK" to save the change. Finally, when clicking "Save" at the bottom of the Document Types DrugPak will launch the DP Data Migration utility which will finalize the changes to the documen types.
By inputing the above examples, you would have linked the Chain of Custody form to your Results via Specimen ID.