· Sep 7, 2022

Add FHIR package for extension and search parameter of type Reference to the FHIR server

Following "Adding Custom HL7 FHIR packages to the HL7 FHIR server" at I'm able to create an FHIR extension of type string as well as a search parameter.

However, I need to create an extension as well as a search parameter of type Reference. And this is not working.

Did anyone successfully add an extension and search parameter of type Reference?

Product version: IRIS 2022.1
$ZV: IRIS for Windows (x86-64) 2022.1 (Build 209U) Tue May 31 2022 12:16:40 EDT [Health:3.5.0]
Discussion (2)1
Log in or sign up to continue


It appears that in discussion with our Worldwide Response Center support you identified the root cause of the problem to be an erroneous example on the HL7 FHIR website at:

The example lacks the "url=" text that should precede the specific extension url text.

Best regards,

Paul Lomayesva

InterSystems Corporation


I don't think I identified that as the root cause of the problem.

For future reference:

DocumentReference.extension('').value or

"DocumentReference.extension('') should work ( But it doesn't (for me).

The only way I got this working is like this:



Best regards, David