Stream: CARIN IG for Blue Button®
Topic: SearchParameter "explanationofbenefit-service-date" issue
Fred Harmon (Sep 16 2020 at 13:09):
Hello,
I am trying to import the search parameters I downloaded from here (http://build.fhir.org/ig/HL7/carin-bb/downloads.html) into my local system. I get an error when processing this resource - "id": "explanationofbenefit-service-date".
I noticed that the "xpath" element is different than any other SearchParameter I've seen in either CARIN or US Core. It seems to use "|" characters to try and overload multiple different possible xpaths.
"xpath": "f:ExplanationOfBenefit/f:billablePeriod | f:ExplanationOfBenefit/f:serviced/f:servicedDate | f:ExplanationOfBenefit/f:serviced/f:servicedPeriod",
I looked into the definition of SearchParameter to see if this was allowed if my system should be able to handle this structure but I didn't see any mention of this being allowed (https://www.hl7.org/fhir/searchparameter-definitions.html).
I can work around this by picking one of those 3 items in the xpath and removing the other 2 but clearly the authors wanted you to be able to find the service date in multiple locations.
Is this going to be changed?
Thanks
Fred
Michele Mottini (Sep 16 2020 at 13:14):
That's a valid XPath - maybe a problem in the software you are using to import the definition?
Fred Harmon (Sep 16 2020 at 13:20):
OK, thanks. That was what I wanted to verify that the import software should be able to handle that.
Daniel Venton (Sep 16 2020 at 18:09):
Perhaps your software isn't handling it because even though it is a valid XPath, the schema doesn't actually define those attributes. EOB.serviced[x]
Michele Mottini (Sep 16 2020 at 18:20):
Yes, indeed, did not even notice that. I think it should be f:ExplanationOfBenefit/f:billablePeriod | f:ExplanationOfBenefit/f:item/f:servicedDate | f:ExplanationOfBenefit/f:item/f:servicedPeriod
(?)
Michele Mottini (Sep 16 2020 at 18:47):
Created https://jira.hl7.org/browse/FHIR-28555
Last updated: Apr 12 2022 at 19:14 UTC