Skip to Main Content

R4 APIs (Millennium)

Announcement

For information related to the Oracle Partner Network (OPN) Industry Healthcare Track please visit our OPN Industry Healthcare Program page.

For specific questions related to Oracle Partner Network (OPN), please contact Partner Assistance.

Millennium FHIR and non-FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com
Soarian FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com.

POST FinancialTransaction 400 Error

Tim FraczakJun 28 2024 — edited Jun 28 2024

Workflow or API calls:

Request Body:

{
 "resourceType": "Basic",
 "code": {
   "coding": [
     {
       "code": "FinancialTransaction"
     }
   ]
 },
 "identifier": [
   {
     "value": "CI-49-737-2024-06-18",
     "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": 1.05,
       "currency": "USD"
     }
   },
   {
     "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-date",
     "valueDate": "2024-06-17"
   },
   {
     "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-account-number",
     "valueString": "0002"
   },
   {
     "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/98074465"
         }
       },
       {
         "url": "amount",
         "valueMoney": {
           "value": 1.05,
           "currency": "USD"
         }
       }
     ]
   },
   {
     "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/financial-transaction-alias",
     "valueString": "0111"
   }
 ]
}

Expected Result:

The FinancialTransaction resource to be created

Actual Result:

Response

{
 "body": "{\"resourceType\":\"OperationOutcome\",\"issue\":[{\"severity\":\"error\",\"code\":\"invalid\",\"details\":{\"text\":\"Invalid request\"}}]}",
 "code": 400,
 "headers": {
   "content_type": "application/fhir+json; charset=utf-8",
   "transfer_encoding": "chunked",
   "connection": "keep-alive",
   "cache_control": "no-cache",
   "date": "Fri, 28 Jun 2024 16:40:05 GMT",
   "server": "Oracle API Gateway",
   "server_response_time": "330.985183",
   "x_download_options": "noopen",
   "x_content_type_options": "nosniff",
   "x_frame_options": "SAMEORIGIN",
   "x_xss_protection": "1; mode=block",
   "strict_transport_security": "max-age=631152000",
   "x_runtime": "0.330962",
   "vary": "Accept,Origin",
   "referrer_policy": "strict-origin-when-cross-origin",
   "x_permitted_cross_domain_policies": "none",
   "opc_request_id": "/4B3BB7A87019BBACDAC1884E7B071932/5A22CAB4C60D440874FE88488E46E33E",
   "x_request_id": "/4B3BB7A87019BBACDAC1884E7B071932+OV49_rrfS",
   "x_cache": "Error from cloudfront",
   "via": "1.1 53a1f042d35b1ad7e45dd18908041b36.cloudfront.net (CloudFront)",
   "x_amz_cf_pop": "JFK50-P5",
   "x_amz_cf_id": "PFarYcx3GSThUKzRKUZPZBW2dKw_PAlmhcwUBRJ_0lvOVHAg3tlDGw=="
 }
}

X-Request-Id:/4B3BB7A87019BBACDAC1884E7B071932+OV49_rrfS

This post has been answered by Marian Melinte-Oracle on Jul 2 2024
Jump to Answer
Comments
Post Details
Added on Jun 28 2024
1 comment
124 views