Skip to content
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

Doesn't seem to support _tag search #831

Closed
angelok1 opened this issue Jan 18, 2018 · 5 comments
Closed

Doesn't seem to support _tag search #831

angelok1 opened this issue Jan 18, 2018 · 5 comments

Comments

@angelok1
Copy link

@angelok1 angelok1 commented Jan 18, 2018

Is _tag supported in search (https://www.hl7.org/fhir/search.html#tag)? I can't seem to be able to find any documentation one way or the other. I see @TagListParam, but that doesn't appear to work.

@jamesagnew
Copy link
Collaborator

@jamesagnew jamesagnew commented Jan 19, 2018

_tag is a normal search parameter of type token. You can see an example of using it in the JPA server's providers:

http://hapifhir.io/xref-jpaserver/ca/uhn/fhir/jpa/rp/dstu2/PatientResourceProvider.html#L42

@jamesagnew jamesagnew closed this Jan 19, 2018
@angelok1
Copy link
Author

@angelok1 angelok1 commented Jan 19, 2018

Thanks @jamesagnew. Perfect!

What's @TagListParam for?

@jamesagnew
Copy link
Collaborator

@jamesagnew jamesagnew commented Jan 26, 2018

This is a good point, that should be deleted.

It's actually a holdover from DSTU1 days.. Back then there was an operation called "tags" which could be used to retrieve and set tags. That has long since been replaced by the _tags search and the $meta operations.

@jamesagnew jamesagnew reopened this Jan 26, 2018
@angelok1
Copy link
Author

@angelok1 angelok1 commented Jan 26, 2018

If you'd like, I can remove it and do a pull request...

@jamesagnew
Copy link
Collaborator

@jamesagnew jamesagnew commented Jan 26, 2018

Ahh you know what I just beat you to it before I saw your message. I'm just running a build now.

Appreciate the offer!! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.