Patch an encounter by ID
patch
/Encounter/{ID}
Patch Operations
Path | Operation | Value Type | |
---|---|---|---|
/period/start
|
replace |
dateTime
|
|
|
|||
/period/end
|
replace |
dateTime
|
|
|
|||
/type
|
replace |
List of
CodeableConcept
|
|
|
|||
/extension
|
replace |
List of
Extension
|
|
|
|||
/extension/-
|
add |
Single
Extension
|
|
|
Request
Supported Media Types
- application/fhir+json
Path Parameters
-
ID(required): string
The logical resource ID associated with the resource.
Header Parameters
-
If-Match(required): string
-
accept(required): string
The media type to be requested. See what the resource's operation produces for what is supported.
Nested Schema : items
Type:
Show Source
object
-
op(required):
string
Allowed Values:
[ "replace", "add" ]
-
path(required):
string
-
value:
string
Response
Supported Media Types
- application/json-patch+json
200 Response
Example Request:
PATCH https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Encounter/97939518
Example Response:
Cache-Control: no-cache
Content-Length: 0
Content-Type: text/html
Date: Tue, 26 Mar 2019 15:42:29 GMT
Etag: W/"10"
Last-Modified: Tue, 26 Mar 2019 15:42:27 GMT
Vary: Origin
X-Request-Id: 11111111111111111111111111111111
The ETag response header includes the current If-Match version to use on a subsequent update.
Headers
-
ETag: string
The identifier for a specific version of a resource. This identifier is formatted as
W/"
and used to specify the" If-Match
header value on subsequent updates. -
X-Request-Id: string
The Oracle troubleshooting identifier.
-
opc-request-id: string
The Oracle troubleshooting identifier.