FHIR Chat · Search parameter type "Token" also supports "Id" Fhir type · implementers

Stream: implementers

Topic: Search parameter type "Token" also supports "Id" Fhir type


view this post on Zulip Muhammad Abubakar Ikram (Nov 19 2018 at 12:10):

The search parameter type "Token" also supports FHIR datatype "Id" for searching.

But in this (http://build.fhir.org/search.html#token) section the "Id" datatype is missing!!

It needs to be added along with other "Token" supported datatypes in the above section.

view this post on Zulip John Moehrke (Nov 19 2018 at 14:08):

where do you see that token is used for searching id? The id element is searched for with _id.

view this post on Zulip Muhammad Abubakar Ikram (Nov 19 2018 at 15:13):

1. The same section http://build.fhir.org/search.html#token see line number 5 from top to bottom.
2. In this http://build.fhir.org/searchparameter-registry.html section kindly see the type of _id

view this post on Zulip John Moehrke (Nov 19 2018 at 15:48):

ah, right, search parameter type vs search parameter. So it would seem that you should enter a change request

view this post on Zulip John Moehrke (Nov 19 2018 at 15:53):

see

view this post on Zulip John Moehrke (Nov 19 2018 at 15:53):

see the text in http://build.fhir.org/search.html#all
However, the search with parameter _id returns a bundle with the requested resource, instead of just the resource itself. Additional parameters can be added which may provide additional functionality on top of this base read equivalence (e.g. _include). Note that although the _id parameter has a type of token, because servers SHALL use exact match with it, there is no system for the _id parameter. Note that matches on _id are always case sensitive.

view this post on Zulip John Moehrke (Nov 19 2018 at 15:55):

so the last sentence clarifies... although I can't figure out why the _id is defined as a token, when it ignores everything that a token is.

view this post on Zulip Muhammad Abubakar Ikram (Nov 19 2018 at 16:10):

Yes you are right wether change the search parameter type of _id or add the id datatype to the token.
creating a change request.

view this post on Zulip Muhammad Abubakar Ikram (Nov 19 2018 at 17:14):

here is the tracker https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=19673&start=0

view this post on Zulip Alexander Kiel (Feb 24 2020 at 15:32):

JIRA Link is: https://jira.hl7.org/browse/FHIR-19673


Last updated: Apr 12 2022 at 19:14 UTC