Installing TIBCO Foresight Connect with FHIR

The Foresight Connect with FHIR application can be installed manually.

Prerequisites

The following software must be installed on your system:

Ensure that the following requirement is also fulfilled:
  • The Catalina Home (environment variable) is set on the correct path.

Procedure

  1. Start the Apache Tomcat server.
  2. Deploy the foresightConnectWithFHIR.war file on Tomcat by using any one of the following ways:
    • By using Tomcat UI:
      • Open the http://localhost<port number>/manager/html page.
      • Go to the War file to deploy section.
      • Select the foresightConnectWithFHIR.war file.
      • Click Deploy.
    • By copying the foresightConnectWithFHIR.war file into the Tomcat webapp folder:
      • Navigate to \Apache Software Foundation\Tomcat<tomcat version>\webapps\ and paste the foresightConnectWithFHIR.war file here.
    Note: If you have changed the war file name, you must give the same name as the value of the server.servlet.context-path property in the application.property file.
  3. Refresh http://localhost<port number>/manager/html page.
    You can see the /foresightConnectWithFHIR path under the application section.
  4. Click /foresightConnectWithFHIR.
    You are redirected to the foresightConnectWithFHIR application.
  5. Alternatively, you can open the following link: http://localhost<port number>/<foresightConnectWithFHIR war file name>/. For example, http://localhost:8080/foresightConnectWithFHIR/login.

What to do next

To modify the default session timeout value of 15 minutes (900000 milliseconds) to a value you require, change the session-timeout property in the application.property file. Note that you must give the timeout value in milliseconds.

If you want to use a database other than the default one, perform the following steps:

  1. Add the database connector JAR file under \webapps\foresightConnectWithFHIR\WEB-INF\lib with the appropriate information.
  2. Update the following properties with appropriate values in the application.property file that is located at tomcat<version>\webapps\foresightConnectWithFHIR\WEB-INF\classes:
    1. spring.datasource.url. For example, jdbc:mysql://localhost:3306/<your_database_name>. For a remote database, instead of localhost, provide the remote host details. Save the file and restart the Tomcat server.
    2. spring.datasource.driver-class-name should point to an appropriate database driver.
    3. spring.datasource.username should have an appropriate database user name.
    4. spring.datasource.password should have the corresponding password for the user name of the database.
    5. spring.jpa.database-platform should point to the appropriate dialect of the database selected.