Exploring the Default cityEHR Application

This topic introduces the process of registering a new patient in the cityEHR application, guiding users through each step required to create a patient record. It explains how to access the registration form, complete required fields, and leverage features such as the demographics lookup service for auto-filling patient details. Additionally, the chapter covers options for entering GP details and addresses potential error messages. By the end, users will understand how to finalize patient registration and then search for them.

Registering a New Patient

On install, the database for the cityEHR application does not contain any patient records. To start using cityEHR, the first step is to create patient records via the patient registration page.

  1. Log in using the default credentials:

    • Username: admin

    • Password: password

  2. Click the Registration button in the System Navigation pane to access the registration form.

    Patient Registration Form
    Patient Registration Form

  3. Enter a Hospital Number, which is a mandatory field (highlighted in pink) and serves as the unique patient identifier. All other fields are optional.

  4. Fill in patient details (e.g., NHS Number, Title, Forename) manually or use the Find Demographics service:

    • Enter the NHS Number (simulating a national patient identifier).

    • Check the Find Demographics checkbox, which appears after entering the NHS Number.

    • The demographics service populates remaining fields with simulated data or, in live systems, pulls data from EPR or national services.

    Patient Registration “Find Demographics” Lookup Service
    Patient Registration “Find Demographics” Lookup Service

  5. Similarily, Fill in GP details manually or use the Find GP service:

    • Enter Oxford in the Town/City field.

    • Check the Find GP checkbox to display two options. Select one to auto-fill GP details.

    Find GP Service
    Find GP Service

  6. Once all the details are entered (either by typing in the fields or by using the lookup services). Click the Register button (hover over it to see the label).

    Register Button
    Register Button

  7. If successful, confirm the action in the dialogue box and choose the next navigation step (default: Hospital Anxiety and Depression Scale form).

  8. If the Hospital Number is missing or already exists, an error message will appear. Dismiss it, update the field, and try again.

  9. Once registered, a confirmation message is displayed, completing the patient registration process.

    Confirmation of Patient Registration
    Confirmation of Patient Registration

Entering Patient Data

  1. After registration, navigate to the Forms tab to access patient data entry forms. If the page does not load automatically, click the Forms tab.

    Locating Forms Page
    Locating Forms Page

  2. You will be presented with a list of new forms that can be entered for this patient. The forms are listed in various 'contexts of care' with the top category 'cityEHR Feature Demo' containing all the forms available and the others containing smaller sets of forms for Administration and for Clinical Care.

Form with Enumerated Values and Calculated Data

  1. Forms can now be selected to enter new patient data. For this example the Hospital Anxiety and Depression Scale (HADS) will be used. Select the Form from the left navigation menu.

    Hospital Anxiety and Depression Scale Form
    Hospital Anxiety and Depression Scale Form

  2. The form will load and you can now enter data into the fields by answering each question using the drop down menu selections. For this test, it doesn't really matter how you answer the questions – ensure you continue to the bottom of the page and select an answer for every question.

  3. At the top of the HADS form are two calculated entries for Anxiety Score and Depression Score. These will be calculated when all the questions have been answered.

    HADS Form: Anxiety and Depression Scores
    HADS Form: Anxiety and Depression Scores

  4. Once you have finished entering data you can Publish the form to the patient record by clicking Publish in the EHR view controls.

    Publishing Completed HADS Form to the Patient Record
    Publishing Completed HADS Form to the Patient Record

  5. Select the Commit Form button with the radio button Show patient record selected.

  6. Once the data have been committed to the patient record you will be moved back to the patient record folder displaying a list of all data in the record for your patient, including the HADS data just completed.

    Patient Record Folder with Completed Hospital Anxiety and Depression Scale Form
    Patient Record Folder with Completed Hospital Anxiety and Depression Scale Form

Form with Graphical Data Input

  1. Return to the Forms tab and select the form for DAS 28. This form records the Disease Activity Score for the patient, by selecting joints that are either tender or swollen. The input of tender or swollen joints is made by clicking on the appropriate area in the homunculus image.

    Disease Activity Score (DAS) 28 Form
    Disease Activity Score (DAS) 28 Form

  2. As you click to select the tender and swollen joints you will see the counts changing. Enter values for ESR (e.g. 2.3) and Visual Analogue Score (e.g. 4) and the DAS Score will calculate.

  3. The DAS Score will be recalculated each time you select a tender or swollen joint or change either the ESR or Visual Analogue Score.

  4. Once you have finished entering data you can Publish the form to the patient record by clicking the Publish button as before. Confirm the action and the DAS 28 data stored in the patient record.

  5. Select Commit Form on the Dialogue Box that appears after clicking Publish.

    Committing Completed Disease Activity Score (DAS) 28 Form
    Committing Completed Disease Activity Score (DAS) 28 Form

  6. The patient record now displays the event, with the data you recorded.

    Note: This does not include the homunculus graphics that was used for data entry.

    Event Displayed in the Patient Record
    Event Displayed in the Patient Record

  7. Return to the Forms tab and select the Family History form from the left navigation menu.

    Note: You may need to reduce the resolution of the page to fit the display of the form shown below, or you can press the small Hide button to collapse the left hand navigation pane and give more room for the form.

    Family History Form
    Family History Form

  8. This form has a representation of the family tree for the patient. Click on people icons in the image to select a family member – this will then add a new line to the list of family members where you can fill out the date and details of a general diagnosis for that person.

  9. To enter the diagnosis you can either press the '...' button to the right of the empty field, or begin typing for an auto-complete of the diagnosis.

  10. You can also add family members by clicking the small '+' button at the top of the family history list, or remove a family member by pressing the 'x' button next to the family member.

  11. Once again, publish the form to the patient record when you are done.

    Selecting the Diagnosis from a Drop-down
    Selecting the Diagnosis from a Drop-down

