Comments (3)
Hi,
We released support for the .extension()
function on [email protected]
.
In the end it was not such a big change and we think that it is very helpfup for customers that are looking at the official FHIR examples and want to craft their own search parameters.
Although if you are already using the .extension.where(url = string)
syntax, it is probably better to to keep it that way. Seeing that major IGs use that syntax and that .extension()
is not in the base FHIRPath spec, leads us to think that the .extension.where(url = string)
syntax has less compatibility issues with FHIR tools out there (although we haven't validated this).
from fhir-works-on-aws-search-es.
Hi @Lin-002,
The issue is with the FHIRPath expression:
DocumentReference.extension('http://example.org/fhir/StructureDefinition/participation-agreement')
Specifically, we don't support the .extension() function.
The workaround is to use the .extension.where(url = string)
syntax instead. (.extension()
is just a syntactical shortcut) i.e.
DocumentReference.extension.where(url = 'http://example.org/fhir/StructureDefinition/participation-agreement')
We'll evaluate supporting the .extension()
function, but given that there's a simple workaround it is unlikely to be prioritized soon.
Also the IGs we've seen all use the .extension.where(url = string)
. Maybe that gives better compatibility since .extension()
is not truly part of the base FHIRPath spec, but rather functionality added by FHIR.
Thanks for reporting the issue!
Some more context: FHIRPath as a whole has some very complex constructs (e.g. projection functions, tree navigation functions, etc.), but search parameters definitions tend to only use a limited set of simple FHIRPath constructs. Our implementation only understands a subset of FHIRPath that is enough to understand most search parameters.
We've tested our implementation with the following IGs
- US Core (hl7.fhir.us.core)
- CARIN Blue Button (hl7.fhir.us.carin-bb)
- Payer Data Exchange (hl7.fhir.us.davinci-pdex)
- DaVinci Payer Data Exchange US Drug Formulary(hl7.fhir.us.Davinci-drug-formulary)
- DaVinci PDEX Plan Net (hl7.fhir.us.davinci-pdex-plan-net)
Search parameters outside those IGs are likely to work, but there may be some that use complex FHIRPath syntax that are not supported.
from fhir-works-on-aws-search-es.
Thanks very much. I will try out where
from fhir-works-on-aws-search-es.
Related Issues (20)
- [Feature Request] Support chained parameters in search HOT 4
- [Feature Request] support both [type]/[id] and [id] when searching by reference HOT 8
- [Feature Request] Contains search support HOT 1
- [Misc] Search sorting and score HOT 1
- [Bug] Paged results not returning the same result set HOT 1
- [Bug] chained parameters search returns all Resources HOT 4
- [Bug] revInclude on a resource only returns a max of 10 records HOT 3
- Chained search parameters should resolve to exactly one resource type HOT 2
- include/revinclude parameters are not strictly validated HOT 4
- [Feature Request]Support for "prefer" header HOT 3
- [Feature Request] Allow Binary Search to place a "presignedGetUrl" or return object within "data" section HOT 1
- [Misc] token search parameter use of multi_match HOT 2
- [Feature Request] Allow the max chained param result size to be configurable HOT 3
- [Misc] Construction of Wildcard Query on String with ":contains" modifier. HOT 3
- [Bug] QuestionnaireResponse search: Questionnaire query parameter results in empty searchset HOT 1
- [Feature Request] generate schema mapping from implementation guides HOT 2
- Specify operator for multi-filter match queries HOT 1
- [Bug] Issue using _include with location HOT 2
- Issue Searching Resource by multiple identifiers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhir-works-on-aws-search-es.