← Back to team overview

dhis2-devs team mailing list archive

Re: Interested GSOC student on idea -Dialplan (PBX) generation for patient communication

 

Hi,

I guess if you'd like to push voice reminders, you make another SMS gateway interface, but use it to interface with an external voice system instead.

Not sure how good the tts options are, if it's viable and people will understand it. I think pre-recorded messages (your option 1) sounds good.

I think on option could be to use the Instedd voice gateway, or some other voicexml service.

Lars

On 13.04.2013 17:54, kasun perera wrote:
Hi Lars

Thanks for you answers.

So if i summarize these are the SMS availability in the system.
1) Automated SMS for program ; template based SMS ( SMS on joined date, reminder after sometime) 2) Automated SMS for program stage; template based SMS (reminder before appointments, reminder for missed appointments)
3) Manual option for sending SMS- Not template based or pre-populated.

As in DHIS-GSOC idea page voice reminder facility will be created for above option 2) for this project.

These are some of my initial ideas for the GSOC proposal, please provide your feedback on this.

There is the option to convert SMS itself to a voice message using a Text to Speech engine(TTS). This is good and easy option for English and few other languages where good TTS systems are already available. But fact that this is a community based system and intended receivers most probably speak only their local language, and there may not be good TTS systems available for community languages.I will completely avoid the path of using a Text to Speech engine(TTS).

I propose to create all the voice call reminder "setting functionalities" next to SMS functionality already available in the system, rather than creating them on new web pages. (Yes, it may need to create new pages for recording messages, uploading messages ect.. )This would be more convenient for system users.

Sample SMS reminder- /Dear / {patient-name}./ Please remember your/ {program-stage-name}/ on/ {due-date}./
Thank you./
To create a voice reminder inline with this-
Option 1- This need to record the voice in 7- sub-sections and combined it programatically to create a one voice massage them push over the PBX. Option 2- Create a complete voice message for each individual person separately.For this system admin has to put huge time and effort to create voice messages, so i'm omitting option 2.

So there will be need to voice some of the patient details(patient-name, due-date). This voicing of patient details would be done at later stage but not at the initial patient registration time. Will it be better to give the option to upload or create voice recordings at the "Person Management" console or create a separate web page for this?

Thanks



