_text & _content
Full Text search by Narrative or Resource content
Full-text-search by resources is also at your disposal. It presents with the _text - search by narrative and _content - search by remaining the resource content.
1
GET /Patient?_text=John
Copied!
1
GET /Patient?_content=New-York
Copied!
Search results can be sorted by rank with the _score search-parameter value. More relevant results will be on top but in reversed order also supported through - prefix.
1
GET /Patient?_content=baz&_sort=-_score
Copied!

Expressions

Full-text search requests supports grouping and logical operations
1
GET /Patient?_content=(NOT bar OR baz) AND foo
Copied!
If you want to search by the phrase, just quote it
1
GET /Patient?_content="Mad Max"
Copied!
Full-text search is a difficult query for the system. To improve performance, you can omit the number of entries in the results - use _total=none. More information in _total ( _countMethod ).
Last modified 9mo ago
Copy link