search requests now always use the optional "_search" url

This commit is contained in:
Gered 2014-08-26 13:51:01 -04:00
parent 08a07dadc2
commit 16b52e6316

View file

@ -359,7 +359,7 @@
search: http://hl7.org/implement/standards/fhir/http.html#search"
[base-url type where & params]
(let [resource-name (->fhir-resource-name type)
url-components ["/" resource-name]]
url-components ["/" resource-name "/_search"]]
(fhir-request :get
base-url
(apply join-paths url-components)