On Fri, Apr 12, 2013 at 4:13 PM, Lars Kristian Roland <lars@xxxxxxxxx <mailto:lars@xxxxxxxxx>> wrote:

    Thanks for your interest. See responses below and don't hesitate
    to ask again if I haven't answered all your questions.

    On 12.04.2013 11:49, kasun perera wrote:
    Hi

    I'm just playing around with the SMS facility to get an
    understanding how it work, since I hope proposed automated
    calling would work in similar fashion. I'm trying this on demo
    server http://apps.dhis2.org/demo

    Few questions
    1) I have added a new person, assign him a TB visit program. From
    the Person Dashbored I can see the history of the person. On
    "Reschedule and set Status" menu there is a option to send a
    message. It has given textbox to write a message, can this text
    box populated with template messages already written? If yes how
    can I do that?
    Will this send the message immediately or will it send at
    scheduled time?
    This is the manual option for sending a message, and it's not
    prepopulated. The automatic (reminder) messages are set in the
    program setup, either on the stages or on the program itself (the
    latter only being available in the very latest software) and not
    on demo.



    2) Maintenance >  Programs and Persons > Automated Message Reminder
    I can see only text box for time input, and Start button
    and Execute button
    I activated Start button, will this activate sending messages for
    all users or
    Can this be configured that message to be send only to perticuler
    group, for eg. reminders will send to TB patients but not for
    Child program?

    This is the batch job for sending out automatic reminders. When
    this process is running, it'll generate messages for the next day
    at midnight and then send out the messages the next day. These
    reminders are sent out as configured in the 'Stage' of Maintenance
    -> Persons and programs -> Program -> View program stages (icon)
    -> Edit stage, bottom of page. This is a message related to each
    stage, and is meant as a reminder SMS. So it could be an SMS 5
    days before a visit is due, with a reminder to come, or with
    educational messages if you prefer that.

    On the instant build of trunk apps2.dhis2.org/dev
    <http://apps2.dhis2.org/dev> which has the trunk version, there is
    also an automated message for the program itself, set with regard
    to when the user joined the program. So you can then set for
    example that someone joining the TB program will get an SMS on the
    day they joined, and 2 months afterwards.

    The thing about these servers is that they are reset every night,
    so the alert configuration doesn't survive. So the demo and dev
    servers don't work properly with the alerts. For some of the alert
    functions, you can press 'Execute' to process immediately, and see
    that the message is in the 'Mobile configuration' -> View sent SMS
    page. BUT for this to appear there, there might have to be an SMS
    configuration under 'SMS Service configuration'. This gets reset
    every night, and we need to add a dummy SMS configuration so we
    don't have to create a configuration every time.


    Documentation Says see "Add program stage section for defining a
    template message " I can't find this adding template message on
    system can someone please point it to me?
    Maintenance -> Persons and programs -> Program -> View program
    stages (icon) -> Edit stage, bottom of page.

    This is for the automatic reminders, not the manual reminders you
    mention in the beginning of your email.

    Best regards
    (mobi)Lars


    Thanks



    On Thu, Apr 11, 2013 at 7:58 AM, kasun perera
    <kkasunperera@xxxxxxxxx <mailto:kkasunperera@xxxxxxxxx>> wrote:

        *

        Hi All,


        I am a Mphil student of University of Colombo School of
        Computing, Sri lanka. I have worked in software industry, 1.5
        years for opensource software companies. I’m well experienced
        developer in java/ jsp-servelts/ jquery. I have written
        several research papers also.


        I’m interested on idea -Dialplan (PBX) generation for patient
        communication. I have already downloaded the sourcecode build
        it on Eclipse. I’m reading the documentation and trying to
        get better understanding of the source code specially the
        DHIS2-Tracker section.


        I tried to run the dhis.war file and standalone program, but
        could not succeed. It gave me this error “Exception in thread
        "Thread-2" java.lang.OutOfMemoryError: PermGen space” Seems
        to be a memory problem, i’m running this on my laptop having
        2Gb RAM. Does it need lot of memory to run?


        Will it be interested to create some mockups for the user
        interfaces that I’m planning to develop and submit with the
        proposal?


        Below is brief about my opensource experience related PBX
        systems.


        I have worked for projects Feasibility study to enable
        Freedom Fone with voice-based Emergency Data Exchange
        (FF4EDXL)
        (http://lirneasia.net/projects/2010-12-research-program/ff4edxl/)
        and

        Voice-enabled Information Communication Technology for
        Disaster Management
        (http://lirneasia.net/projects/2010-12-research-program/voiceict4d/)
        as a Reserch assistant/ Analist programmer.


        We have used Sahana Eden (http://eden.sahanafoundation.org/)
        a well known disaster managemed system combined with
        Freedomfone (http://freedomfone.com/) an opensource IVR build
        using FreeSWITCH. The basic workflow is; when disaster
        happens ground level coordinators call the system and leave a
        situation report, later they may call asking for their
        disaster needs. These voice messages routed to Shana system
        and converted into text and saved.  Central hub operators act
        upon the messages they have received. This video explains the
        scenario in more detail
        http://www.youtube.com/watch?v=47owqEgBjXk&feature=youtu.be


        Thanks


        *

-- Regards

        Kasun Perera




-- Regards

    Kasun Perera



    _______________________________________________
    Mailing list:https://launchpad.net/~dhis2-devs  <https://launchpad.net/%7Edhis2-devs>
    Post to     :dhis2-devs@xxxxxxxxxxxxxxxxxxx  <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe :https://launchpad.net/~dhis2-devs  <https://launchpad.net/%7Edhis2-devs>
    More help   :https://help.launchpad.net/ListHelp


    _______________________________________________
    Mailing list: https://launchpad.net/~dhis2-devs
    <https://launchpad.net/%7Edhis2-devs>
    Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
    <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~dhis2-devs
    <https://launchpad.net/%7Edhis2-devs>
    More help   : https://help.launchpad.net/ListHelp




--
Regards

Kasun Perera



--
Lars Kristian Roland
Lars@xxxxxxxxx
+47 90733036
www.apus.no - lars.roland.bz


Follow ups

References