Get a list of accounts
/Account/
Retrieves a list of accounts that meet supplied query parameters.
Note:
- The
account-balance
extension is only returned onstatement
,guarantor-balance
, andinsurance-benefit
types. Account.subject
is only returned onstatement
andfinancial-account
types.- You may search with one of the following parameters:
-
_id
-
-encounter
andtype=guarantor-balance
-
patient
,identifier
, andtype=statement
-
-guarantor
andtype=financial-account
Authorization Types
This operation supports the following authorization types:
Request
-
-encounter: string
The logical resource ID of the clinical encounter.
Example:
-encounter=98028029
-
-guarantor: string
The parties responsible for balancing the account. This parmeter should contain a reference to a related person.
Example:
-guarantor=6330015-6330017
-
_count: integer
The maximum number of results to return.
Example:
_count=15
Default Value:10
-
_id: array[string]
Minimum Number of Items:
1
The logical resource ID associated with the resource.
Example:
_id=12345
-
identifier: string
The alias of the account. The system must be
https://fhir.cerner.com/<EHR_source_id>/statement-number
.Example:
identifier=https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/statement-number|500000078
-
patient: string
The entity that caused the expenses.
Example:
patient=Patient/12345
-
type: string
The specific type of account.
Example:
type=financial-account
-
authorization(required): string
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
Response
- application/fhir+json
200 Response
OK
-
X-Request-Id: string
Oracle troubleshooting identifier.
-
opc-request-id: string
Oracle troubleshooting identifier.
{
"resourceType":"Bundle",
"id":"43d52c34-385f-4871-889d-f974b2422fab",
"type":"searchset",
"total":"1",
"link":[
{
"relation":"self",
"url":"https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account?patient=6330017&identifier=https%3A%2F%2Ffhir.cerner.com%2Fec2458f2-1e24-41c8-b71b-0e701af7583d%2FcodeSet%2F28200%7C68002&type=statement"
}
],
"entry":[
{
"fullUrl":"https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account/S2580833",
"resource":{
"resourceType":"Account",
"id":"S2580833",
"text":{
"status":"generated",
"div":"<div xmlns=\\"http://www.w3.org/1999/xhtml\\"><p><b>Account</b></p><p><b>Account Type</b>: statement</p><p><b>Service Period Start Date</b>: Aug 13, 2019 3:01 P.M. UTC</p><p><b>Statement Number</b>: 68002</p><p><b>Guarantor</b>: 6330015-6330017</p></div>"
},
"extension":[
{
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/account-balance",
"valueMoney":{
"value":"2000.00",
"currency":"USD"
}
},
{
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/account-state",
"valueCodeableConcept":{
"coding":[
{
"system":"https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/4002640",
"code":"20752989",
"display":"Pending",
"userSelected":true
}
],
"text":"Pending"
}
},
{
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/account-related-parts",
"valueReference":{
"reference":"Account/G2572738"
}
}
],
"identifier":[
{
"use":"usual",
"system":"https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/statement-number",
"value":"68002"
}
],
"status":"active",
"type":{
"text":"statement"
},
"subject":[
{
"reference":"Patient/6330017"
}
],
"servicePeriod":{
"start":"2019-08-13T15:01:17Z"
},
"owner":{
"reference":"Organization/1259855"
},
"guarantor":[
{
"party":{
"reference":"RelatedPerson/6330015-6330017"
}
}
]
}
}
]
}
Default Response
-
Etag: string
For Update or Patch versioning controls. Related to
If-Match
. When a resource performs an operation that creates or updates a record, anEtag
value is returned as a header. This same value should be included in request headers as anIf-Match
for any subsequent update to that record. -
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.
object
-
issue(required):
array issue
-
resourceType(required):
string
Allowed Values:
[ "OperationOutcome" ]