Creating an Information Model

Creating and Configuring the Information Model

The information model for your EHR application can be created in a spreadsheet by copying the model for the default cityEHR application that is found in the files:

All four spreadsheets have a Configuration sheet at the front which looks as follows:

Configuration page of information models
Configuration page of information models

  1. To begin doing this, open the cityEHR webapps folder

  2. 2. Navigate to the following folder: webapps/cityehr/WEB-inf/resources/apps/ehr/resources/applications/ISO-13606-EHR-Extract-cityEHR/informationModel

    Folder path of information models
    Folder path of information models

    You should land on the page above

  3. Open the file named: Open the file named cityEHR-Specialty-CommonModel.

  4. Go to File → Save a Copy → Rename it to your applicationId-CommonModel

  5. Save your copy somewhere convenient.

  6. Close the original cityEHR-Specialty-CommonModel

  7. Open the copy you have saved at the location you saved it in.

  8. Change the ApplicationId on the Configuration page to exactly match the ApplicationId you assigned your new application. This is found on Line 2, Cell B on the Configuration Sheet (1st sheet).

    Changing the Application ID within the information model
    Changing the Application ID within the information model

  9. Save your changes (File → Save)

  10. Now, navigate to File ---> Save As --> keep the name the same --> change the format to .xml under “All Formats” in the bottom right of the pop-up window. See image below.

    Saving the file as an XML
    Saving the file as an XML

  11. Close your windows

  12. Open cityEHR back up.

  13. Log-in using the same credentials

  14. Now navigate to your EHR. This should be added in the drop-down under “You can access more than one application”

    Selecting your application on cityEHR log on page
    Selecting your application on cityEHR log on page

    Click Start

  15. Navigate to Administration

  16. Navigate to Information Model --> import information model on the menu on the left-side of the screen

  17. Click Browse

  18. Find the .xml file you just saved. Note: It will not work if you don’t select the .xml file

  19. Select the .xml file

    Selecting new XML file for import
    Selecting new XML file for import

  20. Import the information model using the icon at the top-right of the window. See image below.

    Button to begin import of new information model
    Button to begin import of new information model

  21. You should now land on a page that shows you the completion of 8 steps.

  22. Navigate to Quit.

  23. Log back into your application.

  24. Navigate to Administration

  25. Navigate to Application Parameters found in the menu on the left-hand side of the screen.

  26. Click “Edit”

    Editing Application parameters
    Editing Application parameters

  27. Navigate to the “commonModel” option on the screen and ensure that the option #ISO-13606:Folder:cityEHRBase is selected (see below)

    Selecting the cityEHR Base folder
    Selecting the cityEHR Base folder

  28. Click Save and Navigate to Quit

    Saving Application Parameters
    Saving Application Parameters

  29. Log back into your application

  30. Navigate to Patient Search and Registration in the top-right fo the screen on the purple dashboard

  31. You should see a fully formed Patient Search Page and a Registration Page. See below:

    Populated patient search page on your application
    Populated patient search page on your application

  32. Navigate to Registration page

  33. On the Registration page, register one patient. Click the menu button at the top right of the screen to finalize the registration.

    populated patient registration page on your application
    populated patient registration page on your application

Congratulations! You have registered one patient and made your own base application.

Activity complete! Quit cityEHR. If you would like to learn how to make changes to the spreadsheet to add Forms, Sections, Entries, Clusters, and Elements, please refer to the separate Information Modelling Guide.