Skip Headers

Oracle® Argus Safety Installation Guide Release 7.0.5 E58285-05 |
| Contents

Previous | Next |

# 13 Argus Integrations

This chapter provides information about the Argus Integrations and includes discussions of the following:

- Installing Argus Integrations

- Resetting IIS

- Overview: Argus Web Service Interface

- Basic Configuration Overview

- Safety Message Overview

- MedDRA Interface

- Product License Study Interface

- WHO Drug Coding Interface

- Lot Number Interface

- Worklist Intake

- Literature Intake

- Extended E2B Interface

## Installing Argus Integrations

Before installing Argus Safety Web, be aware of the following:

- During the installation, the information in this document may be different from what you see on your monitor if additional modules were selected during the Argus Safety Installation.

- A domain account with Local Administrator privileges to the Web server is required after the Argus Safety installation is complete.

Use the following procedure to install Argus Safety Integrations:

1. When the system displays the Argus Safety screen:

   - Click Argus Safety to start the installation.

2. When the system displays the Argus Safety Setup screen:

   - Click Next >.

3. When the system displays the Customer Information screen:

   - Enter the user name in the User Name field.

   - Enter the company name in the Company Name field.

   - Click Next >.

4. When the system displays the Default Directory screen, click Browse to select the default installation directory where the Argus Safety Solution Components will be installed.

   - Click Next to display the Argus Safety Components list and select the default installation directory where the Argus Safety Solution Components will be installed.

5. When the system displays the component list:

   - Select the modules to install.

   - Click Next >.

6. When the system displays the Argus Safety Solution Components Report Directory screen:

   - Click Browse, select the folder to store the temporary reports in, and click OK.

   - Click Next > to continue.

     Argus installs and shows the progress of the installation.

7. When the system prompts you to enter a port number:

   - Enter the Port for the Argus Web site (default is 8083, and can be changed to port 80 at any time).

   - Click Next > to continue.

     The installer installs the Web site and its related components and shows the progress of the installation.

8. When the system displays the Setup Completed screen:

9. Click Finish.

10. When the system displays the following message:

11. Click OK to reboot the system.

    Note: If Integration is hosted under IIS 7.0, the following command line utility needs to be run as an administrator: "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y This command line utility updates the script maps at the IIS metabase roots to ensure the hosted service .svc file is recognized by IIS 7.0.

    Note: After installing Argus Integrations, refer to the section The Argus Safety 7.0.5 Application Servers to set up the Argus Cryptography key and also to the section Generating Encrypted String from Clear Text on Configured User Cryptography Key to configure Argus Safety Service user passwords.

## Resetting IIS

After changes have been made to the areas listed below, IIS needs to be reset to make the latest data / configurations available to the rest of the system:

1. Changes in config files

   - Argus.ini, Argus.xml

2. Changes in following screens through Console:

   - Common Fields

   - System Management

   - Enabled Modules

3. Loading of MedDRA dictionaries

## Overview: Argus Web Service Interface

Argus Web Service Interface supports outbound Interface (MedDRA, WHO Drug and LOT Number) which provides capability to integrate with customer hosted web services and inbound web services (Product-Study-Load Interface) hosted on Argus Safety web server.

All web service based interfaces communicate with the standard SOAP 1.2 Protocol and use WS-Addressing and WS-Security. Argus web service interface leverage Windows Communication Foundation to generate the WS-Addressing and WS-Security header information. It is recommended to test this message before moving too far into business testing. Information on these specifications can be found at the OASIS and W3C websites.

By leveraging WCF, maximum flexibility is provided to the user allowing the selection of which integrations to enable, the transport protocols to use, authentication, etc. by simply updating a standard .config file.

All errors are handled through a SOAP fault. Should an error occur, logical or otherwise, a SOAP fault should be thrown by the host and caught by the client. The client application (web) of Argus displays the details of the SOAP fault to the user when possible. Argus web services throw SOAP faults when an error occurs. Argus Safety web service interface in 7.0.5 release supports following integrations through Web Service.

Interface | Description
--- | ---
MedDRA (outbound) | MedDRA (outbound)
WHO Drug (outbound) | WHO Drug web service interface provides a mechanism to integrate customer hosted WHO Coding systems with Argus Safety via web services.
Lot Query (outbound) | Lot Number web service interface provides a mechanism to integrate customer hosted central product information systems with Argus Safety via web services
Product Study License(PSL) - (inbound) | PSL web service interface provides a mechanism to integrate customer central system to push/query PSL data via web services hosted on Argus Safety Web server

In a multi-tenant Argus system:

- Endpoint configuration of central MedDRA and WHO Drug web service is at global level. Enterprise if configured to use MedDRA and WHO Drug web service interface will use same endpoint to connect.

- Endpoint configuration of Lot Number Interface is defined at an enterprise level. Enterprise if configured to use Lot Interface will use enterprise specific endpoint configuration.

- Outbound Interface: Message payload will have 'EnterpriseShortName'.

- Inbound Interface: Argus Safety mandates 'EnterpriseShortName' as part of message payload.

### Argus Web Service Interface Framework

Each outbound/inbound web service request/response is enclosed in a SOAP envelope that begins with a SOAP header, followed by a Body statement that contains a unique node under SAFETY_MESSAGE node. This node uniquely identifies the Interface being used for Inbound/Outbound communication. When implementing the customer side of the interface, please follow the structure defined by Oracle in the XSD/WSDL files located in the following directory:

<Argus Web Install Path>\Integrations\XSD

<Argus Web Install Path>\Integrations\WSDL

(Example: C:\Progam Files\Oracle\ArgusWeb\ASP\Integrations\XSD)

## Basic Configuration Overview

### Outbound Interface

The web.config file located in the root of the ArgusWeb directory contains all the configuration required for outbound integrations. Two default bindings have been provided, one for basic HTTP traffic and one for SSL communication. For the most basic configuration, simply updating the "address" attribute of the "endpoint" nodes to point to the correct web service address would be sufficient.

To use encryption, the "bindingConfiguration" attribute of the "endpoint" node can be set to "WSHttpBinding_IRelsysService_Secure", a binding configuration provided out of the box. As the framework utilizes WCF, additional binding configurations may be created and used as well. Note that the binding configurations between the host and the client must be compatible for successful communication.

Basic user authentication is also supported by the framework. Each endpoint has a counterpart in the ClientCredentials section of the web.config. Simply adding the proper credentials here will instruct WCF to transmit the authentication information.

The framework provides the ability to transform messages using either a custom transformation assembly or an XSLT. Some interfaces, like Lot Number and WHO Drug coding, currently leverage this feature. Activating the transformer is a simple matter of updating the 'TransformerConfiguration' section to map an endpoint to a transformer. If multiple transformers are specified for a particular endpoint, they will be executed in the order in which they appear in the configuration file. The transformers configured by Oracle should not be modified, but additional ones may be added if necessary.

### Inbound Interface

All inbound integrations (file based) are handled by the Argus Safety Windows Service. This service's configuration is located in the RelsysWindowsService.exe.config file located in the .\ArgusWeb\ASP\Argus.NET\Bin directory. This configuration file's primary function is to reference configuration files of configured integrations. The RelsysConfigurationFiles section has several commented "add" nodes. To enable or disable an integration, it is a simple matter of uncommenting or commenting out the node.This configuration file additionally houses a DatabaseConfiguration section in which the proper database credentials must be specified within the attributes.

## Safety Message Overview

The XML message required by each integration varies and is defined by its own schema. However, each schema follows a standard. The root node of every XML Safety Message in inbound and outbound interface is SAFETY_MESSAGE with the following node or attribute:

Interface | Description
--- | ---
Type | An enumeration (currently either "Request" or "Response") to identify the directionality of the message
EnterpriseShortName | If Argus Safety is setup as Multi-Tenant system: EnterpriseShortName will be part of message payload for all outbound interfaces. EnterpriseShortName is mandatory attribute for Inbound Interface In single tenant setup, this attribute is not part of outbound message payload and is not required as part of inbound message payload.
EXTENSION | Every Safety Message may also contain an EXTENSION node with CUSTOM sub nodes. These are for future expandability and currently unused.

## MedDRA Interface

### Overview

MedDRA Encoding web service Interface provides a mechanism to Integrate customer hosted central MedDRA dictionary web service with Argus Safety. Argus Safety expects the data from central MedDRA dictionary web service in defined format as specified by MedDRA dictionary schema.

In a multi-tenant setup, endpoint configuration of central MedDRA web service is stored at global level and all enterprises in Argus Safety will use the same web service endpoint. 'EnterpriseShortName' attribute will be present in the request message payload to identify which Enterprise initiated the web service request.

