Getting 500 Internal Server Error on Cash payment

171 views
Skip to first unread message

Magesh Swaminathan

unread,
May 11, 2020, 7:00:02 AM5/11/20
to Cerner FHIR Developers
Hi,

Getting a 500 internal server error on Cash payment. My sample RequestId is Q13663090361572472025.

Please help.

Thanks,
Magesh.S

Benjamin Eichhorn (Cerner)

unread,
May 11, 2020, 9:21:20 AM5/11/20
to Cerner FHIR Developers
Hi Magesh,

It looks like you're using the open endpoint. We don't support any writes or updates on our open endpoint, only reads. If, after switching to the secure endpoint, you encounter additional issues, provide us with the POST body you are providing to the server as well? That will help us debug the issue you are experiencing.

Thanks,
Ben (Cerner)

Magesh Swaminathan

unread,
May 11, 2020, 10:59:22 AM5/11/20
to Cerner FHIR Developers
Hi Ben,

I had given write permission and below is the request 

{
  "resourceType": "Basic",
  "extension": [
    {
      "valueCodeableConcept": {
        "coding": [
          {
            "code": "payment"
          }
        ]
      }
    },
    {
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0570",
            "code": "CASH",
            "display": "Cash"
          }
        ],
        "text": "Cash"
      }
    },

    {
      "valueExtension": {
        "extension": [
          {
            "url": "amount",
            "valueMoney": {
              "value": 5000,
              "currency": "USD"
            }
          }
        ],
        "url": "target",
        "valueReference": {
          "reference": "Encounter/4723909"
        }
      }
    },
    {
      "valueString": "1000"
    },
    {
      "valueString": "42074649"
    },
    {
      "valueMoney": {
        "value": "5000",
        "currency": "USD"
      }
    }
  ],
  "identifier": [
    {
      "use": "usual",
      "value": "666"
    }
  ],
  "code": {
    "coding": [
      {
        "code": "FinancialTransaction"
      }
    ]
  }
}

Thanks,
Magesh.S

Benjamin Eichhorn (Cerner)

unread,
May 11, 2020, 2:14:07 PM5/11/20
to Cerner FHIR Developers
Hi Magesh,

As mentioned, make the request on the closed endpoint. If you are still seeing issues let us know.

Thanks,
Ben (Cerner)

Max Philips (Cerner)

unread,
May 11, 2020, 2:22:49 PM5/11/20
to Cerner FHIR Developers
Information about Cerner's secure (closed) sandbox is available here: http://fhir.cerner.com/millennium/r4/#secure-sandbox

Thanks,
Max (Cerner)

Magesh Swaminathan

unread,
May 12, 2020, 3:57:34 AM5/12/20
to Cerner FHIR Developers
Hi Ben,

Thanks. As you said made a request to the close endpoint https://fhir-ehr.sandboxcerner.com/r4/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Basic with the token

XRequestId: Q13663090361566699999. Also attached the request made (paymentrequest.txt)

getting the response {"resourceType":"OperationOutcome","issue":[{"severity":"fatal","code":"exception","details":{"text":"Internal server error"}}]}

I am getting the 500 Internal Server Error. Need your help.


Thanks,
Magesh.S
paymentrequest.txt

Magesh Swaminathan

unread,
May 13, 2020, 12:50:41 AM5/13/20
to Cerner FHIR Developers
Hi ,

I am still getting the 500 Internal Server Error. Need your help

Thanks. As you said made a request to the close endpoint https://fhir-ehr.sandboxcerner.com/r4/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Basic with the token

XRequestId: Q13663090361566699999. Also attached the request made (paymentrequest.txt)

getting the response {"resourceType":"OperationOutcome","issue":[{"severity":"fatal","code":"exception","details":{"text":"Internal server error"}}]}

Thanks,
Magesh.S

On Monday, May 11, 2020 at 4:30:02 PM UTC+5:30, Magesh Swaminathan wrote:
paymentrequest.txt

Max Philips (Cerner)

unread,
May 13, 2020, 10:01:38 AM5/13/20
to Cerner FHIR Developers
Hi Magesh.S,

We are continuing to look into this issue today.

Thanks,
Max (Cerner)

