From 89b17de037eaaac2266d60f8f6d8d8d0eed17c9c Mon Sep 17 00:00:00 2001 From: gered Date: Wed, 6 Aug 2014 09:47:14 -0400 Subject: [PATCH] update docs --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ae14ce..3551681 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,8 @@ returned. Optionally you can specify `:return-resource? false` to have `create` return a full URL to the newly created resource instead (this can be useful if you need the new resource's ID for example, -as the returned FHIR resource would not otherwise include this information). +as the returned FHIR resource would not otherwise include this information). You can use the +`parse-resource-url` function to parse this URL into it's discrete components. `create` will throw an exception if the resource you pass is not a Clojure map that contains a `:resourceType` key with a value that is anything other then `"Bundle"`). @@ -364,7 +365,8 @@ the newly updated resource is returned. Optionally you can specify `:return-resource? false` to return a full URL to the updated resource instead (this can be useful if you need the resource's ID/version for example, as the returned FHIR resource would not otherwise include this -information). +information). You can use the `parse-resource-url` function to parse this URL into +it's discrete components. Additionally, you can limit updates to only proceed if the latest version of the resource on the server matches a version number you specify by passing an extra