Support for both English and Japanese MedDRA dictionary is supported through this interface. For integrating MedDRA Encoding Web Service Interface with English dictionary refer version 1.0 and for Japanese refer version 1.1 of MedDRA schema

### MedDRA Encoding Safety Message Example

There are two versions of XMLs that are supported by MedDRA Interface (v1.1 and v1.0). The difference between the two is that v1.1 includes support for Japanese Terms. The following example uses "Pain" as the search term for encoding. Examples are mentioned for both MedDRA Xml version 1.0 and 1.1.

#### Request (V 1.1)

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Action s:mustUnderstand="1">http://www.oracle.com/Argus/Contract/v1.0/IRelsysService/RelsysServiceRequest</a:Action> <a:MessageID>urn:uuid:c5b40ac0-a11e-44ea-b3c5-a39636058d63</a:MessageID> <ActivityId CorrelationId="1872b16d-c293-4abc-8e5c-9ecdab7d3147" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics"> 00000000-0000-0000-3100-0060000000f0 </ActivityId> <a:ReplyTo> <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> </a:ReplyTo> <a:To s:mustUnderstand="1">http://10.178.87.5/interface/RelsysService.svc</a:To> </s:Header> <s:Body> <RelsysServiceRequest xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <Msg xmlns:d4p1="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:Version>1.0</d4p1:Version> <d4p1:TransformID /> <d4p1:SafetyMessage> <tnsa:SAFETY_MESSAGE xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:tnsa="http://www.oracle.com/Argus/MedDRA_Request/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" tns:Type="Request"> <tnsa:MEDICAL_DICTIONARY Action="Auto" Source="INDICATION"> <tnsa:TERM> <tnsa:REPORTED>pain</tnsa:REPORTED> <tnsa:CODED>pain</tnsa:CODED> <tnsa:LANG>E</tnsa:LANG> </tnsa:TERM> </tnsa:MEDICAL_DICTIONARY> </tnsa:SAFETY_MESSAGE> </d4p1:SafetyMessage> </Msg> </RelsysServiceRequest> </s:Body></s:Envelope>

#### Response (V 1.1)

<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing"xmlns:s="http://www.w3.org/2003/05/soap-envelope"> <s:Header> <a:Actions:mustUnderstand="1"> http://www.oracle.com/Argus/Contract/v1.0/IRelsysServic e/RelsysServiceRequestResponse </a:Action> <ActivityId CorrelationId="12dda93b-e6fa-4d3a-8d2f-a5cc34588e8a"xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics"> 0000000 0-0000-0000-7600-0060000000f3 </ActivityId> </s:Header> <s:Body> <RelsysServiceRequestResponse xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <RelsysServiceRequestResult xmlns:b="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <b:Version>1.0</b:Version> <b:TransformID /> <b:SafetyMessage> <tnsa:SAFETY_MESSAGE xsi:noNamespaceSchemaLocation="http://www.oracle.com/Argus/MedDRA_Response/v1.1 file:///C:/SS/6 - Argus Interfaces/ASI6x/RelsysInterfaceLibrary.root/RelsysInterfaceLibrary/RelsysInterfaceComponents/XSD/v1.1/MedDRA_Response.xsd" tns:Type="Response" xmlns:tnsa="http://www.oracle.com/Argus/MedDRA_Response/v1.1" xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tnsa:MEDICAL_DICTIONARY> <tnsa:PATHS> <tnsa:PATH Primary="Y"> <tnsa:LLT> <tnsa:TEXT>Pain</tnsa:TEXT> <tnsa:CODE>10033371</tnsa:CODE> <tnsa:TEXT_J>??</tnsa:TEXT_J> <tnsa:SYNS /> </tnsa:LLT> <tnsa:PT> <tnsa:TEXT>Pain</tnsa:TEXT> <tnsa:CODE>100333712</tnsa:CODE> <tnsa:TEXT_J>??</tnsa:TEXT_J> </tnsa:PT> <tnsa:HLT> <tnsa:TEXT>Pain and discomfort NEC</tnsa:TEXT> <tnsa:CODE>10033372</tnsa:CODE> <tnsa:TEXT_J>????????NEC</tnsa:TEXT_J> </tnsa:HLT> <tnsa:HLGT> <tnsa:TEXT>General system disorders NEC</tnsa:TEXT> MedDRA Integration 14-8 Oracle Argus Safety Installation Guide <tnsa:CODE>10018073</tnsa:CODE> <tnsa:TEXT_J>????NEC</tnsa:TEXT_J> </tnsa:HLGT> <tnsa:SOC> <tnsa:TEXT>General disorders and administration site conditions</tnsa:TEXT> <tnsa:CODE>10018065</tnsa:CODE> <tnsa:TEXT_J>?????????????</tnsa:TEXT_J> </tnsa:SOC> </tnsa:PATH> </tnsa:PATHS> </tnsa:MEDICAL_DICTIONARY> <tns:EXTENSION> <tns:CUSTOM tns:Name="string" tns:Metadata="string">string</tns:CUSTOM> </tns:EXTENSION> </tnsa:SAFETY_MESSAGE> </b:SafetyMessage> </RelsysServiceRequestResult> </RelsysServiceRequestResponse> </s:Body></s:Envelope>

#### Request (V 1.0)

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Action s:mustUnderstand="1"> http://www.oracle.com/Argus/Contract/v1.0/IRelsysServic e/RelsysServiceRequest </a:Action> <a:MessageID>urn:uuid:c5b40ac0-a11e-44ea-b3c5-a39636058d63</a:MessageID> <ActivityId CorrelationId="1872b16d-c293-4abc-8e5c-9ecdab7d3147" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics"> 0000000 0-0000-0000-3100-0060000000f0 </ActivityId> <a:ReplyTo> <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> </a:ReplyTo> <a:To s:mustUnderstand="1">http://10.178.87.5/interface/RelsysService.svc</a:To> </s:Header> <s:Body> <RelsysServiceRequest xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <Msg xmlns:d4p1="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:Version>1.0</d4p1:Version> <d4p1:TransformID /> <d4p1:SafetyMessage> <tnsa:SAFETY_MESSAGE xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:tnsa="http://www.oracle.com/Argus/MedDRA_Request/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" tns:Type="Request"> <tnsa:MEDICAL_DICTIONARY Action="Auto" Source="INDICATION"> <tnsa:TERM> <tnsa:REPORTED>pain</tnsa:REPORTED> <tnsa:CODED>pain</tnsa:CODED> </tnsa:TERM> </tnsa:MEDICAL_DICTIONARY> </tnsa:SAFETY_MESSAGE> </d4p1:SafetyMessage> </Msg> </RelsysServiceRequest> </s:Body></s:Envelope>

#### Response (V 1.0)

<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing"xmlns:s="http://www.w3.org/2003/05/soap-envelope"> <s:Header> <a:Action s:mustUnderstand="1"> http://www.oracle.com/Argus/Contract/v1.0/IRelsysServic e/RelsysServiceRequestResponse </a:Action> <ActivityId CorrelationId="12dda93b-e6fa-4d3a-8d2f-a5cc34588e8a" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics"> 0000000 0-0000-0000-7600-0060000000f3 </ActivityId> </s:Header> <s:Body> <RelsysServiceRequestResponse xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <RelsysServiceRequestResult xmlns:b="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <b:Version>1.0</b:Version> <b:TransformID /> <b:SafetyMessage> MedDRA Integration 14-10 Oracle Argus Safety Installation Guide <tnsa:SAFETY_MESSAGE xsi:noNamespaceSchemaLocation="http://www.oracle.com/Argus/MedDRA_Response/v1.0 file:///C:/SS/6 - Argus Interfaces/ASI6x/RelsysInterfaceLibrary.root/RelsysInterfaceLibrary/RelsysInterfaceComponents/XSD/v1.0/MedDRA_Response.xsd" tns:Type="Response" xmlns:tnsa="http://www.oracle.com/Argus/MedDRA_Response/v1.0" xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tnsa:MEDICAL_DICTIONARY> <tnsa:PATHS> <tnsa:PATH Primary="Y"> <tnsa:LLT> <tnsa:TEXT>Pain</tnsa:TEXT> <tnsa:CODE>10033371</tnsa:CODE> <tnsa:SYNS /> </tnsa:LLT> <tnsa:PT> <tnsa:TEXT>Pain</tnsa:TEXT> <tnsa:CODE>100333712</tnsa:CODE> </tnsa:PT> <tnsa:HLT> <tnsa:TEXT>Pain and discomfort NEC</tnsa:TEXT> <tnsa:CODE>10033372</tnsa:CODE> </tnsa:HLT> <tnsa:HLGT> <tnsa:TEXT>General system disorders NEC</tnsa:TEXT> <tnsa:CODE>10018073</tnsa:CODE> </tnsa:HLGT> <tnsa:SOC> <tnsa:TEXT>General disorders and administration site conditions</tnsa:TEXT> <tnsa:CODE>10018065</tnsa:CODE> </tnsa:SOC> </tnsa:PATH> </tnsa:PATHS> </tnsa:MEDICAL_DICTIONARY> <tns:EXTENSION> <tns:CUSTOM tns:Name="string" tns:Metadata="string">string</tns:CUSTOM> </tns:EXTENSION> </tnsa:SAFETY_MESSAGE> Product License Study Interface Argus Integrations 14-11 </b:SafetyMessage> </RelsysServiceRequestResult> </RelsysServiceRequestResponse> </s:Body></s:Envelope>

