31 Dec 2018: Thank you to our knowledgeable and friendly forums users for another great year. We are aware of the uptick in spam accounts and are doing our best to ban these at first sight. Thank you for your patience!

Open Source EHR Suite for integration with OpenClinica

2»

Comments

  • wdeanmedicalwdeanmedical Posts: 18
    Here is a a first attempt at the API for OC to WDM communication via HL7 FHIR.

    It will be a REST-like interface with the option of FHIR formatted as XML or JSON

    The URL structure on our side will be the following:

    {GET/POST} /ext/{json/xml}/{method}/{arg1}/{arg2}/{arg3} …

    It will be a GET or POST to a method and there will be arguments to that method, particularly if it is a GET.

    Although not pure REST, it is straightforward and you need not be Noam Chomsky to understand it.

    This will apply to all 3 of the core products: EHR. Practice Manager, and Patient & Family Portal.

    We will start with CRUD operations on a Patient along with a full “Blue Button” style dump of a patient’s set of records.

    Some ideas for methods would be:

    Authorize a service client by credentials submitted via POST.
    POST /ext/json/auth

    Get a patient by ID
    GET /ext/json/getPatient/ABC123

    Update a patient by ID with FHIR formatted patient data in POST header.
    POST /ext/xml/updatePatient/ABC123

    Get the patient’s full record.
    GET /ext/xml/getPatientFullRecord/ABC123

    I will great the interfaces and provide working examples for these by June 15 to the OC community.
This discussion has been closed.