Patch a slot

patch

/Slot/{ID}

Patches an existing slot.

Note:

  • This implementation follows the JSON PATCH specification.
  • Only operations on the paths listed below are supported.

Authorization Types

This operation supports the following authorization types:

Patch Operations

Path Operation Value Type
/status replace code
  • Description: The status of the slot.
  • Example:
    {
      "op": "replace",
      "path": "/status"
      "status": "free"
    }
  • Note: Only free and busy-tentative are supported.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
The body of the patch operation
Root Schema : SlotPatch
Type: array
Minimum Number of Items: 1
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Example Request:
PATCH https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Slot/4047611-32216049-61518614-0
Example Request Body:
[
    {
      'op': 'replace',
      'path': '/status',
      'value': 'busy-tentative'
    }
  ]
Example Response:
  Cache-Control: no-cache
  Content-Length: 20
  Content-Type: text/html
  Date: Tue, 06 Apr 2021 15:36:47 GMT
  Etag: W/"410v795030969834"
  Last-Modified: Tue, 06 Apr 2021 15:36:47 GMT
  Vary: Origin
  X-Request-Id: 11111111-1111-1111-1111-111111111111
  opc-request-id: /11111111111111111111111111111111/11111111111111111111111111111111
The ETag response header indicates the current If-Match version to use on a subsequent update.
Headers
  • For Update or Patch versioning controls. Related to If-Match. When a resource performs an operation that creates or updates a record, an Etag value is returned as a header. This same value should be included in request headers as an If-Match for any subsequent update to that record.
  • For Update or Patch versioning controls. Related to Etag. When a resource performs an operation that creates or updates a record, an Etag value is returned as a header. This same value should be included in request headers as an If-Match for any subsequent update to that record.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the X-Request-Id, if present.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the opc-Request-Id, if present.
Back to Top