### MedDRA Dictionary: XML Schema

Schema files for request and response are located in the <Argus Web Install Path>\Integrations\XSD directory.

Validate MedDRA Interface request and response against the following schema files.

#### Request: MEDDRA_Request

Argus Safety will make a web service request to externally hosted central product information system as defined in this schema.

Schema File

Version 1.0

Top level file: \v1.0\MedDRA_Request.xsd

Sub level file: \v1.0\Base.xsd

Version 1.1

Top level file: \v1.1\MedDRA_Request.xsd

Sub level file: \v1.0\Base.xsd

Namespace

http://www.oracle.com/Argus/MedDRA_Request/v1.0

http://www.oracle.com/Argus/MedDRA_Request/v1.1

where v 1.0, 1.1 is the version of the schema

Node/Attribute Name | Description
--- | ---
MEDICAL_DICTIONARY | The MEDICAL_DICTIONARY node is the first child node identifying MedDRA integration
Action | An enumeration supporting the following values (currently only one): Auto This attribute will be present in the request when a full hierarchy is required to be passed back to auto encode the term without using the MedDRA Browser. With an "Auto" message, the system requires that an LLT Term be passed in the request. If the full Hierarchy is not found / returned, the system will open the MedDRA Browsers and display the LLTs returned for manual encoding by the user using the local MedDRA instance. If multiple paths are returned, the Primary SOC path will be used.
Source | An enumerated value that specifies additional information that may be required for coding based on origination as follows: Reaction Case Form | Patient Tab | Patient Tab | Other Relevant History | Reaction Case Form | Patient Tab | Parent Tab | Other Relevant History | Reaction Indication Case Form | Patient Tab | Patient Tab | Other Relevant History | Indication Case Form | Patient Tab | Parent Tab | Other Relevant History | Indication Condition should be verbatim Case Form | Patient Tab | Patient Tab | Other Relevant History | Verbatim Case Form | Patient Tab | Parent Tab | Other Relevant History | Verbatim Lab Console | Code Lists | Lab Test Type
Description | Case Form | Events Tab | Event Tab | Description to be Coded Case Form | Events Tab | Death Information | Cause of Death and Autopsy Results | Description as Reported
Diagnosis | Argus Case Form | Analysis Tab | Analysis Tab| Company Diagnosis Syndrome
Term(v 1.0) | The TERM node specifies the information about a specific term that is either being looked up or populated with data and supports the following nodes. Reported Coded
Term(v 1.1) | The TERM node specifies the information about a specific term that is either being looked up or populated with data and supports the following nodes. Reported Coded Lang

#### Request: MEDDRA_Response

Argus Safety expects central MedDRA dictionary to send the response in this format

Schema File

Version 1.0

Top level file: \v1.1\MedDRA_Response.xsd

Sub level file: \v1.0\Base.xsd

Version 1.1

Top level file: \v1.1\MedDRA_Response.xsd

Namespace

http://www.oracle.com/Argus/MedDRA_Response/v1.0

http://www.oracle.com/Argus/MedDRA_Response/v1.1

where v1.0, 1.1 is the version of the schema

Node/Attribute Name | Description
--- | ---
Primary | The primary attribute will contain "Y" if the term is the Primary SOC path for the selected term. In the event that multiple terms are returned for a MedDRA level, this attribute is only available on the Primary Term
PATHS/PATH(version 1.0) | MedDRA Hierarchy with English Terms only
PATHS/PATH(Version 1.1) | MedDRA Hierarchy with English and Japanese Terms

### Flow of MedDRA Auto Encoding

When Argus Safety makes a call to the web service, it will populate the REPORTED and CODED nodes with data entered by the user. The REPORTED term is essentially a verbatim while the coded term is the term that is expected to be coded by the remote system. The returned message should contain a PATHS node with PATH subnodes that have been encoded by the remote system. Argus displays the returned LLTs in the MedDRA browser from which the user can select the correct LLT (MedDRA Browser does not open on the Case Bookin Screen). The encoded term is placed on the case form if auto-encoding is enabled an exact match is found of the searched term in the XML. If multiple matches are returned for an exact match, the primary path is used. If the web service does not return any results or is unavailable, Argus presents the user with the MedDRA browser with local dictionary information, if the system is configured to allow this.

### Configuration

- Argus Console MedDRA integration must be enabled using Argus Console. This can be done by opening Console from Argus Safety Web and selecting "System Configuration=>System Management" from the menu. Expand the "Case Processing" tree branch and select "Dictionary Browser".

  - Argus Safety MedDRA Coding Method Select the radio button to use web services.

  - Use Local MedDRA if Term not found by Web Services An optional checkbox available to determine whether Argus has to use the local MedDRA instance if the web service hosting MedDRA is not available, fails, or does not return a valid match.

  - Use Local MedDRA for Japanese terms

- Web.config web.config file on each web server under 'ArgusWeb/ASP/' must have the endpoint with the "name" attribute of "MedDRA" properly configured.

  At a minimum, the "address" attribute must be changed. Optionally, depending on the bindings employed, the "bindingConfiguration" attribute may also need to be changed. The BindingConfiguration section must have a valid binding for the configured "bindingConfiguration" attribute. The endpoint configuration might look something like this:

  <endpoint address="http://remotewebservice/MedDRAAutoEncode.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IRelsysService_Unsecure" contract="IRelsysService" name="MedDRA">

  Also, the Argus .Net/web.config file on each web server should have the correct Value for the Key MedDRAXMLVersion depending on which version of MedDRA XML is used.

  For example:

  <add key="MedDRAXMLVersion" value="1.1"/>

  OR

  <add key="MedDRAXMLVersion" value="1.0"/>

  Additionally, the ArgusNet/web.config mentions the paths for both the Request and Response XSDs depending on the version used.

  <add InputXSD="..\..\Integrations\XSD\v1.1\MedDRA_Response.xsd" />

  <add InputXSD="..\..\Integrations\XSD\v1.1\MedDRA_Request.xsd" />

## Product License Study Interface

This section provides information for integrating with an external Product Study License configuration system.

- In the Integrations folder in the following path <Installation Path>\Oracle\ArgusWeb\ASP\Integrations, open the file Service.config. Search for the section called DatabaseConfiguration:

  <DatabaseConfiguration DBName="" DBUser="" DBPassword="" />

  The DBName, DBUser and DBPassword need to be populated manually.

  DBName: This is the TNS of the Argus database

  DBUser: This is the user name of a AG Service user. The PSL web service uses this User Context to perform updates in the Argus Safety Database.

  DBPassword: Generate new encrypted string, as mentioned in the Generating Encrypted String from Clear Text on Configured User Cryptography Key section.

  A sample configuration would be:

  <DatabaseConfiguration DBName="ARGOLDDEMO" DBUser="agservice1" DBPassword="BC90A10363A26C147DEF172D61AAEC110296FA9E181E7FFA687D58CE08610C08" />

- Security Configuration

  If the PSL web service is desired to be run under security, appropriate binding configurations need to be configured in web.config under the Integrations folder. This can be done either manually or through the Service Config Utility.

