Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Checking expansion status for value sets

23 views
Skip to first unread message

Michal Ševčík

unread,
Mar 23, 2025, 11:20:12 AMMar 23
to HAPI FHIR
Hello,

I am using HAPI-FHIR v8.0.0 through JPA-SERVER-STARTER.
In case there is large ValueSet and I request the $expand operation for it I might get this error in case it was not yet pre-expanded:

HAPI-0831: Expansion of ValueSet produced too many codes (maximum 1,000) - Operation aborted!  .... Performing in-memory expansion without parameters. Current status: NOT_EXPANDED | The ValueSet is waiting to be picked up and pre-expanded by a scheduled task."

I would like to somehow check whether all ValueSets has been expanded already.
What I could possibly do is to try to call the expand on every ValueSet and wait until all of them return 200.

My question is whether there is any simpler way to check if there are any unexpanded ValueSets at the moment?
The information seems to be in DB in TRM_VALUESET.EXPANSION_STATUS I am wondering whether it is exposed or not in a way where I could call an API to check whether all of them are in EXPANDED status.

Thanks!

Michal Ševčík

unread,
Jun 3, 2025, 8:31:36 AMJun 3
to HAPI FHIR
Hello,

just wanted to check if there is anything like this possible or if I could implement some way to expose this information through an API.

Thanks.

Dátum: nedeľa 23. marca 2025, čas: 16:20:12 UTC+1, odosielateľ: Michal Ševčík
Reply all
Reply to author
Forward
0 new messages