Special Olympics OpenMRS HAS
  • Special Olympics OpenMRS HAS
  • Features
    • Get Started
    • Athlete / Patient Management
      • Registration
      • Athlete Landing Page
      • Athlete Screening
    • Athlete Screening Forms
      • Healthy Hearing
      • Fit Feet
    • Event Dashboard
    • Event Dashboard Updated for World Games Berlin 2023
    • Follow-up Tracking
      • SMS Gateway and Flows setup in OpenMRS(Technical Document)
    • Reporting
    • Advanced Administration
      • Record Management
      • User Management
      • Event Management
  • Release Notes
    • Q2 2023 Berlin Change Requests
    • Q3 2022 Post Unified Games Upgrade
    • 2022.05 USA Games feature requests
    • 2022.03 QR code workflows, HP , HH and SMS updates
    • 2021.12 Registration and Past Medical Forms Upgrade
    • 2021.08 Upgrade
    • 2021.06 Data Migration Updates
    • 2021.04 Upgrade
    • 2021.03 SMS Automation & Offline Data Sync MVP
    • 2020.12 Follow-Up Tracker Pilot
    • 2020.09 Upgrade
    • 2020.07 Upgrade
    • 2020.06 Warehouse/Migration Upgrade
    • 2020.05 Post-GoLive Upgrade
    • 2020.04 Global Prod
    • 2020.01 Sweden MVP
    • 2019.12 Opening Eyes Upgrade
    • 2022.04 API for USA Games app leaderboard
    • 2022.07 Unified Cup and Post USA Games Upgrade
  • Future Works
    • Upcoming Changes
  • FAQS
  • Production Concept Changes SOP
  • Special Olympics forms requirements
    • Requirement Documents
  • Data Migration
    • Vecna HAS to OpenMRS HAS Mapping Table
  • Power BI Jira Report Embed Test
Powered by GitBook
On this page
  • Setting a duration in the SMS flow
  • Table Details

Was this helpful?

  1. Features
  2. Follow-up Tracking

SMS Gateway and Flows setup in OpenMRS(Technical Document)

Setting a duration in the SMS flow

Duration is used for starting the sms workflow on the specific/expected date.This is calculated from the schedule date.For e.g: Let sms schedule for xyz athlete on 01-01-2021.Then system will send sms as follows:

  • If duration is 0 then application will send the sms on same day.

  • If duration is 1 then application calculate current date + next date and then send the sms.

In Our case, first flow start on the schedule date, second flow start on interval of 7 days and third flow start on after 14 days interval of the second flow.

duration stored in specialolympics_sms_flow table.Query for updating the duration during SMS Gateway Configuration .

$ start transaction;
$update specialolympics_sms_flow set duration=7 where sms_flow_id=2;
$update specialolympics_sms_flow set duration=14 where sms_flow_id=3;
$commit;

By default all the sms will send on the same day.

Table Details

Following table has been used in sms worklflow:

  • specialolympics_followup_tracker

  • specialolympics_scheduled_followup

  • specialolympics_sms_flow

  • specialolympics_sms_metadata

  • specialolympics_survey

PreviousFollow-up TrackingNextReporting

Last updated 3 years ago

Was this helpful?