- Logging

  PSL Web service performs two kinds of logging. One is file logging using the Relsys Logger. This involves logging information about the errors, warnings, and processing of the PSL web service code. The configuration for this type of logging is present in web.config, under the section <logConfig>. There are four types of logging - Error, Warning, Information, and Verbose. By default, the logger is configured to be of Error level. The logger internally uses log4net component to perform the logging. The RollingLogFileAppender which is by default present in web.config needs to be configured to log information to a specific file on a local folder. Please ensure that read/write permissions are available to the web service for this folder.

  Another type of logging is the SOAP message logger, called the RequestLogger. This logger logs all the incoming and outgoing SOAP messages of the PSL web service. The messages are stored internally in the Argus Safety Database and are not available for querying in this release. This logging can be turned off by setting the Enabled attribute to false in Service.config as shown below:

  <TransformersConfiguration> <Transformers> <add Transformer="RequestLogger" InterfaceType="Inbound" RequestType="Request,Response" MessageType="SoapMessage" Enabled="False" Metadata="" Assembly="ConsoleInterface" Type="Relsys.ArgusConsole.ConsoleInterface.Common.DBLoggerFactory" /> </Transformers> </TransformersConfiguration>

## WHO Drug Coding Interface

### Overview

WHO Drug web service Interface provides a mechanism to integrate customer hosted central WHO Drug coding web service with Argus Safety. Argus Safety expects the data from central WHO Drug Coding system in defined format as specified by WHO Drug Coding schema.

In a multi-tenant setup, endpoint configuration of central WHO drug coding web service is stored at global level and all enterprises in Argus Safety will use the same web service endpoint. 'EnterpriseShortName' attribute will be present in the request message payload to identify which Enterprise initiated the web service request.

### WHO Drug Coding Safety Message Example

#### Request

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Actions:mustUnderstand="1"> http://www.oracle.com/Argus/Contract/v1.0/IRelsysService/RelsysServiceRequest </a:Action> <a:MessageID>urn:uuid:7a0f0c6e-f7f9-41f3-85bf-750a00cb16e7</a:MessageID> <ActivityId CorrelationId="09440b01-70e2-4d24-b12c-202119e3adea" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics"> 0000000 0-0000-0000-8f0f-0060010000f1 </ActivityId> <a:ReplyTo> <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> </a:ReplyTo> <a:To s:mustUnderstand="1">http://10.178.87.5/interface/RelsysService.svc</a:To> </s:Header> <s:Body> <RelsysServiceRequest xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <Msg xmlns:b="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <b:Version>1.0</b:Version> <b:TransformID>WHO_DRUG</b:TransformID> <b:SafetyMessage> <tnsa:SAFETY_MESSAGE tns:Type="Request" xmlns:tnsa="http://www.oracle.com/Argus/WHODrug_Request/v1.0" xmlns:tns="http://www.oracle.com/Argus/Base/v1.0"> <tnsa:DRUG_DICTIONARY> <tnsa:DRUG> <tnsa:DRUG_NAME>n22</tnsa:DRUG_NAME> </tnsa:DRUG> </tnsa:DRUG_DICTIONARY> </tnsa:SAFETY_MESSAGE> </b:SafetyMessage> </Msg> </RelsysServiceRequest> </s:Body></s:Envelope>

#### Response

<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing"xmlns:s="http://www.w3.org/2003/05/soap-envelope"> <s:Header> <a:Action s:mustUnderstand="1"> http://www.oracle.com/Argus/Contract/v1.0/IRelsysServic e/RelsysServiceRequestResponse </a:Action> <ActivityId CorrelationId="ffb00b07-d1f8-4fa9-ae9f-488d79dda872" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics"> 0000000 0-0000-0000-8f0f-0060010000f1 </ActivityId> </s:Header> <s:Body> <RelsysServiceRequestResponse xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <RelsysServiceRequestResult xmlns:d4p1="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:Version>1.0</d4p1:Version> <d4p1:TransformID /> <d4p1:SafetyMessage> <tnsa:SAFETY_MESSAGE xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:tnsa="http://www.oracle.com/Argus/WHODrug_Response/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/Argus/WHODrug_Response/v1.0file:///E:/6%20-%20Argus%20Interfaces/ASI%2042%20SP3/RelsysInterfaceLibrary.root/RelsysInterfaceLibrary/RelsysInterfaceComponents/XSD/v1.0/WHODrug_Response.xsd" tns:Type="Response"> <tnsa:DRUG_DICTIONARY> <tnsa:DRUGS> <tnsa:DRUG> <tnsa:DRUG_CODE>000200.01.005</tnsa:DRUG_CODE> <tnsa:DRUG_NAME>TYLENOL</tnsa:DRUG_NAME> <tnsa:GENERIC_NAME>PARACETAMOL</tnsa:GENERIC_NAME> <tnsa:ATCS> <tnsa:ATC> <tnsa:CODE>65GGH</tnsa:CODE> <tnsa:DESCRIPTION>ATC Desc 1a</tnsa:DESCRIPTION> </tnsa:ATC> <tnsa:ATC> <tnsa:CODE>94534</tnsa:CODE> <tnsa:DESCRIPTION>ATC Desc 2a</tnsa:DESCRIPTION> </tnsa:ATC> </tnsa:ATCS> <tnsa:INGREDIENTS> <tnsa:INGREDIENT>PARACETAMOL</tnsa:INGREDIENT> </tnsa:INGREDIENTS> <tnsa:MEDICINAL_PRODUCT_ID /> <tnsa:DRUG_MANUFACTURER> MCNEIL LABORATORIES, INCORPORATED </tnsa:DRUG_MANUFACTURER> </tnsa:DRUG> <tnsa:DRUG> <tnsa:DRUG_CODE> 004468.01 begin_of_the_skype_highlighting 004468.01 end_of_the_skype_highlighting.003 </tnsa:DRUG_CODE> <tnsa:DRUG_NAME>TYLENOL ALLERGY SINUS</tnsa:DRUG_NAME> <tnsa:GENERIC_NAME /> <tnsa:ATCS> <tnsa:ATC> <tnsa:CODE>4UUT1</tnsa:CODE> <tnsa:DESCRIPTION>ATC Desc 1b</tnsa:DESCRIPTION> </tnsa:ATC> <tnsa:ATC> <tnsa:CODE>13LLP</tnsa:CODE> <tnsa:DESCRIPTION>ATC Desc 2b</tnsa:DESCRIPTION> </tnsa:ATC> </tnsa:ATCS> <tnsa:INGREDIENTS> <tnsa:INGREDIENT>PARACETAMOL</tnsa:INGREDIENT> <tnsa:INGREDIENT>CHLORPHENAMINE MALEATE</tnsa:INGREDIENT> <tnsa:INGREDIENT> PSEUDOEPHEDRINE HYDROCHLORIDE </tnsa:INGREDIENT> </tnsa:INGREDIENTS> <tnsa:MEDICINAL_PRODUCT_ID /> <tnsa:DRUG_MANUFACTURER>JOHNSON</tnsa:DRUG_MANUFACTURER> </tnsa:DRUG> </tnsa:DRUGS> </tnsa:DRUG_DICTIONARY> <tns:EXTENSION> <tns:CUSTOM tns:Name="" tns:Metadata="" /> </tns:EXTENSION> </tnsa:SAFETY_MESSAGE> </d4p1:SafetyMessage> </RelsysServiceRequestResult> </RelsysServiceRequestResponse> </s:Body></s:Envelope>

### WHO Drug Coding: XML Schema

Schema files for request and response are located in the <Argus Web Install Path>\Integrations\XSD directory.

Validate WHO drug coding request and response against the following schema files.

#### Request: WHODrug_Request

Argus Safety will make a web service request to externally hosted Central Drug Dictionary as defined in this schema.

Schema File

Top level file: /v1.0/WHODrug_Request.xsd

Sub level file: /v1.0/Base.xsd

Namespace

http://www.oracle.com/Argus/WHODrug_Request/v1.0

where v1.0 is the version of the schema

Attribute/Node name | Description
--- | ---
DRUG_DICTIONARY | First Child node under SAFETY_MESSAGE which represents the WHO Drug Dictionary integration
DRUG/DRUG_NAME | WHO Drug Name that needs to be searched in central WHO Drug Coding system.

#### Response: WHODrug_Response

Argus Safety expects Central Drug Dictionary to send the response in this format.

Schema File

Top level file: /v1.0/WHODrug_Response.xsd

Sub level file: /v1.0/Base.xsd

Namespace

http://www.oracle.com/Argus/WHODrug_Response/v1.0

where v1.0 is the version of the schema

Attribute/Node name | Description
--- | ---
DRUG_DICTIONARY | First Child node under SAFETY_MESSAGE which represents the Drug Dictionary integration.
DRUGS/DRUG | WHO DRUG details

### Flow of Drug Dictionary Coding

When Argus makes a call to the web service, it will populate the 'DRUG_NAME' node. Argus Safety expects the central drug dictionary to populate all possible information in the response XML as per define Drug Dictionary Interface response schema. Argus will display this information in a browser from which the user can select the correct drug.