Form with Sorting of Entries and Conditional Elements

  1. Within the Medication Record Form, you can enter data for either Current Medications or Previous Medications by pressing the appropriate '+' button.

  2. To enter the name of the medication you can either start typing in the input box, or select '…' to the right ofthe empty field, which will bring up an expandable list of medications from which you can select.

    Medication Form’s Expandable List of Medications
    Medication Form’s Expandable List of Medications

  3. When typing the name of the medication you will either get a single medication filled out automatically as soon as your input matches it uniquely, or a drop-down selection of matching medications.

  4. Once you've added a collection of medications, try checking or unchecking the Stopped button. When you do this, the medication will be moved between the lists for Current or Previous Medications.

  5. Publish the form to the patient record when you are done.

    Categorization of Current and Stopped Medications
    Categorization of Current and Stopped Medications

Form with Multiple Entries, Calculations and Pre-Filled Data

  1. Navigate to the Body Mass Index Form.

  2. On this form you can enter a set of measurements for height and weight of the patient on various dates – the Body Mass Index (BMI) will be calculated, along with the average height and weight for the patient.

  3. Publish the form.

  4. Now return to the Forms tab and select the Body Mass Index form again.

  5. The form will be pre-filled with the entries added in the previous step.

  6. New entries can be added, however published ones cannot be removed or edited.

    Note: The information model defining this behaviour can be set up to allow previous entries to be updated and/or deleted.

    Body Mass Index Form with Calculations
    Body Mass Index Form with Calculations

Form with Enumerated Class and Supplementary Data

  1. Navigate to the Diagnosis Form.

  2. Press the '+' button to add a new diagnosis.

  3. Select '...' to browse avaliable diagnoses or use the auto-complete (e.g. type sw...)

  4. Depending on the diagnosis you select, you may see an additional SDS to the right of the diagnosis once it is selected.

  5. Select this button to see the Supplementation Data Set dialogue.

    Entering a Supplementary Data Set
    Entering a Supplementary Data Set

  6. Complete the required data for the dialogue box and select OK when completed.

    The supplementary data is displayed next to the diagnosis it is associated with.

    Display of Supplementary Data Set
    Display of Supplementary Data Set

  7. Now add a diagnostics image by selecting the Browse button from Diagnostic Image.

  8. Navigate to a file on the file system to upload that image to the record.

    Note: The image is stored directly in the current composition when it is committed to the patient record – this feature is designed for informal images as the type that might be capture in a mobile phone, not full diagnostic images capture using some imaging modality – any such images would be managed in the PACS, not the EHR.

  9. Once the image has been uploaded it is displayed inline on the form.

    Diagnostic Image Uploaded from the File system
    Diagnostic Image Uploaded from the File system

  10. Select the Publish to commit the form to the record and navigate to the patient Events.

  11. The data recorded in now saved and displayed in the patient record, including the uploaded image.

Finding Patients

Once patients are recorded in your database, you can search for them and select the desired patient to view their record or input data.

  1. Click the Patient Search button in the purple system navigation pane at the top of the page to open the search form, as shown below.

    Patient Search Form
    Patient Search Form

  2. Enter your search criteria and click the Search button at the top of the form. You can also press Enter after typing in any text input field. Hovering your mouse over the button will display its name.

  3. For test patient data, try searching using a common letter in the surname or a patient identifier. For example, entering "K" may return results if the default format for patient identifiers was used when generating the test data.

    Searching Patients with Patient ID using “K” as a Patient Identifier
    Searching Patients with Patient ID using “K” as a Patient Identifier

  4. The search results will display basic demographic details of matching patients:

    • If no results are found, a notification will appear.

    • If too many patients match your criteria (e.g., searching for "Male"), you’ll be prompted to enter more specific search criteria.

  5. When patients are found, the list will display even if only one result matches. This allows you to confirm the correct patient before viewing their record.

    List of Patients Found Using Patient Search
    List of Patients Found Using Patient Search

  6. Click a patient from the list to access their default summary view. This view includes features for reviewing, charting, and annotating the record. The next exercise will guide you through these functionalities.