I've created a slice on Patient.identifier
where one of the identifiers is for a health card number and the other is for a case record number. The one for the health card number contains a custom extension that is used to identify the reason why the value hasn't been obtained (similar to the default FHRI extension data-absent-reason).
I've marked the appropriate elements both within the Patient.identifier.extension and on the extension itself with isSummary=true
so that the extension would show up in the search results when _summary=true
parameter is used. However this does not seem to work as HAPI-FHIR seems to be unaware that the runtime definition for this extension should be custom and has the isSummary
attribute set.
Am I doing something wrong within HAPI-FHIR that prevents it from using my extension definition when generating the runtime definition of the custom extension?
HAPI-FHIR version: 2.4