Verifying the installation

This chapter ensures cityEHR is correctly installed and accessible. It guides users through logging in with default credentials, building the default application, and navigating the Dashboard to confirm the setup. Additional steps include reloading the default application, enabling debug mode to explore cityEHR's underlying structures, and managing session timeouts.

Log On

If cityEHR is installed on Apache Tomcat, you can access the log-on page using the Firefox web browser. On a local machine, use the URL: http://localhost:8080/cityehr. If running on a remote server, replace 'localhost' with your server's IP address.

Note that cityEHR 1.7 must be accessed using Firefox only (IE 11, Edge, Chrome and Safari will be supported from version 2.0 onwards).

The base cityEHR installation has a single default user set up with the credentials;

username: admin

password: password

cityEHR Log-on Page
cityEHR Log-on Page

Upon your first log-on, cityEHR prompts you to build a default application. This process generates an example information model and configuration. Choose 'Build Default Application' to proceed. Alternatively, you may start with an empty database, but note that some features (e.g., Dashboard elements) may not display without default information models.

Initialize New cityEHR Installation
Initialize New cityEHR Installation

cityEHR will now run through a sequence of steps to build the default application; while this is in progress the screen will look like the one displayed in the Figure below. It take a minute or so for this process to complete, so you will need to wait while before continuing.

Default Application Sequence Steps
Default Application Sequence Steps

After the default application has been built during your first log-on, and for every other time you log on, the screen will be as shown in the Figure below, after you have authenticated:

Post Authentication Page
Post Authentication Page

Press the Start button to move to the default home page, which is pre-configured to be the dashboard page, as shown in the figure below

The Dashboard shows a summary of the overall status of the cityEHR application, which ships by default with the base installation. There is one user registered (the 'admin' user you logged in as) and no patients (so the total patients is zero, there are no clinical documents recorded and no documents in progress).

Note: The number of Information Models shown in the dashboard. If this number is zero (0) then the default application was not loaded properly when you ran cityEHR for the first time (probably because you selected to "Use Empty Database").

Default Home-page Dashboard
Default Home-page Dashboard

The Dashboard is your first glimpse of the pages in cityEHR, which can either be non-patient (like the Dashboard), cross-patient (ex. Patient Search page) or patient specific (view of the record for a patient, as identified in the Patient Label)

Whichever type, the general layout of all pages in the cityEHR system is the same, as shown in the figure below.

System Page Layout
System Page Layout

Reloading the Default Application

The default application can be reloaded from the information models shipped with the cityEHR system. You may need to do this if you selected to start with an empty database the first time you ran cityEHR (in which case the Dashboard will show the number of information models as 0) or if you changed the models and want to restore to the default.

To reload the default application;

  1. Navigate to Administration in the system menu.

  2. Select Information Model from the left navigation menu.

  3. Click Reload Shipped Models for This Application in the top-right corner.

    Note: If you are reloading the models because you started with an empty database, you will not see the summary of Information Models.

    Information Model Summary
    Information Model Summary

  4. In the Confirmation Dialog, select to Reload.

  5. Now wait while the models are reloaded (which may take a few minutes) - progress is displayed in the main view.

Once completed, the progress display will be cleared and you should see a summary of the models as shown in the Figure above.

Running in Debug Mode

cityEHR features a debug mode that allows the user access to additional features that expose some of the underlying information structures such as HL7 CDA documents. Debug mode can be activated in two ways:

Single session:

  1. Add ?mode=debug to the URL (e.g., http://localhost:8080/cityehr/?mode=debug).

Persistent Setting:

  1. Navigate to Administration in the system menu.

  2. Select System Parameters from the left navigation menu.

  3. Enable Debug Mode by checking the corresponding box and saving changes.

    Edit system parameters to set Debug Mode
    Edit system parameters to set Debug Mode

When operating in debug mode, cityEHR displays some additional action buttons and selections that allow you to explore the XML structures that underlie the configuration and clinical content (HL7 CDA).

You can now restart a new session in debug mode;

  1. Press the Quit button in the system navigation.

  2. Enter your credentials (admin / password) as usual and you should see an additional selection drop-down which you can use to view various cityEHR configuration parameters.

    Note: the banner informing you that cityEHR will start in debug mode.

    cityEHR start-up in Debugging mode
    cityEHR start-up in Debugging mode

  3. These are all represented as XML, so you can view directly in the system or select Download and view in a text editor, XML editor or any web browser.

On the Sign On page, as shown in the Figure above, various of the internal XML instances, built during the log on process, are available to view by selecting in the Debug Info drop-down and then pressing the Debug button.

Features of Debugging mode;

Session Time Out

The cityEHR session is set to time out after a period on inactivity – this is controlled by the underlying session management of the Tomcat Application Server. If such a timeout occurs you will see an error dialogue which allows you to restart the application.

Session Time Out Dialogue
Session Time Out Dialogue

In addition, there is a session page load time limit which restricts the ability to refresh pages using the browser reload current page button. This limit is set by default at 10 minutes, but can be changed in the Admin page (System Parameters) if necessary. A change from the duration P10M (10 minutes) to PT1M (1 minute) is shown in the figure below.

Changing the Page Load Timeout on the Administration Page
Changing the Page Load Timeout on the Administration Page

If the browser reload page button is pressed within this time limit, then the page will reload as requested; outside the time limit the session will simply return to the sign on page. This means that it is not possible to copy and paste the URL of a cityEHR session or to bookmark a page (the URL will be invalid once the session page load time limit has expired).

Logging in after a session has expired (i.e. a session that was not Quit by the user) will prompt for the session to be resumed at the point the previous session timed out or was aborted.

Prompt to Resume Session on the Sign On Page
Prompt to Resume Session on the Sign On Page

Download User Resources

Throughout this Quick Start Guide, some features will require resources such as sample patient records or information models. These resources are included with cityEHR and can be downloaded for your use.

You can access and download these resources from the Administration page. To do this:

  1. Click the Administration button in the System Navigation menu (top right of the page) to open the Administration page.

  2. In the left-hand menu on the Administration page, select Manage System Parameters under the System menu.

    Download User Resources from Administration Page
    Download User Resources from Administration Page

  3. At the top right of this view, click the Download Resources button as shown in the figure below.

  4. A zip file containing the resources will download to your browser. Depending on your browser setup, this file will be saved in your default Downloads folder.

    Zip Archive of User Resources Downloaded to Browser
    Zip Archive of User Resources Downloaded to Browser

  5. Open the zip file to access the folders and files included as User Resources. These resources will be needed at various points throughout the Quick Start Guide.

  6. The complete set of resources should resemble the list shown in the figure below. (This example uses the Linux Archive Manager; your interface may vary depending on your system's zip file handling settings.)

    User Resources Zip Archive
    User Resources Zip Archive