argonautproject / implementation-program

Project Argonaut: Implementation Program
36 stars 5 forks source link

Should Category based search for Vitals and Lab IG be mandatory? #24

Closed Healthedata1 closed 8 years ago

Healthedata1 commented 8 years ago

For the Vitals IG and Labs IG the search for all results are based upon using the Observation.category element to fetch all the relevent results. There is no other easy way to do this using the FHIR Restful API.

example search using category: GET [base]/Observation?patient=[id]&category=vital-signs

GET https://fhir-open-api-dstu2.smarthealthit.org/Observation?patient=1186747&category=vital-signs
michelle-m-miller commented 8 years ago

On a related note (this was the closest open issue I could find to add this comment):

When searching by category of vital-signs and assuming the table of LOINCs is a minimum data set that can be extended, then the following blurb may need to be clarified or loosened up a bit:

Each Observation must have: a LOINC code which tells you what is being measured and is taken from the "LOINC Code" column in the table below

Healthedata1 commented 8 years ago

The decision to use category codes for fetching is a key part the Argonaut API.