Team, I am using FHIR bluebutton for CMS data (Claims data) and now I want to apply sorting in FHIR data we are getting bundle of explanation of Benefit(EOB)

https://www.hl7.org/fhir/search.html#sort
I have tried passing date and status params in that _sort but still not getting sorted data and I am very much in confusion what to pass as a parameter suppose I want to sort by ClaimNumber
what to pass, please help and suggest me
You will have to use a search parameter as input for the sorting. For example sorting on last updated date descending would look like this:
GET [base]/ExplanationOfBenefit?_sort=-_lastUpdated
I'm not familiar with which field of ExplanationOfBenefit would hold the ClaimNumber you mention, but if you mean the EOB identifier, the request could be this:
GET [base]/ExplanationOfBenefit?_sort=identifier
If you use the correct syntax, success will still depend on whether the server has implemented sorting on that parameter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With