Internal service error from resource store while creating a communication

143 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

Kiranmayi Kasina

unread,
Sep 2, 2021, 9:26:54 PM9/2/21
to Cerner FHIR Developers
Hi,

I am using r4 version and trying to create a new communication using communication API posted in the below link.


I am getting "Internal service error from resource store" since a week.
Is there any issue in the API side or I might miss something in my request params?
Please help me with this.

Thanks,
Kiranmayi

Fenil Desani (Cerner)

unread,
Sep 7, 2021, 12:26:05 PM9/7/21
to Cerner FHIR Developers
Hello,

Please provide the X-Request-Id from the response header to troubleshoot further.

Thanks,
Fenil

Kiranmayi Kasina

unread,
Sep 7, 2021, 4:34:12 PM9/7/21
to Cerner FHIR Developers
Hi Fenil,

X-Request-Id is "5c877280-3738-42f1-8d8a-37ee06430ee0"

Thanks,
Kiranmayi

Fenil Desani (Cerner)

unread,
Sep 8, 2021, 10:48:15 AM9/8/21
to Cerner FHIR Developers
It looks like something is wrong with the value of sender. Can you please provide the POST body?

Kiranmayi Kasina

unread,
Sep 8, 2021, 11:07:19 AM9/8/21
to Cerner FHIR Developers
Hi Fenil,

Here is the Post Body.

{
                  "resourceType": "Communication",
                  "status": "completed",
                  "category": [
                    {
                      "coding": [
                        {
                          "system": "http://terminology.hl7.org/CodeSystem/communication-category",
                          "code": "notification"
                        }
                      ]
                    }
                  ],
                  "priority": "routine",
                  "subject": {
                    "reference": "Patient/12724069"
                  },
                  "topic": {
                    "text": "CDI Query"
                  },
                  "encounter": {
                    "reference": "Encounter/97939527"
                  },
                  "recipient": [
                    {
                      "reference": "Practitioner/12742069"
                    },
                    {
                      "reference": "Group/6345478364"
                    }
                  ],
                  "sender": {
                    "reference": "Practitioner/12742666"
                  },
                  "payload": [
                    {
                      "contentAttachment": {
                        "contentType": "text/plain",
                        "data": "VGVzdCBGcm9tIFJldmVudGljcw=="
                      }
                    }
                  ]
                }

Thanks,
Kiranmayi.

Fenil Desani (Cerner)

unread,
Sep 8, 2021, 12:06:39 PM9/8/21
to Cerner FHIR Developers
The reference group seems to be incorrect. Can you try
{
"resourceType": "Communication",
"status": "completed",
"category": [
{
"coding": [
{
"code": "notification"
}
]
}
],
"priority": "routine",
"subject": {
"reference": "Patient/12724069"
},
"topic": {
"text": "CDI Query"
},
"encounter": {
"reference": "Encounter/97939527"
},
"recipient": [
{
"reference": "Practitioner/12742069"
},
{
"reference": "Group/27218767"
}
],
"sender": {
"reference": "Practitioner/12742666"
},
"payload": [
{
"contentAttachment": {
"contentType": "text/plain",
"data": "VGVzdCBGcm9tIFJldmVudGljcw=="
}
}
]
}

Kiranmayi Kasina

unread,
Sep 8, 2021, 12:23:09 PM9/8/21
to Cerner FHIR Developers
Hi Fenil,

Same error with  "reference": "Group/27218767" also.

X-Request-Id is "95c6e3bc-2ae4-4904-b207-d8ee994e6c01"

Thanks,
Kiranmayi. 

Kiranmayi Kasina

unread,
Sep 8, 2021, 12:41:57 PM9/8/21
to Cerner FHIR Developers
Hi Fenil,

I have tried with the following Post Body and I am able to create a communication successfully.

I have switched the Sender and Receiver, also removed Group in the request and got the successful response.
Looks like Group is not mandatory, in that case can I skip Group details in my real time communication data. Please confirm.

12742666 is the Practitioner Id given for our account, but I couldn't use that Id for Sender. Can you please let me know what could be the reason? 
In real time implementation, do our app needs any valid Practitioner Id for sending any communication through FHIR.


{
"resourceType": "Communication",
"status": "completed",
"category": [
{
"coding": [
{
"code": "notification"
}
]
}
],
"priority": "routine",
"subject": {
"reference": "Patient/12724069"
},
"topic": {
"text": "CDI Query"
},
"encounter": {
"reference": "Encounter/97939527"
},
"recipient": [
{
"reference": "Practitioner/12742666"
}
],
"sender": {
"reference": "Practitioner/12742069"
},
"payload": [
{
"contentAttachment": {
"contentType": "text/plain",
"data": "VGVzdCBGcm9tIFJldmVudGljcw=="
}
}
]
}

Thanks,
Kiranmayi.

Fenil Desani (Cerner)

unread,
Sep 9, 2021, 10:22:29 AM9/9/21
to Cerner FHIR Developers
Group is not mandatory. You can either provide group or a single practitioner, or both.
Sender needs to be the user on the token for provider Apps and not your generic user.

Kevin Devine

unread,
Mar 7, 2023, 5:36:20 PM3/7/23
to Oracle Cerner FHIR Developers
I want to follow up on this as I was having his issue as well and it was when I tried using the reply-to piece.  The following throws an error:
{
    "resourceType""Communication",
    "extension": [
        {
            "valueReference": {
                "reference""Group/27218767"
            }
        }
    ],
    "status""completed",
    "category": [
        {
            "coding": [
                {
                    "system""http://terminology.hl7.org/CodeSystem/communication-category",
                    "code""notification"
                }
            ]
        }
    ],
    "priority""routine",
    "subject": {
        "reference""Patient/12724069"
    },
    "topic": {
        "text""CDI Query"
    },
    "encounter": {
        "reference""Encounter/97939527"
    },
    "recipient": [
        {
            "reference""Practitioner/12742666"
        },
        {
            "reference""Group/27218767"
        }
    ],
    "sender": {
        "reference""Practitioner/12742069"
    },
    "payload": [
        {
            "contentAttachment": {
                "contentType""text/plain",
                "data""SGVsbG8sIHRoaXMgaXMgYSB0ZXN0IGNvbW11bmljYXRpb24gZm9yIENlcm5lci4="
            }
        }
    ]
}
But, if I remove the extension part, it works.  What do I need to look at to make the reply-to work correctly?
X-Request-Id: f09c78b2-6a79-47a7-9358-afaf3122e62b+6plz_P8qj
Reply all
Reply to author
Forward
0 new messages