If the web service does not return any results or is unavailable, Argus will present the user with the WHODrug browser with local dictionary information if the system is configured to allow this.

Note: If an ingredient is returned that is not in the 'LM_INGREDIENTS' table of Argus, the ingredient will not be stored with the case. ATC code is also not stored with the case data. Both of these items are visible in the browser, however.

### Configuration

- Argus Console
  Drug Dictionary integration must be enabled using Argus Console. This can be done by opening Console from Argus Web and selecting "System Configuration=>System Management" from the menu. Expand the "Case Processing" tree branch and select "Dictionary Browser". Select the radio button to use web services under the "Argus Safety WHO Drug Coding Method" section. An optional checkbox is also available to determine whether Argus has to use the local WHODrug instance if the web service hosting the drug dictionary is not available, fails, or does not return a valid match.

- Web.Config Web.config file on each web server under must have the endpoint with the "name" attribute of "WHODrug" properly configured. At a minimum, the "address" attribute must be changed. Optionally, depending on the bindings employed, the "bindingConfiguration" attribute may also need to be changed. The 'BindingConfiguration' section must have a valid binding for the configured "bindingConfiguration" attribute. Sample endpoint configuration with binding configuration: <endpoint address="http://remotewebservice/WHODrugLookup.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IRelsysService_Unsecure" contract="IRelsysService" name="WHODrug"></endpoint>

## Lot Number Interface

### Overview

Lot Number Interface provides a mechanism to integrate customer hosted central product information systems with Argus Safety via Web service. Argus Safety expects the data from hosted web service in defined format as specified by Lot Number schema. Argus Safety stores the web service Configuration at an enterprise level to support integration with different central product information system per Enterprise. 'EnterpriseShortName' attribute will be present in the request message payload to identify which Enterprise initiated the web service request.

Lot Number Query Interface also provides a mechanism for central product information system to pass custom data to Argus Safety system using 'Lot/Custom' node defined in Lot Number Schema. Data passed in the custom node will be stored in Argus user defined fields of Dosage Regimen section.

### Lot Number Safety Message Example

#### Request

<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing"xmlns:s="http://www.w3.org/2003/05/soap-envelope"> <s:Header> <a:Action s:mustUnderstand="1"> http://www.oracle.com/Argus/Contract/v1.0/IRelsysServic e/RelsysServiceRequest </a:Action> <a:MessageID>urn:uuid:4ea4a68c-9930-4681-a3dd-839b04821320</a:MessageID> <ActivityId CorrelationId="b7b67964-6e82-46d7-97ed-ff0e9f36dc66" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics"> 0000000 0-0000-0000-0000-000000000000 </ActivityId> <a:ReplyTo> <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> </a:ReplyTo> </s:Header> <s:Body> <RelsysServiceRequest xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <Msg xmlns:d4p1="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:Version>1.0</d4p1:Version> <d4p1:TransformID>LOT_NUMBER</d4p1:TransformID> <d4p1:SafetyMessage> <tnsb:SAFETY_MESSAGE xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:tnsa="http://www.oracle.com/Argus/ProductFamilyEntity/v1.0"xmlns:tnsb="http://www.oracle.com/Argus/Lot_Request/v1.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" tns:Type="Request"> <tnsb:LOT_LOOKUP> <tnsb:LOT> <tnsa:LOT_NUMBER>666</tnsa:LOT_NUMBER> </tnsb:LOT> </tnsb:LOT_LOOKUP> </tnsb:SAFETY_MESSAGE> </d4p1:SafetyMessage> </Msg> </RelsysServiceRequest> </s:Body></s:Envelope>

#### Response

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> <a:Action s:mustUnderstand="1"> http://www.oracle.com/Argus/Contract/v1.0/IRelsysServic e/RelsysServiceRequestResponse </a:Action> <a:RelatesTo>urn:uuid:4ea4a68c-9930-4681-a3dd-839b04821320</a:RelatesTo> </s:Header> <s:Body> <RelsysServiceRequestResponse xmlns="http://www.oracle.com/Argus/Contract/v1.0"> <RelsysServiceRequestResult xmlns:b="http://www.oracle.com/Argus/Types/v1.0" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <b:Version>1.0</b:Version> <b:TransformID /> <b:SafetyMessage> <tnsb:SAFETY_MESSAGE tns:Type="Response" xmlns:tnsb="http://www.oracle.com/Argus/Lot_Response/v1.0" xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:tnsa="http://www.oracle.com/Argus/ProductFamilyEntity/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <tnsb:LOT_LOOKUP> <tnsb:LOT> <tnsa:LOT_NUMBER>5043AX1</tnsa:LOT_NUMBER> <tnsa:EXPIRATION_DATE>2010-06-07</tnsa:EXPIRATION_DATE> <tns:CUSTOM tns:Name="Thermisol" tns:Metadata="Thermisol Indicator">15</tns:CUSTOM> <tns:CUSTOM tns:Name="Albumin" tns:Metadata="Albumin Status">11.4mg/gC</tns:CUSTOM> </tnsb:LOT> <tnsb:LOT> <tnsa:LOT_NUMBER>javascript</tnsa:LOT_NUMBER> <tnsa:EXPIRATION_DATE>2014-12-15</tnsa:EXPIRATION_DATE> <tns:CUSTOM tns:Name="Thermisol" tns:Metadata="ThermisolIndicator">22</tns:CUSTOM> <tns:CUSTOM tns:Name="Albumin" tns:Metadata="Albumin Status">19.5mg/gC</tns:CUSTOM> </tnsb:LOT> </tnsb:LOT_LOOKUP> <tns:EXTENSION> <tns:CUSTOM tns:Name="string" tns:Metadata="string">string</tns:CUSTOM> <tns:CUSTOM tns:Name="string" tns:Metadata="string">string</tns:CUSTOM> </tns:EXTENSION> </tnsb:SAFETY_MESSAGE> </b:SafetyMessage> </RelsysServiceRequestResult> </RelsysServiceRequestResponse> </s:Body></s:Envelope>

### Lot Number: XML Schema

Schema files for request and response are located in the <Argus Web Install Path>\Integrations\XSD directory.

Validate Lot Number request and response against the following schema files.

#### Request: Lot_Request

Argus Safety will make a web service request to externally hosted central product information system as defined in this schema.

Schema File

Top level file:

\v1.0\Lot_Request.xsd

Sub level file:

\v1.0\Base.xsd

\v1.0\ProductFamilyEntity.xsd

Namespace

http://www.oracle.com/Argus/Lot_Request/v1.0

where version 1.0 is the version of the schema

Nodes/Attributes

Attribute/Node name | Description
--- | ---
LOT_LOOKUP | First Child node under SAFETY_MESSAGE which represents the Lot integration
LOT | Argus defined complex type element having following elements and attributes: LOT_NUMBER EXPIRATION_DATE

#### Response: Lot_Response

Argus Safety expects Central Lot Number Web service to send the response in this format:

Schema File

Top level file:

/v1.0/Lot_Response.xsd

Sub level file:

/v1.0/Base.xsd

/v1.0/ProductFamilyEntity.xsd

Namespace

http://www.oracle.com/Argus/Lot_Response/v1.0

where v1.0 is the version of the schema

Attribute/Node name | Description
--- | ---
LOT_LOOKUP | First Child node under SAFETY_MESSAGE which represents the Lot Number integration.
LOT | LOT Number Expiration Date Custom Provides a mechanism Name: Attribute value is used to identify Case Form field that is to be populated with data in the node Metadata: Attribute value is used as labels in the LOT Number selection selection dialog displaying the data

### Flow of Lot Validation

When Argus makes a call to the web service, it will populate the 'LOT_NUMBER' node with data provided by the user. The external lot validation system can provide zero, one, or many results in multiple LOT nodes.

Argus reaction to various counts of returned lots:

- Zero - Argus displays a message that the lot number could not be validated; based on the system configuration, the user may be able to keep the entered lot number, in which case Argus creates a red denotation indicating that the lot number was not validated.

- One - Argus keeps the user-entered lot number and creates a green denotation indicating a successfully validated lot.

- Many - Argus displays a dialog from which the user can select the correct lot number; once selected, Argus creates a yellow denotation indicating that the lot number was validated, but the user had to select from multiple matches.

The lot validation interface also allows for custom data to be returned, such as Albumin or Thermisol which is not natively supported by Argus. This data is then stored in the user-defined fields available on the active case form page.

### Configuration

Lot Number Interface needs to be enabled using Argus Console. This can be done by opening Console from Argus Web and selecting "System Configuration=>System Management" from the menu. Expand the "Case Processing" tree branch and select "Lot Number Processing". Following configurations are supported.

