Stream: clinFHIR
Topic: Scenario Builder and profiles
Kevin Power (Aug 17 2017 at 15:41):
I am building a scenario using the Public HAPI STU3 servers for Data and Conformance. I attempt to select a profile on DiagnosticReport (DiagnosticReport-Genetics). When I do, I get errors on extensions like this:
makeProfileDisplayFromProfile: Error retrieving http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis {"msg":"No matching profile (http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis) found on http://fhirtest.uhn.ca/baseDstu3/StructureDefinition (but not a server error - just not present)"}
I tried some other STU3 servers, and I get some different behaviors, but none work as I would expect. Does this mean there is a problem in the definition of this profile? Or is this something the Scenario Builder doesn't handle? It did seem to work with a couple of other profiles I tried.
Thanks.
David Hay (Aug 17 2017 at 21:04):
It means that that profile refers to an extension with the url http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis, which isn't present on the hapi server so it can't retrieve it to build the model. If you can find that extension definition and load it into the hapi server then it should work...
David Hay (Aug 17 2017 at 21:05):
Do note that the CF support for profiles is a bit hit and mix - if you have specific issues I'll certainly take a look, but your mileage may vary!
Kevin Power (Aug 18 2017 at 13:01):
Thanks @David Hay
James Agnew (Aug 22 2017 at 18:08):
Just to add one more thought here, I populate the server with all of the core FHIR resource profiles, but not currently any of the extended ones like this one (perhaps I should upload them too, but at least currently my script does not do so).
Feel free to upload any StructureDefinitions you like though. If you upload them, the validator will use them.
David Hay (Aug 22 2017 at 22:05):
Hi @James Agnew - do you know where to find these profiles? (Other than individually from the spec). Would be great to upload them...
Last updated: Apr 12 2022 at 19:14 UTC