How to write expression in custom search parameter for retrieving claim resource based on diagnosis code?

P, Pioline (Cognizant) 195 Reputation points
2023-09-27T02:52:03.1833333+00:00

HI

In FHIR Claim resource, we have diagnosis property. Inside the diagnosis property --> diagnosisCodeableConcept --> code.

Now I want to create a custom search parameter to retrieve claim resources based on Code value inside diagnosis property.

What should be the value in expression property of custom search parameter?

Can you please provide the Custom search parameter for the above?

Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
149 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 22,121 Reputation points
    2023-09-29T03:35:46.53+00:00

    Hi P, Pioline (Cognizant) Thanks for reaching out. The expression should be Claim.diagnosis.diagnosisCodeableConcept.coding.code, not Claim.diagnosisCodeableConcept.code.

    The 424 Failed dependency error usually indicates that the server was unable to complete the request because it depends on another action that has failed. In this case, it could be due to the incorrect expression value. Please try with the above given expression value and see if it resolves your issue.

    Let me know incase of further queries, I would be happy to assist you.