- Use Centralized Lot Number Validation
  Yes: Allows Lot Lookup in Case Form to query central product information system to get Lot Number Information. NO: Lot Lookup in Case Form uses lot numbers defined in Product Configuration under Argus Console->Business Configuration.

- Allow users to enter non-configured Lot Numbers
  Yes: Allows user to enter non-configured Lot Number No: Mandates user to only select Lot Number from Lot Lookup Dialog. This switch is applicable when the lot validation service fails or is unable to provide a match for the lot number.

- Lot Number Web Service Configuration XML Lot Number Interface support endpoint, binding and transformation configuration of Web Service at an enterprise level. This allows customer to integrate an enterprise in Argus Safety with different central product information system. Configuration file must have the endpoint with the "name" attribute of "LotQuery" properly configured. At a minimum, the "address" attribute must be changed. Optionally, depending on the bindings employed, the "bindingConfiguration" attribute may also need to be changed. The BindingConfiguration section must have a valid binding for the configured "bindingConfiguration" attribute. The endpoint configuration might look something like this: <endpoint address="http://remotewebservice/LotValidate.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IRelsysService_Unsecure" contract="IRelsysService" name=" LotQuery"></endpoint>
  <add Transformer="LotQuery2" Assembly="RelsysInterfaceComponents" Type="Relsys.InterfaceComponents.XSLTTFactory" InterfaceType="Outbound" RequestType="Response" MessageType="RelsysMessage" Enabled="true" TransformID="LOT_NUMBER" Metadata="InputValidationXSD=/Integrations/XSD/v1.0/Lot_Response.xsd;" />

- Lot Number Web Service XSLT XSLT file required for transforming the response XML. This is only required in case Central Product Information system is passing custom attributes which need to be save as part of Case data in dosage regimen user defined fields.

  Note: Argus Safety provides sample config and XSLT files which can be accessed by clicking Create button in 'Lot Number Processing' configuration screen as discussed above.

### Transformation

If custom data is to be passed back by the lot validation service, then it is also necessary to modify the 'LotIncomingTransform.xslt' file, located in the '.\ArgusWeb\ASP\Bin' directory. This transformation file reads the CUSTOM tags passed back by the lot validation service and maps them to the Argus user-defined fields.

The CUSTOM tag has a "Name" attribute, which is used by the XSLT to identify to which Argus field to map. The corresponding "Metadata" attribute is used simply to display a label in the lookup dialog if necessary. The XSLT file must be synchronized between all web servers in a web farm scenario.

Specific Argus fields must be placed within the xsl:attribute tags of the XSLT in a comma delimited form. The system will attempt to populate each Argus field specified by the value of the CUSTOM tags. If a field does not exist, no exception is thrown. In this fashion, if different pages in the case form have different definitions for the user-defined fields, the system can still properly populate the values in the fields.

It is inadvisable to modify any piece of the XSLT file with the exception of the piece that is shown in the example below. Consider the web service returns a CUSTOM node like:

<CUSTOM Name="Albumin" Metadata="Albumin Status">19.5 mg/gC</CUSTOM>

And the LotIncomingTransform.xslt contains the snippet:

<xsl:template match="@*" mode="CaseField"> <xsl:choose> <xsl:when test=".='Thermisol'"> <xsl:attribute name="CaseField">CASE_DOSE_REGIMENS_UD_TEXT_1,CASE_DOSE_REGIMENS_UD_TEXT_2</xsl:attribute> </xsl:when> <xsl:when test=".='Albumin'"> <xsl:attribute name="CaseField">CASE_DOSE_REGIMENS_UD_TEXT_3,CASE_DOSE_REGIMENS_UD_TEXT_4</xsl:attribute> </xsl:when> </xsl:choose></xsl:template>

Then the value of 19.5 will be mapped to both user defined text fields 3 and 4. If only one of the fields is on the active case form page, the other field will be ignored.

## Worklist Intake

This section provides information for integrating with an external system generating potential case data.

CASE_INTAKE is the first child node identifying a worklist intake integration.

### Flow of Worklist Intake

When an XML file is dropped in the IN folder of the configured Intake folder, Argus picks up the file and does an initial verification. If there are any attachments specified in the XML, they and the XML are moved to a GUID-created subfolder of the Intermediate folder. All the relevant data is extracted from the XML and stored in the database. During the parsing and extraction, if there are any errors, the unique folder and its associated XML and file attachments are moved to Failures folder. A file called Error.xml will be generated in that folder which contains more information about the failure. If an e-mail address is configured in Intake.config, an e-mail is also generated and processed via AGService.

Worklists for intake are based on user site. They are populated based on either the path in which the initial file was dropped (as per the configuration in Argus Console the path is associated to a specific user site) or by the value of the SITE node contained within the XML itself. If there is a conflict, the SITE node value takes precedence.

The Intake records that are absorbed into Argus are visible to the Argus User in Worklist Intake screen in Argus or in Affiliate. The Argus user can do one of two operations on the Intake record.

1. Accept - When the user accepts an Intake, the case form book-in screen is shown which will contain information and attachments pre-populated from the Intake record.

   - If user books in a case, a response is generated which contains the case ID and case number. The attachment details and response XML are placed in the Out folder.

   - If user adds a follow up to an existing case, a similar response is generated as above and the response XML is placed in the OUT folder.

2. Reject - When the user rejects an Intake record, a response is generated which contains the Rejection Reason and the attachment details. This response XML is placed in the OUT folder.

Similarly, an Affiliate user can create a local event from an Intake record from within Affiliate. The flow is similar to that mentioned above with the exception that the response XML would contain the Local Event Number instead of the case number.

### Worklist Intake Safety Message Example

Request

<?xml version="1.0" encoding="utf-8"?>

<tnsc:SAFETY_MESSAGE xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:tnsa="http://www.oracle.com/Argus/CodeListCommon/v1.0" xmlns:tnsb="http://www.oracle.com/Argus/ProductFamilyEntity/v1.0" xmlns:tnsc="http://www.oracle.com/Argus/Case_Intake/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" tns:Type="Request">

<tnsc:CASE_INTAKE>

<tnsc:CASES>

<tnsc:CASE>

<tnsc:CASE_TYPE>Sponsored Trial</tnsc:CASE_TYPE>

<tnsc:COUNTRY_OF_INCIDENCE>US</tnsc:COUNTRY_OF_INCIDENCE>

<tnsc:EVENT_PT>Pyrexia</tnsc:EVENT_PT>

<tnsc:EVENT_VERBATIM>Fever</tnsc:EVENT_VERBATIM>

<tnsc:FLTH>LT</tnsc:FLTH>

<tnsc:GENERIC_NAME>Cure All</tnsc:GENERIC_NAME>

<tnsc:INITIAL_DATE>2001-06-07</tnsc:INITIAL_DATE>

<tnsc:PRIORITY>1</tnsc:PRIORITY>

<tnsc:PRODUCT_NAME>Cure All</tnsc:PRODUCT_NAME>

<tnsc:REPORTER_TYPE>Health Care Professional</tnsc:REPORTER_TYPE>

<tnsc:SITE>United States</tnsc:SITE>

<tnsc:STUDY_ID>Test Study</tnsc:STUDY_ID>

<tnsc:SUR>Yes</tnsc:SUR>

<tnsc:ATTACHMENTS>

<tnsc:ATTACHMENT>

<tnsc:FILENAME>Case12345.pdf</tnsc:FILENAME>

<tnsc:DOCID>001219988776655</tnsc:DOCID>

<tnsc:CLASSIFICATION></tnsc:CLASSIFICATION>

<tnsc:ATTACHMENT_DESC>Contains case data for 12345</tnsc:ATTACHMENT_DESC>

</tnsc:ATTACHMENT>

</tnsc:ATTACHMENTS >

</tnsc:CASE>

</tnsc:CASES>

</tnsc:CASE_INTAKE>

<tns:EXTENSION>

<tns:CUSTOM tns:Name="ABC" tns:Metadata="DEF">GHI</tns:CUSTOM>

</tns:EXTENSION>

</tnsc:SAFETY_MESSAGE>

Response

<?xml version="1.0" encoding="utf-8"?>

<tnse:SAFETY_MESSAGE xmlns:tns="http://www.oracle.com/Argus/Base/v1.0" xmlns:tnse="http://www.oracle.com/Argus/Case_Intake_Ack/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" tns:Type="Response">

<tnse:CASE_INTAKE>

<tnse:CASES>

<tnse:CASE>

