FHIR Chat · FSH / Sushi slicing · IG creation

Stream: IG creation

Topic: FSH / Sushi slicing


view this post on Zulip Mika Tuomainen (Aug 17 2020 at 06:11):

Hi, I have problems with slicing? I have tried to test simple slicing (Observation.identifier) with FSH and Sushi. But I get this error when compiling fsh-file with Sushi:

error Cannot create first slice. No slicing found for Observation.identifier.
   File:
C:\Users\mika_\Documents\shorthand\fsh-tutorial-master\FishExample\FSHTestObsSlicev1.fsh
   Line: 7
error No element found at path identifier[first] for FSHTestObsSlicev1, skipping rule
   File:
C:\Users\mika_\Documents\shorthand\fsh-tutorial-master\FishExample\FSHTestObsSlicev1.fsh
   Line: 7
error No element found at path identifier[second] for FSHTestObsSlicev1, skipping rule
   File:
C:\Users\mika_\Documents\shorthand\fsh-tutorial-master\FishExample\FSHTestObsSlicev1.fsh
   Line: 7
error No element found at path identifier[first].system for FSHTestObsSlicev1, skipping rule
   File:
C:\Users\mika_\Documents\shorthand\fsh-tutorial-master\FishExample\FSHTestObsSlicev1.fsh
   Line: 8
error No element found at path identifier[second].system for FSHTestObsSlicev1, skipping rule
   File:
C:\Users\mika_\Documents\shorthand\fsh-tutorial-master\FishExample\FSHTestObsSlicev1.fsh
   Line: 9

The .fsh file I tried, is attached in this message. I have tried also with blood pressure examples (Observation.component slicing) but got the same errror. Am I missing something important in .fsh syntax? Is there a whole example .fsh file with slicing? FSHTestObsSlicev1.fsh

view this post on Zulip Grahame Grieve (Aug 17 2020 at 06:44):

you might be better to ask this very shorthand specific question on #shorthand ?

view this post on Zulip Mika Tuomainen (Aug 17 2020 at 07:21):

Thank you @Grahame Grieve ! I didn't notice that there is own stream for shorthand :) And also found answer to my question from #shorthand


Last updated: Apr 12 2022 at 19:14 UTC