Get an account by ID
get
/Account/{id}
Retrieves an account by the associated ID.
Authorization Types
This operation supports the following authorization types:
Request
Path Parameters
-
id(required): string
The logical resource ID.
Header Parameters
-
authorization(required): string
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
Response
Supported Media Types
- application/fhir+json
200 Response
OK
Headers
-
X-Request-Id: string
Oracle troubleshooting identifier.
-
opc-request-id: string
Oracle troubleshooting identifier.
Example Response (application/fhir+json)
{
"resourceType":"Account",
"id":"G2572738",
"text":{
"status":"generated",
"div":"<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Account</b></p><p><b>Account Type</b>: guarantor-balance</p><p><b>Service Period Start Date</b>: Aug 5, 2019 5:00 A.M. UTC</p><p><b>Service Period End Date</b>: Aug 6, 2019 4:59 A.M. UTC</p></div>"
},
"extension":[
{
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/account-balance",
"valueMoney":{
"value":"1250.00",
"currency":"USD"
}
},
{
"valueReference":{
"reference":"Encounter/98028029"
},
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/associated-encounter"
},
{
"url":"https://fhir-ehr.cerner.com/r4/StructureDefinition/account-state",
"valueCodeableConcept":{
"coding":[
{
"system":"https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/24451",
"code":"629234",
"display":"Ready to bill",
"userSelected":true
}
],
"text":"Ready to bill"
}
}
],
"status":"active",
"type":{
"text":"guarantor-balance"
},
"servicePeriod":{
"start":"2019-08-05T05:00:00Z",
"end":"2019-08-06T04:59:59Z"
},
"partOf":{
"reference":"Account/F1131724"
}
}
Default Response
An OperationOutcome
describing any error that occurred.
Headers
-
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.
Root Schema : schema
Type:
Show Source
object
-
issue(required):
array issue
-
resourceType(required):
string
Allowed Values:
[ "OperationOutcome" ]