Create a communication

post

/Communication

Creates a new communication.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : CommunicationCreateBody
Type: object
Show Source
  • category
    A codeable definition of the communication type.
    Note: Only CommunicationCategory values of notification and reminder and SNOMED CT 312853008 are supported.
    Example:
    {
      "category": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/communication-category",
              "code": "notification"
            }
          ]
        }
      ]
    }
    
  • encounter
    The encounter associated with the communication.
    Note: Subject is required when writing an encounter.
    Example:
    {
      "encounter" : {
        "reference" : "Encounter/89363836"
      }
    }
    
  • The text of the communication.
    Note:
    • Content must be supplied as a contentAttachment with contentType and data defined.
    • contentType can be set to:
      • application/xhtml+xml
      • text/plain
    • contentType can contain a charset set to:
      • utf-8
      • us-ascii
    • data should be base64 encoded.
    • If the contentType is application/xhtml+xml, then the data (when decoded) should at least contain the following:
    Example:
    {
      "payload" : [
        {
          "contentAttachment" : {
            "contentType" : "application/xhtml+xml",
            "data" : "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIKImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25hbC5kdGQiPjxodG1sPjxib2R5PjwvYm9keT48L2h0bWw+"
          }
        }
      ]
    }
    
  • The priority of the communication.
    Note: Only routine and urgent priorities are supported.
    Example:
    {
      "priority": "routine"
    }
  • The entity receiving the communication.
    Note: Each recipient must be a practitioner or group.
    Example:
    {
      "recipient": [
        {
          "reference" : "Practitioner/6373634"
        },
        {
          "reference" : "Group/44466678"
        }
      ]
    }
    
  • reply-to
    The entity that replies are directed to.
    Note: The reply-to must be a group.
    Example:
    {
      "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/reply-to",
      "valueReference": {
        "reference": "Group/123"
      }
    }
    
  • Allowed Values: [ "Communication" ]
    The type of the FHIR resource.
  • sender
    The entity sending the communication.
    Note: The sender must be a practitioner.
    Example:
    {
      "sender": {
        "reference": "Practitioner/631923"
      }
    }
    
  • The status of the communication.
    Note: All communications must be in completed status.
    Example:
    {
      "status": "completed"
    }
  • subject
    The patient that is the focus of the communication.
    Note: Only Patient is supported as the subject.
    Example:
    {
      "subject": {
        "reference": "Patient/9836548"
      }
    }
    
  • The topic of the communication, similar to the subject field of an email.
    Note: Currently, only free-text topics are supported.
    Example:
    {
      "topic" : {
         "text": "Patient Consult Request"
      }
    }
    
Example:
{
  "resourceType": "Communication",
  "extension": [
    {
      "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/reply-to",
      "valueReference": {
        "reference": "Group/6345478364"
      }
    }
  ],
  "status": "completed",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/communication-category",
          "code": "reminder"
        }
      ]
    }
  ],
  "priority": "urgent",
  "subject": {
    "reference": "Patient/12457978"
  },
  "topic": {
    "text": "CDI Query"
  },
  "encounter": {
    "reference": "Encounter/97697401"
  },
  "recipient": [
    {
      "reference": "Practitioner/744113"
    },
    {
      "reference": "Group/6345478364"
    }
  ],
  "sender": {
    "reference": "Practitioner/593923"
  },
  "payload": [
    {
      "contentAttachment": {
        "contentType": "text/plain",
        "data": "Q29tbXVuaWNhdGlvbg=="
      }
    }
  ]
}
Nested Schema : category
Type: object
A codeable definition of the communication type.
Note: Only CommunicationCategory values of notification and reminder and SNOMED CT 312853008 are supported.
Example:
{
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/communication-category",
          "code": "notification"
        }
      ]
    }
  ]
}
Show Source
Nested Schema : encounter
Type: object
The encounter associated with the communication.
Note: Subject is required when writing an encounter.
Example:
{
  "encounter" : {
    "reference" : "Encounter/89363836"
  }
}
Show Source
Nested Schema : reply-to
Type: object
The entity that replies are directed to.
Note: The reply-to must be a group.
Example:
{
  "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/reply-to",
  "valueReference": {
    "reference": "Group/123"
  }
}
Show Source
Nested Schema : sender
Type: object
The entity sending the communication.
Note: The sender must be a practitioner.
Example:
{
  "sender": {
    "reference": "Practitioner/631923"
  }
}
Show Source
Nested Schema : subject
Type: object
The patient that is the focus of the communication.
Note: Only Patient is supported as the subject.
Example:
{
  "subject": {
    "reference": "Patient/9836548"
  }
}
Show Source
Nested Schema : coding
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

OK
Headers
  • 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.
  • The URL location of the created entity.
    Example:
    https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Communication/642774
  • Oracle troubleshooting identifier.
  • Oracle troubleshooting identifier.

Default Response

This operation supports the following authorization types: Example Request:
POST https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Communication
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