bugGNU Health - Bugs: bug #45217, FHIR practitioner query wong...

 
 

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

bug #45217: FHIR practitioner query wong address in entry id

Submitted by:  Ari Takalo <variaatio>
Submitted on:  Sat 30 May 2015 11:57:19 AM UTC  
 
Category:  Demo environment Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None
Module:  FHIR

Sat 30 May 2015 08:39:21 PM UTC, comment #1: 

You are completely correct. Nice find! url_for() is very helpful, but I obviously forget which endpoint I was working on!

http://hg.savannah.gnu.org/hgweb/health/rev/c36997b66e8f

Also, I pushed the change to the demo server as well.

Thanks again! =-)

Chris Zimmerman <teffalump>
Project Member
Sat 30 May 2015 11:57:19 AM UTC, original submission:  

Hi

Sorry, if I have understood wrongly and this is not a bug. I'm not in anyway involved in development, so I might be completely wrong about this.

Just happened to come across with this seeming inconsistency, when playing around with the FHIR demo server out of general curiosity.

I was testing the FHIR demo server and giving it manual queries through a web browser.

I gave the server query
http://health.gnusolidario.org:5000/Practitioner
As far as I understand this should respond with listed information of every registered practitioner in the system.

Apparently there is one doctor in the demo database Cordara, Cameron

However in the initial <entry> properties the id return is listed as
<id>http://health.gnusolidario.org:5000/Patient/1</id>. Shouldn't it be <id>http://health.gnusolidario.org:5000/Practitioner/1</id>. This returns the entry for Cordara, Cameron, a doctor with specialities in Family and Endocrinology

http://health.gnusolidario.org:5000/Patient/1 returns a patient record for Ana,Betz.

In http://health.gnusolidario.org:5000/Patient listing the id field always points to the address to get that specific entry only from the database. So shouldn't it be the same for the practitioner query.

Clearly the system in whole is correct, because for each patient their listed practitioner points correctly to Practitioner/1 . So it seems the problems is only in the /Practitioner search query.

I hope I'm not wasting anyone's time. I tried to check, if anyone had reported this and didn't find anything.

Ari Takalo

PS my query result in the attachment

Ari Takalo <variaatio>

 

Attached Files
file #34126:  results_practitioner.asc added by variaatio (2KiB - text/plain - the query result)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-30 teffalump StatusNone => Fixed
        Open/ClosedOpen => Closed
    2015-05-30 variaatio Attached File- => Added results_practitioner.asc, #34126

    Back to the top


    Powered by Savane 3.7