Uploaded image for project: 'Radiology Module'
  1. Radiology Module
  2. RAD-330

Create demo-data.sql

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Approved
    • Priority: Must
    • Resolution: Fixed
    • Component/s: Testing
    • Labels:
      None
    • Complexity:
      Undetermined
    • Sprint:
      Sprint 2

      Description

      We should extend the https://github.com/openmrs/openmrs-module-radiology/blob/master/acceptanceTest/resources/testdata.sql

      so anyone importing it into their db once they have the radiology module deployed can start right away using/testing all the features of the module.

      Requirements:

      • create a set of providers
        • providers should also be openmrs users
        • create multiple providers for every radiology role (radiologist, data clerk for admission, referring physician, administrator)

      aim: so we can test requesting an order, claiming reports (one radiologist claims a report, other should not be able to), viewing reports

      • create a set of patients (~ 10)
        • some should have radiology orders
        • some not

      aim: test our lists, searching for a patient without orders should of course give no results

      • create a set of radiology orders (~ 30)
        • some completed
        • some discontinued
        • some scheduled for the future
        • some with reports
        • some without reports
        • with different concepts, modalities, referring physicians

      aim: test pagination of our lists and its filters (discontinued orders dont show by default; daterange filter)

      • create a set of radiology reports (~ 20)
        • some completed
        • some discontinued
        • some scheduled for the future

      aim: test pagination of our lists and its filters (discontinued reports dont show by default; daterange filter, status filter)

      also

      • add users which have another locale like "es" as their default locale so we can test translations.
      • set global property for radiology concepts so we can start right away with ordering radiology orders
      • set global property for allowed locales to "en", "es"
      • add CIEL concepts and concept names (locale "en", "es") of class "Radiology/Imaging Procedure"
      • add few CIEL concepts and concept names (locale "en", "es") of class "Diagnosis"

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              teleivo Ivo Ulrich
              Reporter:
              teleivo Ivo Ulrich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: