taskGNU Health - Tasks: task #13118, FHIR integration


You are not allowed to post comments on this tracker with your current authentification level.

task #13118: FHIR integration

Submitted by:  Luis Falcon <meanmicio>
Submitted on:  Thu Mar 6 21:05:30 2014  
Should Start On: Thu Mar 6 00:00:00 2014Should be Finished on: Sun Dec 4 00:00:00 2016
Category: FunctionalityPriority: 5 - Normal
Status: In ProgressPrivacy: Public
Percent Complete: 80%Assigned to: Chris Zimmerman <teffalump>
Open/Closed: OpenRelease: 3.1.0
Module: health_fhir

Wed May 11 20:41:41 2016, comment #5:

An update on the FHIR work.

There are two issues that I'm trying to address:

1) A better interface for the tryton data models. Since there seems considerable interest in data from multiple sources -- devices, telemed, etc. -- we need a better common interface for the tryton data models.

2) Deprecating our fhir library(s). We don't have the resources (or desire) to maintain libraries against evolving standards. Furthermore, there are, finally, good 3rd-party libraries for fhir - seems an easy choice to me. Hehe.

The fhir server, currently, is mostly proof-of-concept code, rather than actually well designed. I probably should have spent some more designing, rather than jumping into the fhir standards, etc. Easy to see in hindsight, I suppose. Anyways, here are the goals:

- Write adapter classes for the data models.
- This should be a general interface to the models using fhir-like resources.
- I'm mostly separating code out from other classes, and updating it for the new standard.
e.g., fhir-like data <---> ADAPTER <---> gnuhealth.patient

- Move as much code to the 3rd party fhir library.
- Mostly this means removing a lot of code, and writing glue code.
e.g., 3rd party fhir library <---> GLUE CODE <---> fhir-like data <---> adapter

The adapter classes are there as a general interface, not only for the fhir server. For example, handling device input to update a patient's current weight. However, currently, they don't work well separated from the fhir server, so I need to separate out the relevant code. The glue code will be tedious but hopefully I can adapt previous code.

Since I don't want to pollute the main repo, I'm using a github repo (for now): https://github.com/teffalump/fhir. Once I get reasonable stability and function, I'll merge the new code back into the main repo, host it separately, etc.


Chris Zimmerman <teffalump>
Project MemberIn charge of this item.
Mon Feb 9 06:32:22 2015, comment #4:

I've added FamilyHistory and Condition endpoints. I will add MedicationStatement and Immunization, which should cover the most important information on the HL7 FHIR server. I still want to include some sort of export functionality within GNU Health.

Chris Zimmerman <teffalump>
Project MemberIn charge of this item.
Sat Dec 27 00:38:00 2014, comment #3:

The Patient, DiagnosticReport, Observation, Procedure, and Practitioner have read, search, and validate interactions. Still working on best way to integrate with Health/Tryton.

Chris Zimmerman <teffalump>
Project MemberIn charge of this item.
Sun Aug 24 09:37:30 2014, comment #2:


Fantastic ! And to put more pressure, FHIR integration was the feature request most voted for 2.8 series :)

All the best

Luis Falcon <meanmicio>
Project Administrator
Sat Aug 23 19:09:27 2014, comment #1:

Hehe, too much pressure! Been slacking recently, but hopefully can get that patient resource done soon-ish. =-)

Chris Zimmerman <teffalump>
Project MemberIn charge of this item.
Thu Mar 6 21:05:30 2014, original submission:

As mentioned in the mailing lists, we should have FHIR integration in GNU Health for the upcoming 2.6 version (est. july 6th)

Initially, the functionality should include :

- FHIR message server (other EMRs should be able to query GNU Health instance)
- Patient resource[2]
- Export patient information to save it on the patient health card.

I think that the best is to have a module per resource[1]. So

health_fhir : main general classes
health_fhir_patient : Patient demographics resource
health_fhir_immunization : Vaccine administration resource

I propose documenting it in a section of the GNU Health wikibook[3]

Thank you Emilien, Andrew and Alvin for your support and ideas on this since a while ago :)

Let's keep the discussion on the health-dev mailing list.


[1] http://www.hl7.org/implement/standards/fhir/resourcelist.html
[2] http://www.hl7.org/implement/standards/fhir/patient.html
[3] http://en.wikibooks.org/wiki/GNU_Health

Luis Falcon <meanmicio>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by teffalump (Posted a comment)
  • -unavailable- added by meanmicio (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed May 11 20:41:41 2016teffalumpShould be Finished onSun Jan 4 00:00:00 2015=>Sun Dec 4 00:00:00 2016
    Mon Feb 9 06:33:02 2015teffalumpPercent Complete50%=>80%
    Fri Dec 26 23:50:55 2014teffalumpPercent Complete0%=>50%
    Fri Aug 22 18:06:26 2014meanmicioShould be Finished onSun Jul 6 00:00:00 2014=>Sun Jan 4 00:00:00 2015
    Fri Aug 22 18:04:05 2014meanmicioAssigned tomeanmicio=>teffalump
    Fri Mar 7 11:24:30 2014meanmicioCategoryNone=>Functionality
      StatusNone=>In Progress
      Assigned toNone=>meanmicio

    Back to the top

    Powered by Savane 3.1-cleanup1