Create a credit charge item

post

/ChargeItem/{ID}/$credit

Creates an offsetting charge item for an existing debit charge item.

Note: Only the body fields mentioned below are supported. Unsupported fields are ignored.

Authorization Types

This operation supports the following authorization types:

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
Root Schema : ChargeItemCreditBody
Type: object
Show Source
  • context
    The encounter associated with the charge item.
    Note:
    • The value must be in the form of valueReference.
    • Only one value can be defined.
    Example:
    {
      "parameter": [
        {
          "name": "context",
          "valueReference": {
            "reference": "Encounter/98255557"
          }
        }
      ]
    }
    
    
  • The parameters defined by the operation.
  • Allowed Values: [ "Parameters" ]
    The type of the FHIR resource.
  • subject
    The patient associated with the charge item.
    Note:
    • The value must be in the form of valueReference.
    • Only one value can be defined.
    Example:
    {
      "parameter": [
        {
          "name": "subject",
          "valueReference": {
            "reference": "Patient/13388355"
          }
        }
      ]
    }
    
    
  • A UUID to uniquely identify the credit operation.
    Note:
    • The value must be in the form of valueUuid.
    • Only one value can be defined.
    Example:
    {
      "parameter": [
        {
          "name": "transactionId",
          "valueUuid": "urn:uuid:aa7623a0-0c7b-11ec-82a8-0242ac130003"
        }
      ]
    }
    
    
  • The version ID of the charge item that is the target of the credit operation.
    Note:
    • The value must be in the form of valueId.
    • Only one value can be defined.
    Example:
    {
      "parameter": [
        {
          "name": "versionId",
          "valueId": "2"
        }
      ]
    }
    
    
Example:
{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "versionId",
      "valueId": "2"
    },
    {
      "name": "transactionId",
      "valueUuid": "urn:uuid:5bb8acae-0c7d-11ec-82a8-0242ac130003"
    },
    {
      "name": "subject",
      "valueReference": {
        "reference": "Patient/12782842"
      }
    },
    {
      "name": "context",
      "valueReference": {
        "reference": "Encounter/98019577"
      }
    }
  ]
}
Nested Schema : context
Type: object
The encounter associated with the charge item.
Note:
  • The value must be in the form of valueReference.
  • Only one value can be defined.
Example:
{
  "parameter": [
    {
      "name": "context",
      "valueReference": {
        "reference": "Encounter/98255557"
      }
    }
  ]
}

Show Source
Nested Schema : subject
Type: object
The patient associated with the charge item.
Note:
  • The value must be in the form of valueReference.
  • Only one value can be defined.
Example:
{
  "parameter": [
    {
      "name": "subject",
      "valueReference": {
        "reference": "Patient/13388355"
      }
    }
  ]
}

Show Source
Back to Top

Response

Supported Media Types

201 Response

Created
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/Parameters/642774
  • The Oracle troubleshooting identifier.
  • The Oracle troubleshooting identifier.

Default Response

Example Request:
POST https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/ChargeItem/292427912/$credit
Example Response:
no-cache
Content-Length: 0
Content-Type: text/html
Date: Tue, 07 Sep 2021 17:23:14 GMT
Etag: W/"0"
Location: https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/ChargeItem/2180632343
Last-Modified: Tue, 07 Sep 2021 17:25:14 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