FHIR Chat · retrieveSliceStructures · implementers

Stream: implementers

Topic: retrieveSliceStructures


view this post on Zulip Krishna Moorthi (Oct 11 2019 at 12:57):

Hi,
When i try to validate observation json example against to observation profile , getting an error as mentioned below
"diagnostics": "java.lang.IllegalStateException :: [profile=http://xxxxx.com/fhir/xxxxx/StructureDefinition/observation-test] encountered error in retrieveSliceStructures(). Please check your profile if the ElementDefinitions are correctly ordered as per the FHIR spec

Any suggestions please.

Thanks

view this post on Zulip Yunwei Wang (Oct 11 2019 at 13:07):

Have you checked your profile?

Please check your profile if the ElementDefinitions are correctly ordered as per the FHIR spec

view this post on Zulip Krishna Moorthi (Oct 11 2019 at 13:09):

yes, i did. my profile has few extensions at the end. if i remove and add it back again it works.. is there any other suggestions ?

view this post on Zulip Grahame Grieve (Oct 11 2019 at 16:45):

they shouldn't be at the end

view this post on Zulip Krishna Moorthi (Oct 22 2019 at 14:06):

Hi @Grahame Grieve thanks for the response. so it means always extensions should be added in the beginning.

view this post on Zulip Grahame Grieve (Oct 22 2019 at 17:10):

they should always be in the profile in the correct element order


Last updated: Apr 12 2022 at 19:14 UTC