FHIR Chat · sushi error from code element · shorthand

Stream: shorthand

Topic: sushi error from code element


view this post on Zulip John Moehrke (Feb 03 2020 at 04:02):

I am getting an error from sushi without a line number
'''error: Cannot fix string value: working. Value does not match element type: code'''
seems this is caused by a constraint I have on an element of type code, AND when I have an instance example of that resource. If I remove the constraint OR remove the example then the error goes away.
In this case I am constraining the FHIR List resource, .mode element to #working.

view this post on Zulip John Moehrke (Feb 03 2020 at 04:04):

I don't get told what file or line within that file that is causing the problem.


Last updated: Apr 12 2022 at 19:14 UTC