Stream: analytics on FHIR
Topic: Save criteria and search patients
Nicolas Riss | Arkhn (Jun 03 2020 at 15:22):
Hello everyone,
I am wondering about FHIR search, maybe you could help me:
I would like to store a list of characteristics of patients in a FHIR resource (example : searching for a particular DiagnosticReport, a particular value for an observation, a prescription or the content of a document).
The goal would be to create a FHIR resource to save the list of citeria, that would be used to search for the matching patients (Allowing to generate the URL )
Have you got an idea of how to do that in FHIR ?
There is the Group resource, however I don't know how define the search criteria only using a code and a value, and how to generate the restful API request.
Thanks for your answer !
Nicolas
Brian Wright (Jun 09 2020 at 00:42):
The FHIR Parameters resource would be a good fit for capturing the list of criteria. However, the Parameters resource, is not supported by the FHIR restful API, meaning that you can not use the FHIR API to store or query instances of this resource.
Since your use case doesn't fit another existing resource, you could consider using the Basic resource to persist the criteria, potentially using the Parameters resource to capture the criteria in a structured way within Basic.
Rik Smithies (Jun 09 2020 at 17:55):
@Nicolas Riss you could also look the Library resource
Nicolas Riss | Arkhn (Jun 18 2020 at 12:22):
Thanks everyone for your answers, your propositions are really interesting.
Finally, I just created my custom characteristic parameters using a code and a value / a text (using CodeableContext.text) and generate the API requests dynamically.
It's not perfectly satisfying but it works.
@Ryan Brush @Eric Whitley : to extract data from resources, we are currently developing a tool called FHIR2DATASET to extract data using a sql like format : https://github.com/arkhn/FHIR2Dataset
Last updated: Apr 12 2022 at 19:14 UTC