Keifer Laverty (Cerner)

unread,
May 13, 2020, 11:54:28 AM5/13/20
to Cerner FHIR Developers
Hello Magesh, 
 
Please ensure the financial-transaction-allocation extension is valid per https://fhir.cerner.com/millennium/r4/financial/financial-transaction/#body-fields
 
We've logged a task to improve our error messaging in this error scenario you ran into.
 

Thanks,
 
Keifer (Cerner)

Magesh Swaminathan

unread,
May 14, 2020, 3:53:17 AM5/14/20
to 'Keifer Laverty (Cerner)' via Cerner FHIR Developers
Hi Keifer,

Thanks and i will double check before submitting the request. I had corrected my request and submitted and now i am getting the error message 422 Unprocessable Entity
I had validated the request syntax also with the sample multiple times. But couldn't find the reason for the error.
The xrequestid is Q13663090361572479999. Attached the request file CashPaymentFHIRRequest.txt

  Need your help please.  

Thanks,
Magesh.S




--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/a17b9172-c198-49ad-bb5b-b05d1a25e191%40googlegroups.com.
CashPaymentFHIRRequest.txt

Magesh Swaminathan

unread,
May 14, 2020, 11:58:13 PM5/14/20
to Cerner FHIR Developers
Hi,

Thanks and i will double check before submitting the request. I had corrected my request and submitted and now i am getting the error message 422 Unprocessable Entity
I had validated the request syntax also with the sample multiple times. But couldn't find the reason for the error.
The xrequestid is Q13663090361572479999. Attached the request file CashPaymentFHIRRequest.txt

  Need your help please.  

Thanks,
Magesh.S
CashPaymentFHIRRequest.txt

Keifer Laverty (Cerner)

unread,
May 15, 2020, 1:53:20 PM5/15/20
to Cerner FHIR Developers
Hello Magesh,

We are looking into this issue today.

Thanks,

Keifer (Cerner)

Magesh Swaminathan

unread,
May 18, 2020, 10:31:24 AM5/18/20
to 'Keifer Laverty (Cerner)' via Cerner FHIR Developers
Hi Keifer,

Need your help regrading the issue posted please.

Thanks,
Magesh.S

--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.

Keifer Laverty (Cerner)

unread,
May 19, 2020, 2:09:43 PM5/19/20
to Cerner FHIR Developers
Hello Magesh,

Sorry for the delayed response, the 422 you are receiving is due to an invalid location id. Unfortunately, we do not currently have any location ids available to test with in this domain. However, location is an optional field so you should be able to continue by removing the location extension from your request.
 
We are working to build out some test locations, when they are available to test with we will let you know.

Thanks,

Keifer (Cerner)
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-developers+unsub...@googlegroups.com.

Keifer Laverty (Cerner)

unread,
May 19, 2020, 7:21:24 PM5/19/20
to Cerner FHIR Developers
Hey Magesh,

Here are some location ids that should be available for use now:
  • 4406502
  • 4406503

Thanks,

Keifer (Cerner)

Magesh Swaminathan

unread,
May 21, 2020, 5:56:52 AM5/21/20
to Cerner FHIR Developers
Hi Keifer,

Tried by changing the location to the id's mentioned. Then also got the same 422 Unprocessable Entity 

Also removed the location and posted the request and got the same 422 Unprocessable Entity.

The xrequestid is Q13663090361572479998. Please Need you help in solving this issue

Thanks,
Magesh.S
FHIR_CashPayment.txt

Keifer Laverty (Cerner)

unread,
May 21, 2020, 3:04:55 PM5/21/20
to Cerner FHIR Developers
Hey Magesh,

You are receiving this error because the identifier value of '667' is not unique and is therefore invalid. Updating this value to a new unique value should solve this issue.

Thanks,

Keifer (Cerner)

Magesh Swaminathan

unread,
May 24, 2020, 8:57:56 AM5/24/20
to 'Keifer Laverty (Cerner)' via Cerner FHIR Developers
Hi Keifer,

Thanks for your help. It worked. Great,

image.png

Thanks,
Magesh.S

Hello Magesh,

To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/7c320d2a-4dae-45e0-a071-575df0c771b9%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages