update doc comments
This commit is contained in:
parent
6ead967447
commit
68480a3ca0
|
@ -271,8 +271,8 @@
|
|||
(search base-url type where params)))
|
||||
|
||||
(defn create
|
||||
"creates a new resource. returns the created resource if successful, throws an exception
|
||||
otherwise.
|
||||
"creates a new resource. returns the created resource if successful and the server response
|
||||
contained a 'Location' header, otherwise returns nil. throws an exception otherwise.
|
||||
|
||||
reference:
|
||||
create: http://hl7.org/implement/standards/fhir/http.html#create"
|
||||
|
@ -285,6 +285,12 @@
|
|||
:body resource)))
|
||||
|
||||
(defn update
|
||||
"updates an existing resource. returns the updated resource if successful and the server
|
||||
response contained a 'Location' header, otherwise returns nil. throws an exception if
|
||||
an error response was received.
|
||||
|
||||
reference:
|
||||
update: http://hl7.org/implement/standards/fhir/http.html#update"
|
||||
[base-url type id resource & {:keys [version]}]
|
||||
(let [resource-name (->fhir-resource-name type)
|
||||
uri-components (if version
|
||||
|
|
Reference in a new issue