FHIR Chat · Multi line comment problem · shorthand

Stream: shorthand

Topic: Multi line comment problem


view this post on Zulip Kurt Allen (Mar 30 2020 at 21:30):

Yo Chris;

I just wrapped and shipped the Breast Rad Profile for the upcoming ballot, and am starting to
play around with converting said ballot to FSH.
I am seeing a problem with the multi line syntax used defining a code system.

The following lines fail:
CodeSystem: XXX

* #Category0 "Category 0 (Incomplete)" """
xxx.
"""

with the error
error extraneous input '"""\r\n xxx.\r\n """' expecting {<EOF>, KW_ALIAS, KW_PROFILE, KW_EXTENSION, KW_INSTANCE, KW_INVARIANT, KW_VALUESET, KW_CODESYSTEM, KW_RULESET, KW_MAPPING}
File: C:\Development\HL7\BreastRadiologyProfilesV3\Projects\FishTank\Terminology\BiRadsAssessmentCategoryCS.fsh
Line: 2

These lines compile fine.
CodeSystem: XXX

* #Category0 "Category 0 (Incomplete)" "xxx."

Is the multi line comment supported for the code system concept description field? If so, am I doing something else wrong?

Thx -K

view this post on Zulip Chris Moesel (Mar 31 2020 at 01:18):

@Kurt Allen -- the intent is that multi-line should work there. If it doesn't then we probably have a bug in the grammar. Can you log a bug here? https://github.com/FHIR/sushi/issues

view this post on Zulip Kurt Allen (Mar 31 2020 at 01:46):

@Chris Moesel Done! Also added a bug related to ^ publisher and ^ contact being forced to some fishy values.


Last updated: Apr 12 2022 at 19:14 UTC