From 16b52e631682c6a0a78c932811c15496d12d0e2f Mon Sep 17 00:00:00 2001 From: gered Date: Tue, 26 Aug 2014 13:51:01 -0400 Subject: [PATCH] search requests now always use the optional "_search" url --- src/clj_hl7_fhir/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj_hl7_fhir/core.clj b/src/clj_hl7_fhir/core.clj index 0c649cb..0566ee9 100644 --- a/src/clj_hl7_fhir/core.clj +++ b/src/clj_hl7_fhir/core.clj @@ -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)