FHIR Chat · ExpansionTooCostlyException in ValueSet · hapi

Stream: hapi

Topic: ExpansionTooCostlyException in ValueSet


view this post on Zulip Divya Maheshkumar (Nov 03 2020 at 05:11):

I have uploaded ValueSet http://hl7.org/fhir/ValueSet/security-labels as a json file in HAPI FHIR JPA Server but it is not being expanded and the error is:
ExpansionTooCostlyException - Failed to pre-expand ValueSet: Expansion of ValueSet produced too many codes (maximum 1,000) - Operation aborted!
While the security-labels ValueSet has 200 codes then why does it give error as above?

I got the same error for Value Set http://hl7.org/fhir/ValueSet/allergyintolerance-code
Well, I see that this ValueSet has 3016 codes which is more than 1000 but there was no error while expanding http://hl7.org/fhir/ValueSet/body-site which has 34500 codes which is way more.

What am I missing here?

Thanks in advance!


Last updated: Apr 12 2022 at 19:14 UTC