Dear FHIR community,
We are trying to validate an Observation profile and we get an error from the HAPI FHIR server on a binding we have on the “value” element. Note that the value set we are binding is custom and we are using SNOMED codes.
Here is the profile:
Here are the value sets:
*** The links are obscured because of posting restrictions.
Here is the error:
None of the codings provided are in the value set ‘Cyprus EHR Value Set: Drug Use Status’ (_/fhir/ValueSet/cyehr-vs-drugusestatus), and a coding from this value set is required) (codes = snomed/sct#3610550000 )
The value set exists in HAPI server and the code is correct
- Initially we thought that the Display was creating this error since the Display on the ValueSet was custom and different from the one that SNOMED provides, we even modified the Displays to match, however we did not get an actual positive result. The error is still there.
Similar errors where we have the ValueSets:
None of the codings provided are in the value set ‘Cyprus EHR Value Set: Drug Or Medication Type’ (_/fhir/ValueSet/cyehr-vs-drugormedicationtype), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = snomed/sct#229003004 )
We had similar issues with other custom made ValueSets. In the following test case, we try to create an allergy resource. The custom value set exists, the concept is present inside the ValueSet, doing a concept-lookup operation returns the same results but doing a validate-code operation on the ValueSet returns an error “No codes in ValueSet belong to CodeSystem with URL snomed/sct "”.
Follows screenshots of what data is present
None of the codings provided are in the value set ‘Cyprus EHR Value Set: eHDSI Status Code’ (_/fhir/ValueSet/cyehr-vs-ehdsistatuscode ), and a coding from this value set is required) (codes = snomed/sct#55561003 )
Response → ResourceType: “Parameters”, name,display,abstract.
Response → Unable to validate code → No codes in ValueSet belong to CodeSystem with URL: ___