Stream: argonaut
Topic: Search parameters canonical URL
Michele Mottini (Jul 16 2020 at 19:29):
So our server is failing an Inferno test, it complains that the search parameter canonical URLs like http://hl7.org/fhir/SearchParameter/AllergyIntolerance-date
do not resolve - that is indeed the case, but what are the correct URLs then?
Michele Mottini (Jul 16 2020 at 19:30):
@Reece Adamson ?
Josh Mandel (Jul 16 2020 at 20:20):
Technically I think this might be clincal-date
-- a generic search parameter.
Josh Mandel (Jul 16 2020 at 20:22):
The full URL is http://hl7.org/fhir/SearchParameter/clinical-date
(I know this from here) but it also... doesn't resolve at HL7.org.
Josh Mandel (Jul 16 2020 at 20:23):
... but assuming Inferno is resolving canonical URLs against published FHIR packages (rather than against the HL7 web site), that should be OK. Like, my makeshift resolution process is:
Josh Mandel (Jul 16 2020 at 20:25):
$ export SEARCH_PARAM_URL='http://hl7.org/fhir/SearchParameter/clinical-date'
$ wget http://hl7.org/fhir/hl7.fhir.r4.core.tgz
$ tar -xzvf hl7.fhir.r4.core.tgz
$ grep -l $SEARCH_PARAM_URL package/SearchParameter-*
package/SearchParameter-clinical-date.json
Reece Adamson (Jul 16 2020 at 21:28):
@Josh Mandel is correct that the URL should be http://hl7.org/fhir/SearchParameter/clinical-date
(Thanks @Josh Mandel!)
I just did a quick test against our validator service to confirm and if you make that update it should clear up the problem. Any valid core FHIR or US Core search parameters shouldn't cause an issue like that.
Are you running on a local installation or inferno.healthit.gov? If you're still having issues there's always a chance that there's something else wrong, like an old image being used or a bug in inferno, that I can help track down.
Michele Mottini (Jul 17 2020 at 02:28):
Thanks Josh and Reece. We are using inferno.healthit.gov - we'll fix the URIs and try again.
Last updated: Apr 12 2022 at 19:14 UTC