Loading Procedures from sdcard

16 views
Skip to first unread message

Okuboyejo Damilola

unread,
May 15, 2012, 2:49:09 AM5/15/12
to sana-de...@googlegroups.com

Hi All,

I am planning on seeing how procedures can be loaded right from an sdcard rather than hard-coding them.

This is to help remote workers continually cater for new diagnosis without necessarily contacting the developer to upgrade the app just for the purpose of adding a new encounter.

May I ask if anyone has attempted something similar before so that I wouldn't reinvent the wheel.

Cheers!

Okuboyejo Damilola A (MBCS)

Sent From Damilola's SGSII

Eric Winkler

unread,
May 15, 2012, 11:16:42 AM5/15/12
to sana-de...@googlegroups.com
Hi Okuboyejo,
There is fairly simple implementation of that currently available in the 1.1 release. It essentially comes down to copying the procedures onto the sd card as described here, in the "How to Define Your Own Procedures" page on the wiki, and then navigating to a page in the settings which will load them. 
Best,
Eric

Important Note: There was a small bug that did not get caught until very recently that was preventing the application from creating the directory structure. It has been fixed and committed to the repository but I haven't posted the recompiled application on the downloads page (I will try to get that up today).

Okuboyejo Damilola

unread,
May 24, 2012, 9:32:29 AM5/24/12
to sana-de...@googlegroups.com

Hi All,

This is to inform everyone that u have been able to do the custom built file browser with filtering capability to the sana client.

The project I an doing require the remote medical officer to be able to just browse for available procedures on the phone, select them and be able to load them without manually accessing the sana media directory.

I would be glad to help anyone in the house that might have similar requirement.

Okuboyejo Damilola A (MBCS)

Sent From Damilola's SGSII

Okuboyejo Damilola

unread,
May 24, 2012, 10:23:20 AM5/24/12
to sana-de...@googlegroups.com


Hi All,

This is to inform everyone that I have been able to do the custom built file browser with filtering capability to the sana client to ease procedures file selection at runtime.

The project I am doing require the remote medical officer to be able to browse for available procedures on the phone, select them and be able to load them without manually accessing the sana media directory.

I would be glad to help anyone in the house that might have similar requirement.

Attached with this digest are some.screenshots.

Okuboyejo Damilola A (MBCS)

Sent From Damilola's SGSII

screen_20120524_1555_2.png
screen_20120524_1555_3.png
screen_20120524_1555.png
screen_20120524_1556.png
screen_20120524_1557.png
screen_20120524_1558.png
screen_20120524_1601.png
screen_20120524_1604.png
screen_20120524_1604_2.png

Eric Winkler

unread,
May 24, 2012, 11:15:23 AM5/24/12
to sana-de...@googlegroups.com
That is great news. If you are willing to contribute the source code, I would very much like to take a look at and see if we can patch it into the code base. I suspect a number of people would be interested. 
Thanks,
Eric
PS If you are willing to contribute the code, please either post here or send it to me directly, winkl...@gmail.com
Reply all
Reply to author
Forward
0 new messages