FinancialTransaction
Overview
The FinancialTransaction resource provides the ability to record and exchange financial payment and adjustment information related to patient healthcare services. This is a custom resource implemented via extensions on the Basic resource.
Terminology Bindings
Basic.extension[x].valueCodeableConcept |
|
Basic.extension[x].valueCodeableConcept |
|
Basic.extension[x].valueMoney.currency |
|
Basic.extension[x].valueMoney.currency |
|
Basic.extension[x].extension[x].valueMoney.currency |
|
Extensions
- Financial Transaction Account Number
- Financial Transaction Alias
- Financial Transaction Allocation
- Financial Transaction Amount
- Financial Transaction Card Brand
- Financial Transaction Date
- Financial Transaction Location
- Financial Transaction Method
- Financial Transaction Tendered Amount
- Financial Transaction Type
Custom Extensions
All URLs for custom extensions are defined as https://fhir-ehr.cerner.com/r4/StructureDefinition/{id}
ID | Value[x] Type | Description |
---|---|---|
financial-transaction-account-number |
string |
A value associated to the specific payment method usually represented as the last four digits of a credit card, the check number, the EFT number or Lockbox number. |
financial-transaction-alias |
string |
Client defined value to represent the combination of the type, subtype, and reason describing the financial transaction. |
financial-transaction-allocation |
None (contains nested extensions) | Defines how the payment or adjustment is to be allocated across other resources. |
financial-transaction-amount |
Money |
The total amount of the financial transaction. |
financial-transaction-card-brand |
string |
Identifies the brand of credit card when credit card is used as a payment method. |
financial-transaction-date |
date |
Represents the expiration date if method is card or check date if method is check. |
financial-transaction-location |
string |
Client configured value representing the location or workflow that the payment was received in. |
financial-transaction-method |
string |
Describes the method of payment for the financial transaction. |
financial-transaction-tendered-amount |
Money |
The amount of cash originally tendered for payment. This value should be greater than or equal to the amount of the cash payment. |
financial-transaction-type |
CodeableConcept |
The classification of the transaction. |
Create
Create a FinancialTransaction.
POST /Basic
Implementation Notes
- Only the body fields mentioned below are supported.
- When integrating your application with a client’s environment, the client will have to provide the appropriate financial-transaction-alias values to send with the financial transaction.
- Cerner’s Revenue Cycle Patient Accounting application must be in use at a client site in order to create meaningful FinancialTransactions.
- When creating FinancialTransactions, a Basic OAuth2 token scope is required in addition to a FinancialTransaction Oauth2 token scope.
Authorization Types
Headers
Authorization: <OAuth2 Bearer Token>
Content-Type: application/fhir+json
Body Fields
Name | Required | Type | |
---|---|---|---|
resourceType
|
Yes |
string |
|
|
|||
identifier
|
Yes |
List of Identifier |
|
|
|||
code
|
Yes |
CodeableConcept |
|
|
|||
FinancialTransaction Type Extension
|
Yes |
CodeableConcept |
|
|
|||
FinancialTransaction Alias Extension
|
Yes |
string |
|
|
|||
FinancialTransaction Location Extension
|
No |
string |
|
|
|||
FinancialTransaction Method Extension
|
Yes |
CodeableConcept |
|
|
|||
FinancialTransaction Card Brand Extension
|
Yes |
string |
|
|
|||
FinancialTransaction Account Number Extension
|
Yes |
string |
|
|
|||
FinancialTransaction Date Extension
|
Yes |
date |
|
|
|||
FinancialTransaction Tendered Amount Extension
|
Yes |
Money |
|
|
|||
FinancialTransaction Amount Extension
|
Yes |
Money |
|
|
|||
FinancialTransaction Allocation Extension
|
Yes |
Extension |
|
|
|||
FinancialTransaction Allocation Target Extension
|
Yes |
Extension |
|
|
|||
FinancialTransaction Allocation Amount Extension
|
Yes |
Money |
|
|
Example - Cash Payment
Request
POST /Basic
Body
{
"resourceType": "Basic",
"code": {
"coding": [
{
"code": "FinancialTransaction"
}
]
},
"identifier": [
{
"value": "14266754",
"use": "usual"
}
],
"extension": [
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-type",
"valueCodeableConcept": {
"coding": [
{
"code": "payment",
"system": "http://terminology.hl7.org/CodeSystem/payment-type"
}
]
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-method",
"valueCodeableConcept": {
"coding": [
{
"code": "CASH",
"display": "Cash",
"system": "http://terminology.hl7.org/CodeSystem/v2-0570"
}
],
"text": "Cash"
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-tendered-amount",
"valueMoney": {
"value": 12.0,
"currency": "USD"
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-allocation",
"extension": [
{
"url": "target",
"valueReference": {
"reference": "Account/G63392574"
}
},
{
"url": "amount",
"valueMoney": {
"value": 12.0,
"currency": "USD"
}
}
]
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-alias",
"valueString": "0111"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-location",
"valueString": "98920358"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-amount",
"valueMoney": {
"value": 12.0,
"currency": "USD"
}
}
]
}
Response
Status: 201 Created
Cache-Control: no-cache Content-Length: 0 Content-Type: application/fhir+json Date: Mon, 04 Nov 2019 16:23:57 GMT Etag: W/"0" Last-Modified: Mon, 04 Nov 2019 16:23:57 GMT Location: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Basic/FT-PL-14266754 Vary: Origin X-Request-Id: 1638e30e497b93ff4383b2ff0eaeea68
Note: The examples provided here are non-normative and replaying them in the public sandbox is not guaranteed to yield the results shown on the site.
Example - Card Payment
Request
POST /Basic
Body
{
"resourceType": "Basic",
"code": {
"coding": [
{
"code": "FinancialTransaction"
}
]
},
"identifier": [
{
"value": "74389581",
"use": "usual"
}
],
"extension": [
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-type",
"valueCodeableConcept": {
"coding": [
{
"code": "payment",
"system": "http://terminology.hl7.org/CodeSystem/payment-type"
}
]
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-method",
"valueCodeableConcept": {
"coding": [
{
"code": "CCCA",
"display": "Credit Card",
"system": "http://terminology.hl7.org/CodeSystem/v2-0570"
}
],
"text": "Credit Card"
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-amount",
"valueMoney": {
"value": 12.0,
"currency": "USD"
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-date",
"valueDate": "2005-01"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-account-number",
"valueString": "4321"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-card-brand",
"valueString": "visa"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-allocation",
"extension": [
{
"url": "target",
"valueReference": {
"reference": "Encounter/97953536"
}
},
{
"url": "amount",
"valueMoney": {
"value": 12.0,
"currency": "USD"
}
}
]
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-alias",
"valueString": "0111"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-location",
"valueString": "98920358"
}
]
}
Response
Status: 201 Created
Cache-Control: no-cache Content-Length: 0 Content-Type: application/fhir+json Date: Mon, 04 Nov 2019 16:23:59 GMT Etag: W/"0" Last-Modified: Mon, 04 Nov 2019 16:23:59 GMT Location: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Basic/FT-PL-74389581 Vary: Origin X-Request-Id: 1638e30e497b93ff4383b2ff0eaeea69
Note: The examples provided here are non-normative and replaying them in the public sandbox is not guaranteed to yield the results shown on the site.
Example - Check Payment
Request
POST /Basic
Body
{
"resourceType": "Basic",
"code": {
"coding": [
{
"code": "FinancialTransaction"
}
]
},
"identifier": [
{
"value": "3335800133",
"use": "usual"
}
],
"extension": [
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-type",
"valueCodeableConcept": {
"coding": [
{
"code": "payment",
"system": "http://terminology.hl7.org/CodeSystem/payment-type"
}
]
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-method",
"valueCodeableConcept": {
"coding": [
{
"code": "CCHK",
"display": "Check",
"system": "http://terminology.hl7.org/CodeSystem/v2-0570"
}
],
"text": "Check"
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-date",
"valueDate": "2020-01-02"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-account-number",
"valueString": "1234"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-allocation",
"extension": [
{
"url": "target",
"valueReference": {
"reference": "Encounter/97953536"
}
},
{
"url": "amount",
"valueMoney": {
"value": 12.12,
"currency": "USD"
}
}
]
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-alias",
"valueString": "0111"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-location",
"valueString": "98920358"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-amount",
"valueMoney": {
"value": 12.12,
"currency": "USD"
}
}
]
}
Response
Status: 201 Created
Cache-Control: no-cache Content-Length: 0 Content-Type: application/fhir+json Date: Mon, 04 Nov 2019 16:23:58 GMT Etag: W/"0" Last-Modified: Mon, 04 Nov 2019 16:23:58 GMT Location: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Basic/FT-PL-3335800133 Vary: Origin X-Request-Id: 1638e30e497b93ff4383b2ff0eaeea70
Note: The examples provided here are non-normative and replaying them in the public sandbox is not guaranteed to yield the results shown on the site.
Example - Adjustment
Request
POST /Basic
Body
{
"resourceType": "Basic",
"code": {
"coding": [
{
"code": "FinancialTransaction"
}
]
},
"identifier": [
{
"value": "3353423432432232",
"use": "usual"
}
],
"extension": [
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-type",
"valueCodeableConcept": {
"coding": [
{
"code": "adjustment",
"system": "http://terminology.hl7.org/CodeSystem/payment-type"
}
]
}
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-allocation",
"extension": [
{
"url": "target",
"valueReference": {
"reference": "Encounter/97953536"
}
},
{
"url": "amount",
"valueMoney": {
"value": 1.0,
"currency": "USD"
}
}
]
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-alias",
"valueString": "3100"
},
{
"url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-amount",
"valueMoney": {
"value": 1.0,
"currency": "USD"
}
}
]
}
Response
Status: 201 Created
Cache-Control: no-cache Content-Length: 0 Content-Type: application/fhir+json Date: Mon, 04 Nov 2019 16:23:58 GMT Etag: W/"0" Last-Modified: Mon, 04 Nov 2019 16:23:58 GMT Location: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Basic/FT-AL-3335800133 Vary: Origin X-Request-Id: 1638e30e497b93ff4383b2ff0eaeea70
Note: The examples provided here are non-normative and replaying them in the public sandbox is not guaranteed to yield the results shown on the site.
Errors
The common errors and OperationOutcomes may be returned.