FHIR Chat · non FSH examples · IG creation

Stream: IG creation

Topic: non FSH examples


view this post on Zulip Brett Esler (Jun 17 2021 at 02:15):

hi I am looking at how to include resource examples that are not authored in FSH in a FSH project e.g. adding Patient resource examples directly as FHIR json rather than generated by FSH - any advice would be great

view this post on Zulip Shovan Roy (Jun 17 2021 at 02:18):

@Brett Esler did you with placing the json file directly under "input/examples" folder ? name the file like "Patient-2643ada4-a175-11ea-9c20-47ffa6607fbc.json" where the uuid is the 'id' of the resource (Patient in this case)

view this post on Zulip Brett Esler (Jun 17 2021 at 02:33):

thanks @Shovan Roy i'll give ita go

view this post on Zulip Brett Esler (Jun 17 2021 at 03:24):

Thanks @Shovan Roy that is working

view this post on Zulip Jose Costa Teixeira (Jun 17 2021 at 06:53):

FWIW, you can put examples in the resources folder as well. the important thing is the id of the resource and the file have to be in the form <resourcetype>-id.json or <resourcetype>/id.json or id.json


Last updated: Apr 12 2022 at 19:14 UTC