Update a communication

patch

/Communication/{ID}

Patch Operations
Path Operation Value Type
/extension replace Extension
  • Description: Replace the value of an extension.
  • Example:
    {
      "path": "/extension",
      "op": "replace",
      "value": [
        {
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/task-status",
                "code": "completed"
              }
            ]
          },
          "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/email-status"
        }
      ]
    }
  • Note: Email Status is a supported extension that can be replaced.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : CommunicationPatchBody
Type: array
Minimum Number of Items: 1
Show Source
Example:
[
  {
    "path": "/extension",
    "op": "replace",
    "value": [
      {
        "valueCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/task-status",
              "code": "completed"
            }
          ]
        },
        "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/email-status"
      }
    ]
  }
]
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK
Headers

Default Response

This operation supports the following authorization types: Example Request:
PATCH https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Communication/123
Example Response:
  Cache-Control: no-cache
  Content-Length: 0
  Content-Type: text/html
  Date: Mon, 06 Apr 2020 19:00:43 GMT
  Etag: W/"1"
  Location: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Communication/17228728
  Last-Modified: Mon, 06 Apr 2020 19:00:43 GMT
  Vary: Origin
  X-Request-Id: 11111111111111111111111111111111
The ETag response header indicates the current If-Match version to use on a subsequent update.
Back to Top