FHIR Chat · Slicing Validation Error · conformance

Stream: conformance

Topic: Slicing Validation Error


view this post on Zulip Aditya Dave (Aug 17 2020 at 15:59):

Hello everyone, my name is Aditya Dave and I created a custom profile for Practitioner with slicing on Practitioner.telecom.

There are no errors in the profile when performing $validate operation. Although, the resource I've created doesn't conform against the Profile. The error I am getting is Problem evaluating slicing expression for element in profile http://hapi.fhir.org/baseR4/StructureDefinition/PractitionerProfile path Practitioner.telecom[0] (fhirPath = true and (use memberOf 'http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1')): null". Is there something wrong with the way I have structured the slice ?

Thanks in advance!!

view this post on Zulip Grahame Grieve (Aug 18 2020 at 03:38):

You haven't sliced correctly - you need to fix the value of the use element, not the telecom itself

view this post on Zulip Aditya Dave (Aug 18 2020 at 15:46):

thanks Grahame, that resolved the issue. Although, why does the profile not give any error when performing $validate operation, is it a valid profile ?

view this post on Zulip Grahame Grieve (Aug 18 2020 at 19:43):

It's not really valid. I put that particular question on my todo list already

view this post on Zulip Aditya Dave (Aug 18 2020 at 20:36):

Alright, thanks !!


Last updated: Apr 12 2022 at 19:14 UTC