<tnse:INTAKE_DATE>09-SEP-2009 09:09:09</tnse:INTAKE_DATE>

<tnse:CASE_NUMBER>2009JP000001</tnse:CASE_NUMBER>

<tnse:CASE_ID>10002901</tnse:CASE_ID>

<tnse:CASE_PRODUCT>Cure All</tnse:CASE_PRODUCT>

<tnse:DATE_TIME>18-SEP-2009 18:18:18</tnse:DATE_TIME>

<tnsc:ATTACHMENTS xmlns:tnsc="http://www.oracle.com/Argus/Case_Intake/v1.0">

<tnsc:ATTACHMENT>

<tnsc:FILENAME>Case12345.pdf</tnsc:FILENAME>

<tnsc:DOCID>001219988776655</tnsc:DOCID>

<tnsc:CLASSIFICATION></tnsc:CLASSIFICATION>

<tnsc:ATTACHMENT_DESC>Contains case data for 12345</tnsc:ATTACHMENT_DESC>

</tnsc:ATTACHMENT>

</tnsc:ATTACHMENTS>

</tnse:CASE>

</tnse:CASES>

</tnse:CASE_INTAKE>

<tns:EXTENSION>

<tns:CUSTOM tns:Name="ABC" tns:Metadata="DEF">GHI</tns:CUSTOM>

</tns:EXTENSION>

</tnse:SAFETY_MESSAGE>

### Configuration

Worklist Intake integration currently employs a file drop system. The drop directories should be on a shared path. The directories can be optionally unique to a user site and configured as such in Console. The first step is to set these directory references up in Console under the "User Sites" code list. For each user site, simply specify the UNC for the "Intake File Path" (they can all be the same or different).

Argus Safety Windows Service provides the mechanism by which the files are processed. Since a network resource is being accessed, it is essential that the service run as a domain account and not as the Local System Account (which is the default). To change this, stop the Argus Safety Windows Service by opening the Services control panel and double-clicking the Argus Safety Windows Service and clicking the Stop button. Next click the Log On tab and select the radio button for "This account". Enter valid domain user credentials and click OK.

The service itself contains additional configuration information in the RelsysWindowsService.exe.config file located in the .\ArgusWeb\ASP\Argus.NET\Bin directory. This file references the Intake.config file to obtain configurations specific to Worklist Intake. Simply uncomment the two "add" nodes in the "RelsysConfigFilesSection" that reference the Intake.config file in their "filePath" attributes. Also verify that the DatabaseConfiguration section in this file has a valid database and user credentials with which to connect to the database and access Argus data.

In the same folder the Service.config file also requires some changes to specify information about the assemblies needed to process Worklist Intake messages. Similarly to the RelsysWindowsService.config file, uncomment the two "add" nodes whose "name" attributes refer to "Case Intake" and "Case Intake Ack".

Once configured, use the Services control panel to restart Argus Safety Windows Service. A successful configuration is evident when four new folders are then created in the shared file path (IN, OUT, INTERMEDIATE, and FAILURES).

If the shared folder happens to be on the same physical machine as the server on which ”Argus Windows Service” is running, you can optionally configure the service to access the shared folder directly as a local folder instead of as a network shared path. The following configuration in Intake.config would enable this:

<FolderConfiguration>

<MonitorFolders MonitorAllConfiguredFolders="true" MonitorLiteratureFolder="false">

<add FolderPath="<configured share in console>" Monitor="true" AlternatePath="C:\CaseIntake"/>

</MonitorFolders>

</FolderConfiguration>

In the above configuration, MonitorAllConfiguredFolders can be set to false if you want to configure that server to accept Intake files only for the folders configured in the above section and for which Monitor is set to true.

## Literature Intake

This section provides information for setting up Literature Intake. Argus accepts files of the following formats for Literature Intake.

- WORLD MEDICAL & DRUG INFORMATION SERVICE (WMDIS) (in the form of .xls or .xlsx file format)

- JAPIC (in the form of .txt file format)

### Flow of Literature Intake

When a WMDIS or JAPIC file is dropped in the IN folder of the configured Literature Intake folder, Argus picks up the file and does an initial verification. The file is first moved to a GUID-created subfolder of the Intermediate folder. All the relevant data is extracted from the file and stored in the database. During the parsing and extraction, if there are any errors, the unique folder and the file in it are moved to Failures folder. A file called Error.xml will be generated in that folder which contains more information about the failure. If an e-mail address is configured in Intake.config, an e-mail is also generated and processed via AGService. The Literature Intake Worklist shows all the records extracted from the above mentioned files.

The Argus user can do one of the following operations on the Literature Intake record.

1. Accept

2. Reject

3. Assign User

4. Assign Literature Type

5. Modify Product Family

### Configuration

Literature Intake integration employs a file drop system. The drop folder should be on a shared path. The folder must be configured in Console under System Configuration => Common Profile Switches => Argus J.

The edit box provided for "Shared Path for Literature Intake" must be configured with the UNC file path of the shared folder. Argus Safety Windows Service provides the mechanism by which the files are processed. Since a network resource is being accessed, it is essential that the service run as a domain account and not as the Local System Account (which is the default).

To change this, stop the Argus Safety Windows Service by opening the Services control panel and double-clicking the Argus Safety Windows Service and clicking the Stop button. Next click the Log On tab and select the radio button for "This account". Enter valid domain user credentials and click OK.

The service itself contains additional configuration information in the RelsysWindowsService.exe.config file located in the .\ArgusWeb\ASP\Argus.NET\Bin directory. This file references the Intake.config file to obtain configurations specific to Worklist Intake. Simply uncomment the two "add" nodes in the "RelsysConfigFilesSection" that reference the Intake.config file in their "filePath" attributes. Also verify that the DatabaseConfiguration section in this file has a valid database and user credentials with which to connect to the database and access Argus data. In the same folder the Service.config file also requires some changes to specify information about the assemblies needed to process Worklist Intake messages.

#### Metadata Configuration

1. Go to the Argus Web server machine.

2. Open the service.config file located at

   C:\Program Files\Oracle\Argus\ArgusWeb\ASP\Argus.NET\Bin\

3. In the service.config file, the metadata configuration is:

       <add Name="Case Intake" Assembly="CaseIntakeServiceComponent"
       Type="Relsys.CaseIntakeServiceComponent.FSWManager"
       Metadata="InvokeDirect=true;PollInterval=1000;CaseIntake=true;LitIntake=true;
       UseLocalInterimFolder=true; LocalInterimFolder=C:\Temp\CaseIntake"  />

Similarly to the Service.config file, uncomment the "add" node whose "name" attribute refer to "Case Intake". Ensure that 'LitIntake' is set to true in the Metadata configuration as shown below:

<add Name="Case Intake" Assembly="CaseIntakeServiceComponent" Type="Relsys.CaseIntakeServiceComponent.FSWManager" Metadata="InvokeDirect=true; PollInterval=1000;CaseIntake=true;LitIntake=true" />

In the same folder, the Intake.config file needs some changes. Set the MonitorLiteratureFolder attribute to true in FolderConfiguration/MonitorFolders section as shown below:

<FolderConfiguration>

<MonitorFolders MonitorAllConfiguredFolders="false" MonitorLiteratureFolder="true">

<!-- <add FolderPath="<configured share in console>" Monitor="true" AlternatePath="C:\LiteratureIntake"/> -->

</MonitorFolders>

</FolderConfiguration>

Once configured, use the Services control panel to restart Argus Safety Windows Service. A successful configuration is evident when four new folders are then created in the shared file path (IN, OUT, INTERMEDIATE, and FAILURES).

If the shared folder happens to be on the same physical machine as the server on which ”Argus Windows Service” is running, you can optionally configure the service to access the shared folder directly as a local folder instead of as a network shared path. The following configuration in Intake.config would enable this:

<FolderConfiguration>

<MonitorFolders MonitorAllConfiguredFolders="false"

MonitorLiteratureFolder="true">

<add FolderPath="<configured share in console>" Monitor="true"

AlternatePath="C:\LiteratureIntake"/>

</MonitorFolders>

</FolderConfiguration>

## Extended E2B Interface

This section provides information about the Extended E2B Interface.

### E2B Mapping Updates

The following steps in this section will create Extension Profile using E2B Mapping.

1. Log on to ESM Mapping Utility.

2. Select a Profile from the drop-down list. For example, ICH-ICSR V2.1 MESSAGE TEMPLATE - EMA.

3. Click on the Administrator Menu and select the Copy Profile option, Enter the Extension Profile name, Click on Save button and then OK button.

4. Select the newly created profile from the drop-down list.

