Wiki Integration

Discussion in 'Synapse' started by Graham, Sep 20, 2008.

  1. Graham

    Graham Developer Staff Member

    A wiki is probably a good thing for a practice to have .. but is there any point integrating Synapse into the wiki as well?

    The Developer Wiki uses Mindtouch's Deki, and this has an extensive API - see http://wiki.developer.mindtouch.com/MindTouch_Deki/API_Reference

    I've used this API to access file information on the beta downloads so I know I can integrate this wiki ... but to what point?
  2. Graham

    Graham Developer Staff Member

    This is the REBOL code to grab the authentication token so that we can access password protected pages on the wiki

    token: read compose [
    scheme: 'http
    host: "compkarori.no-ip.biz"
    port-id: 8090
    target: "@api/deki/users/authenticate"
    user: (userfld/text)
    pass: (passfld/text)
    ]

    and the (userfld/text) containst the username, and (passfld/text) contains the password.

    Once we get the authentication token, we can now access the file information like this

    xml: read/custom [
    scheme: 'http
    host: "compkarori.no-ip.biz"
    port-id: 8090
    target: "@api/deki/files/269/info"
    ] compose/deep [ get "" [Cookie: (join "authtoken=" token)] ]


    We can use the API to create pages, upload files, download files .. pretty much anything one can do using the web interface.
  3. Graham

    Graham Developer Staff Member

    [​IMG]

    Here's an example of possible integration. The Deki wiki has a page containing all the forms used in this practice. The wiki page can be updated by any of the staff.

    The [Fetch] button uses the Deki API to read that page, and grab all the information about each attachment which is then displayed in the table. Clicking on the table row then browses to that file.
  4. Graham

    Graham Developer Staff Member

    The Beta 62 client allows you to integrate Deki Wiki into Synapse.
    1. Sign up for your free 100Mb wiki at http://www.wik.is/
    2. Decide whether you want this wiki to be private or public ( Control Panel/Site Settings and uncheck "Allow anonymous users to view" to make this wiki private
    3. Create a new page called eg. "Practice Forms" and upload a few forms that you use
    4. Enter this page into Settings/User/Deki - Deki File Page, and also your credentials if you have chosen to make this wiki private
    5. Now when you restart, go to Links/Practice Forms ... and you should see your link there. Click on [Fetch] to see your forms.
  5. Jason

    Jason Developer / Handyman Staff Member

    Very Interesting.

    I certainly *LOVE LOVE* wikis.

    My internal wiki is superior to this Deki Wiki Method as my Wiki is:

    (1) Much Faster Editing


    (2) Much Faster Searching.

    (3) Bonus, you can carry your wiki with you on a Windows Mobile Device.

    (1) and (2) are the most important features of a wiki, at least how I use it.

    A practice really wouldn't actively be interested in getting their patients involved in document creation so most of the files would be for internal use (and private). I guess this might be a way for hosting (for free) documents you want patients to have access to (ie. new patient signup pdfs, health tips, preps etc.) For a doctor without a website this would be a great idea.

    I use a wiki for mostly non-patient, non-EMR related activity. I am hoping to eliminate paper with my wiki. We use it for logging patient calls, and patient todos that are not in Synapse. We also put lots of phone numbers, and referral sources in there. For myself, I put medical information in there ... like different formulations of rosacea creams that I never remember, etc. Or links to documents on my Networked Hard Drives. Or I have my staff's "Synapse Manual" in there.

    The big advantage of the wik.is is the WWW access. However, my wiki is available via my Hamachi VPN.

    For the detailed practice information I put in my wiki, I dont think I would feel comfortable with this information on the WWW.

    Interesting development. I'll make a site to check it out ! [:)]



  6. Graham

    Graham Developer Staff Member

    >For the detailed practice information I put in my wiki, I dont think I would feel comfortable with this information on the WWW.

    You can choose to make sections of this wiki private, or, the whole wiki private.
  7. Graham

    Graham Developer Staff Member

    One possibility is to ditch Paperport support and have patient files that don't go into the Synapse database stored on a private Wiki instead.

    So, if the patient brings Dicom images on cd, or movies or other multimedia data, it can be stored in a wiki page allocated for that patient. Set up the appropriate tags, and you can then watch the multimedia as a plugin on that page.
  8. Graham

    Graham Developer Staff Member

    I haven't used your wiki .. unless you're using Twiki, but the free sites are pretty quick .. faster than my vmware appliance.

    The big difference is that Deki is not just a wiki. It's a collection of loosely coupled web services that are accessed thru an API. The wiki itself is a PHP interface to the API to provide the wiki like functionality. Using the API Synapse can leverage those services for its own purposes ... though those purposes have not been clarified yet.

    You can read more about the Deki technology at their site.
  9. Graham

    Graham Developer Staff Member

    The Deki Wiki professional version can have https, and various extensions added. I think this means that they can be used as an inexpensive patient portal.

    For example, one of the extensions is the thinkfree java office applet which allows users to view documents and spreadsheets.

    So, you could automatically create a private page for a patient, and upload their documents such as results, vaccination spread sheets and so forth. There would however be no two way communication as in a true patient portal. But the patient could also upload their own health documents as a health repository they can contribute to.

    And when a patient is sent to a specialist, the specialist can login to the patient's health repository to view the data.
  10. Jason

    Jason Developer / Handyman Staff Member

    So this could, if you want ... be a Word Document populated with:

    Diagnoses

    Surgeries

    Meds

    Allergies and Failed

    ... etc....

    I suppose that is one fairly interesting thing. I dont think I would use it as outlined. Nor would my specialists.



  11. Graham

    Graham Developer Staff Member

    Your patients might like it though ... and since there is no connection to your server ( it all being push rather than pull ), it might make it more attractive from the security point of view.

  12. Jason

    Jason Developer / Handyman Staff Member

    Sure. What will it offer them ?


    Big bonus for sure.
  13. Graham

    Graham Developer Staff Member

    It will offer them a place to collate all their health related data.

  14. Graham

    Graham Developer Staff Member

    Free wik.is sites are no longer available ... they became oversubscribed.

    If you wish to use a dekiwiki, you'll have to run your own site.

Share This Page