-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support token modifier ':of-type' #1323
Comments
Since system + code + value must be extracted together, I don't think this can using the existing _TOKEN_VALUES_V table/view, so may require a schema change. |
I think we should be able to get this one without a schema change. Two different ideas: A. Since the spec requires users of B. Store the 3-tuple via an internal-only "composite parameter". A worked example for B:
We'd have an internal search parameter definition like this
after extraction we'd have entries like this in PATIENT_TOKEN_VALUES:
Query comes in: Patient?identifier:of-type=mystem|PI|123 Interally re-written as: Patient?ibm-internal-identifier-type-composite-identifier=mystem|PI$123 |
Even though option A would be quicker, option B feels like the correct way to do this. Putting system+code into a single system field feels like a stop-gap approach. Since ':of-type' is a modifier that is unique in that it basically treats the search parameter as a composite, I think special internal handling to treat it like a composite makes sense.
|
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
All right! I think I have the :of-type search (as internal composite search) working. Thanks for the suggestion on that! |
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Issue #1323 - Add support for ':of-type' modifier
@JohnTimm Verified |
From http://hl7.org/fhir/search.html#token:
:of-type
The search parameter has the format system|code|value, where the system and code refer to a Identifier.type.coding.system and .code, and match if any of the type codes match. All 3 parts must be presentFrom Team discussion:
The text was updated successfully, but these errors were encountered: