Skip to content

Commit

Permalink
Fixes #52
Browse files Browse the repository at this point in the history
Fixes #53
Fixes #61
  • Loading branch information
Bostjan Lah committed Nov 6, 2018
1 parent 8b4d9c0 commit 6ec4b8f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 26 deletions.
24 changes: 0 additions & 24 deletions REST_API/includes/composition.apib
Original file line number Diff line number Diff line change
Expand Up @@ -105,30 +105,6 @@ If the request body already contains a composition uid it must match the
...
}

+ Request minimal (application/json)

+ Body

{
"_type": "COMPOSITION",
"name": {
"_type": "DV_TEXT",
"value": "Vital Signs"
},
...
}

+ Headers

Prefer: return=minimal

+ Response 204

+ Headers

Location: {baseUrl}/ehr/{ehr_id}/composition/{version_uid}
ETag: {version_uid}

+ Request wrong type (application/json)

+ Headers
Expand Down
2 changes: 1 addition & 1 deletion REST_API/includes/ehr_status.apib
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ otherwise the latest trunk version is returned.

+ Response 404

`404 Not Found` returned when `EHR` with `ehr_id` does not exist or has been deleted or
`404 Not Found` returned when `EHR` with `ehr_id` does not exist or
a version of an `EHR_STATUS` resource does not exist at the specified `version_at_time`.

+ Body
Expand Down
1 change: 0 additions & 1 deletion REST_API/includes/overview.apib
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Throughout this specification, a set of short terms is being used as described b
|`versioned_object_uid`| The value of a VERSIONED_OBJECT unique identifier, stored under VERSIONED_OBJECT.uid.value, e.g. 8849182c-82ad-4088-a07f-48ead4180515 |
|`version_uid`| The value of a VERSION unique identifier, stored under VERSION.uid.value, e.g. 8849182c-82ad-4088-a07f-48ead4180515::example.domain.com::2 |
|`preceding_version_uid`| The value of a previous VERSION unique identifier, used usually for PUT or DELETE methods, e.g. 8849182c-82ad-4088-a07f-48ead4180515::example.domain.com::1 |
|`object_id`| A placeholder for either `versioned_object_uid` or `version_uid` identifier |
|`version_at_time`| Time specifier used to retrieve the VERSION at specified time; the value is a timestamp in the ISO8601 format (e.g. 2015-01-20T19:30:22.765+01:00) |
|`timestamp`| A timestamp in the ISO8601 format (e.g. 2015-01-20T19:30:22.765+01:00) |
|`UUID`| A universally unique identifier ([RFC 4122](https://tools.ietf.org/html/rfc4122)) (e.g. 8849182c-82ad-4088-a07f-48ead4180515)
Expand Down

0 comments on commit 6ec4b8f

Please sign in to comment.