health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] Problem in FHIR server installation.


From: Arpit Goel
Subject: Re: [Health-dev] Problem in FHIR server installation.
Date: Sat, 4 Apr 2015 22:56:38 +0530

Hello Chris,

Sorry for late reply.

Those ids - labreport-1, lab-93, etc. - were my attempt to handle the
multi-model column support. I thought I pushed a commit to disable it
before the 2.8.1 merge window, but I just checked and I missed it.  I've
disabled all of that, since it didn't work very well.
What's the status code on that?

The status code was 404.

As I said before, I've updated the code a lot. Probably pull the latest
code and use that.
hg clone http://hg.savannah.gnu.org/hgweb/health/
or
Go to hg.savannah.gnu.org/hgweb/health/ and get the latest code in
zip/bz2/gz file formats.
 
I am now using the latest code. All base URI works now.
So now the URIs are /DiagnosticReport/1 and /Observation/93 but when I try to access /Observation/93, I get issue = "No record" (status code is 404).
Here is the DiagnosticReport/1 result:

<DiagnosticReport xmlns="http://hl7.org/fhir">
<name>
<coding>
<code value="CBC"/>
<display value="COMPLETE BLOOD COUNT"/>
</coding>
</name>
<issued value="2015-03-29T23:43:31"/>
<subject>
<reference value="/Patient/1"/>
<display value="Patient, Demo"/>
</subject>
<identifier>
<label value="COMPLETE BLOOD COUNT for Patient, Demo on 2015/03/29"/>
<value value="/DiagnosticReport/2"/>
</identifier>
<result>
<reference value="/Observation/93"/>
<display value="Hemoglobin"/>
</result>
</DiagnosticReport>

You mean like a bulk import? A proteus script is probably a better idea.
Documentation on pypi (and github):
https://pypi.python.org/pypi/proteus/3.4.3
For general standards-compliant interfaces, I may add write-support to
the FHIR server. There is also the HL7 v2 interface which may add
write-support as well.

I'm not looking for bulk import but I want to add all kinds of data for a single patient like insurance, billing, medication and especially lab reports. I know I can add such information through HL7 message but I was not aware that GNU Health has an HL7 interface. Is there any documentation present or any example showing its usage?
Also does GNU Health supports some dictionary for Clinical Terms like SNOMED that go beyond diseases unlike icd10?

Arpit

On Wed, Apr 1, 2015 at 5:49 AM, Chris <address@hidden> wrote:
Hiya!


> Thanks a lot. It works after commenting that particular line.  It
> seems that I can retrieve all resources mentioned except Observation
> and Procedure.

Yeah, I had difficulty with those endpoints. According to the standard,
they can include single systolic blood pressure measurements, heart
rate, etc. Unfortunately, most of those measurements are stored on the
same row *and* on multiple models (so, there is multi-model column
searches). I tried to disable the support. Sounds like I messed up.

> I have stored lab report with test "CBC" and observation "Hemoglobin".
> It is able to retrieve the lab report at
> */DiagnosticReport/labreport-1 *but is unable to retrieve observation
> */Observation/lab-93 *(URI was mentioned in labreport-1). I get the
> following page: This page contains the following errors: error on line
> 1 at column 1: Document is empty

Those ids - labreport-1, lab-93, etc. - were my attempt to handle the
multi-model column support. I thought I pushed a commit to disable it
before the 2.8.1 merge window, but I just checked and I missed it.  I've
disabled all of that, since it didn't work very well.

What's the status code on that?

> Below is a rendering of the page up to the first error.
> Same thing is shown when I try to access /Observation and /Procedure (rest
> of resources work fine).

So... the individual report works, but the searches don't. Hmm...

> Also does the PUID search criteria for the patient works?

It should. It's non-intuitive because you have to search against the
identifier parameter. Also, the identifier is considered a token
datatype, so it must match exactly unless you use :text modifier.

As I said before, I've updated the code a lot. Probably pull the latest
code and use that.

hg clone http://hg.savannah.gnu.org/hgweb/health/

or

Go to hg.savannah.gnu.org/hgweb/health/ and get the latest code in
zip/bz2/gz file formats.

> I also need to write to GNU health (preferably through web service). Is
> there any other interface that can be used for it (JsonRPC or XmlRPC?). If
> yes, could you please point me to its documentation.

You mean like a bulk import? A proteus script is probably a better idea.

Documentation on pypi (and github):

https://pypi.python.org/pypi/proteus/3.4.3

For general standards-compliant interfaces, I may add write-support to
the FHIR server. There is also the HL7 v2 interface which may add
write-support as well.

Thanks!

-C



reply via email to

[Prev in Thread] Current Thread [Next in Thread]