Demo data generator for OpenMRS 3.x

Build: #912 failed Changes by Burke Mamlin <burke@openmrs.org> and Ian Bacher

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Code commits

Git

  • Ian Bacher

    Ian Bacher 6bf765fe7858bd52a587bb20b1a8a183320db319

    Don't accidentally create offline visits

    • api/src/main/java/org/openmrs/module/referencedemodata/ReferenceDemoDataActivator.java (version 6bf765fe7858bd52a587bb20b1a8a183320db319)
  • Ian Bacher

    Ian Bacher b0bce598a27320831a2c0a55226771e226449784

    Add tests covering lab results, vital results, and COVID forms

    • api/src/main/java/org/openmrs/module/referencedemodata/ReferenceDemoDataUtils.java (version b0bce598a27320831a2c0a55226771e226449784)
    • api/src/main/java/org/openmrs/module/referencedemodata/obs/DemoObsGenerator.java (version b0bce598a27320831a2c0a55226771e226449784)
    • api/src/main/java/org/openmrs/module/referencedemodata/visit/DemoVisitGenerator.java (version b0bce598a27320831a2c0a55226771e226449784)
    • omod/src/test/java/org/openmrs/module/referencedemodata/ReferenceDemoDataActivatorTest.java (version b0bce598a27320831a2c0a55226771e226449784)
  • Ian Bacher

    Ian Bacher 4aba72e3a0192c2b58e2cd6d9b9267382f442e32

    Non-breaking Refactor
    * Breaks down DemoPatientGenerator into components, as it was becoming
      a bit opaque
    * Adds an appointment per visit
    * Adds a lab order per lab result
    * Adds a COVID-19 form and corresponding data
    * Fixes issues where encounters were being generated in the future
    * All patients should now have a relatively recent visit
    * More information about on-going generation is available to be logged
    * In general time between events are somewhat shorter, especially for short visits

    • .github/workflows/maven.yml (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/DemoDataConceptCache.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/Randomizer.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/ReferenceDemoDataActivator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/ReferenceDemoDataConstants.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/appointments/DemoAppointmentsGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/condition/DemoConditionGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/condition/DemoConditionGeneratorImpl.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/diagnosis/DemoDiagnosisGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/diagnosis/DemoDiagnosisGeneratorImpl.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/jackson/ConceptDeserializer.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/jackson/RangeDeserializer.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/obs/DemoObsGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/obs/NumericObsValueDescriptor.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/obs/ObsValueGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/orders/DemoOrderGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/patient/DemoPatientGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/patient/DemoPersonGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/program/DemoProgramGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/providers/DemoProviderGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/java/org/openmrs/module/referencedemodata/visit/DemoVisitGenerator.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • api/src/main/resources/moduleApplicationContext.xml (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • omod/src/test/java/org/openmrs/module/referencedemodata/ReferenceDemoDataActivatorTest.java (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • omod/src/test/resources/log4j.xml (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)
    • omod/src/test/resources/requiredDataTestDataset.xml (version 4aba72e3a0192c2b58e2cd6d9b9267382f442e32)

Release scripts

  • Burke Mamlin <burke@openmrs.org>

    Burke Mamlin <burke@openmrs.org> 39269cb8f38c786e7c5c4df804871bc2073177ad

    ITSM-4320: upgrade sourceforce key to ED25519

    • scp-to-sourceforge.sh (version 39269cb8f38c786e7c5c4df804871bc2073177ad)