5. Click the Receive tab. Select any DTD element. For example, SAFETYREPORTVERSION.

6. Select the Extended E2B checkbox and click Save. This profile is now enabled as an extended profile.

7. Exit from the ESM Mapping Utility.

### Adding Extension Elements to DTD

The following steps in this section will add the Extension element in the DTD file.

1. Take the DTD file corresponding to the base profile chosen in the above section from the '<ESM Installation Directory>\Argus\InterchangeService\DTDFiles' folder and make a copy of that profile. In this example, we will make a copy of 'EMA-ICSR-V2.1.dtd' and name it as 'EMA-ICSR-V2.1-Extension.dtd'.

2. Open the file 'EMA-ICSR-V2.1-Extension.dtd' and include the extension DTD Element "patientethnicity_extension?". To do so, add the element details in the header row, as highlighted in the following image:

3. Add the element details as an individual entity, as highlighted in the following image:

4. Save the updated DTD file in the same folder where all other DTD files exist on the ESM Server.

### Prepare Factory Data for Extension Elements

The following steps in this section will create a factory data for extension elements. Factory data is required to import extension XML.

1. CFG_E2B: This table keeps the details of all the E2B elements present in all the E2B profiles. The following is a description of all the fields in this table:

   - Profile (PROFILE): This is an alphanumeric field. It is the name of the profile to which the extension elements will be added.

   - DTD Element (DTD_ELEMENT): This is an alphanumeric field. It is the name of the extension element. This should always end with text '_EXTENSION'. The name may contain [a-z], [A-Z], [0-9], or an underscore character. This shall be the same as the name of the extension element specified in the DTD file.

   - Hierarchy Level (HIE_LEVEL): This is a numeric field. This number shall be the same as that of the other DTD elements under the same parent element.

   - DTD Length (DTD_LENGTH): This is a numeric field. This is the maximum allowed length for the extension element value.

   - Mandatory (MANDATORY): This is an alphanumeric field. If the extension element is mandatory, then the value of this field shall be 'M'. If the extension is mandatory optional, it shall be 'MO'. If it is none of the above, leave it blank.

   - Order of Execution (ORDER_OF_EXECUTION): This is a numeric field. It identifies the order of an E2B element while building the E2B report. This number shall be between the ORDER_OF_EXECUTION values of the E2B elements between which the extension element is to be placed. For example, if the new extension element PATIENTETHNICITY_EXTENSION is to be placed between PATIENTHEIGHT and PATIENTSEX which have ORDER_OF_EXECUTION as 116 and 117, then the value of ORDER_OF_EXECUTION for the new extension field can be anything like 116.1, 116.2, etc.

   - Association Element (AE_SELECT_STMT_ELEMENT_ASSOC): This is an alphanumeric field. It is the name of that element which contains the transmission mapping SQL of this element. Generally, it shall be the same as the parent element.

   - Column Position (AE_SELECT_STMT_COL_POSITION): This is a numeric field. This is the position of the element in the transmission mapping SQL query, which is specified with the Association element. For example, if the SQL with the association element has 10 fields/columns in the SELECT statement, and the current E2B element maps to the fourth field/column, then the value of this field shall be set to 4.

   - Parent element (PARENT_ELEMENT): This is an alphanumeric field. It identifies the name of the parent E2B element in the E2B XML hierarchy structure. It shall be the same as the value specified for the other peer E2B elements.

   - Data Element (DATA_ELEMENT): This is an alphanumeric field. This is the reference number of the element specified by ICH like A.1.2 for OCCURCOUNTRY, B.1.1 for PATIENTINITIAL, etc. This field can be empty for extension elements. However, if preferred, the end-user can specify any value for this field.

   - AE Case Form GUI (AE_CASE_FORM_GUI): This is an alphanumeric field. This field shall specify the Case Form GUI location of the field to which the E2B element is mapped in the format? <Tab Name> - <Section Name> - <Field Name>". For example, "Patient Tab - Patient Details - Ethnicity".

   - Title (DTD_ELEMENT_TITLE): This is an alphanumeric field. This field specifies the display title for the extension element e.g. "Ethnicity". This title is displayed in the Decoded View screen in E2B viewer.

   - Element Type (DTD_ELEMENT_TYPE): This is a numeric field. It contains the type of the E2B element, as described in the CFG_DTD_ELEMENT_TYPE table.

     - Other

     - E2B Code

     - Country

     - Time Period Unit

     - Yes/No

     - Date Format

     - Date

     - MedDRA Version

     - MedDRA Term/Code

2. Factory Data for CFG_E2B table: Create a .ctl file and use sqlloader utility to load the factory data in CFG_E2B table. This table holds the extension elements definition, import business logic, mandatory, order of execution, etc.

3. LM_ESM_ARGUS_MAPPING: This table is used to map the E2B elements with the Case Form field during E2B Import. This table is not used during the E2B transmission process.

   - DTD Element (DTD_ELEMENT): This is an alphanumeric field. It is the name of the extension element, as specified in CFG_E2B table. This should always end with text '_EXTENSION'. The name may contain [a-z], [A-Z], [0-9] or an underscore character. This shall be the same as the name of the extension element specified in the DTD file.

   - Field ID (FIELD_ID): This is a numeric field. It shall contain the CMN_FIELDS.FIELD_ID value of the Case Form field, which shall be populated or updated for the extension element during E2B Import.

4. Factory data for LM_ESM_ARGUS_MAPPING table: Create a .ctl file and use the sqlloader utility to load factory data in the LM_ESM_ARGUS_MAPPING table. This table holds the mapping from DTD elements to the Argus Case Form fields.

### Create Business Logic for Extension Elements

The following steps in this section will create an import business logic as a PL/SQL block for each extension elements using E2B Mapping.

1. Log on to the ESM Mapping Utility.

2. Select the extension profile from the drop down list.

3. Click on the Receive Tab and select the extension element and write the import business logic as a PL/SQL block and click on the save button to save the PLSQL block.

4. Exit from the ESM Mapping Utility after completing the business logic.

### Configure Reporting Destination for Extension Profile

The following steps in this section will configure the extension profile in Reporting Destination using Argus Console.

1. Log on to Argus Safety.

2. Open the Console and click on the Code List | Reporting Destination.

3. Select the agency name to modify and click on the EDI tab.

4. Select the extension profile from the message profile drop down Example: "EXTENDED E2B PROFILE"

5. Enter the extension DTD file with full path into URL of Message DTD field Example: "C:\Program Files\Oracle\ESMService\DTD\EMA-ICSR-V2.1-Extension.dtd"

   Note: This field is used only for transmission of E2B extension for import this field is not used, since the DTD path is already embedded in the E2B file.

6. Click on the Save button to save the changes. Argus is configured for E2B extension for selected agency.

### Extension Elements Sample XML

<patient>

<patientinitial>TMS</patientinitial>

<patientonsetage>66</patientonsetage>

<patientonsetageunit>801</patientonsetageunit>

<patientsex>1</patientsex>

<patientethnicity_extension>Asian</patientethnicity_extension>

<reaction>

<primarysourcereaction>fever</primarysourcereaction>

<reactionmeddraversionllt>10.1</reactionmeddraversionllt>

<reactionmeddrallt>10016558</reactionmeddrallt>

<reactionmeddraversionpt>10.1</reactionmeddraversionpt>

<reactionmeddrapt>Pyrexia</reactionmeddrapt>

<reactionintensity_extension>Mild</reactionintensity_extension>

<reactionhospstartdateformat_extension>102</reactionhospstartdateformat_extension>

<reactionhospstartdate_extension>20090117</reactionhospstartdate_extension>

<reactionhospstopdateformat_extension>102</reactionhospstopdateformat_extension>

<reactionhospstopdate_extension>20090123</reactionhospstopdate_extension>

</reaction>

</patient>

### Extension Elements Sample Import PL/SQL Block

DECLARE

v_xml varchar2(32767);

l_ethnicity_id number;

l_return number := 0;

BEGIN

v_xml := ESM_IMP.F_READ_EXTENSION(:REPORT_ID,:DTD_ELEMENT);

if v_xml is not null then

l_ethnicity_id := ESM_IMP_UTL.f_get_id_from_value('LM_ETHNICITY','ETHNICITY',v_xml,'ETHNICITY_ID');

if l_ethnicity_id > 0 then

l_return := ESM_IMP.F_WRITE(:REPORT_ID,:PARENT_ELEMENT,:DTD_ELEMENT,:PROFILE,'CASE_PAT_INFO','ETHNICITY_ID',l_ethnicity_id);

end if;

end if;

END;