FHIR Chat · How to create a new profile in existing resource · implementers

Stream: implementers

Topic: How to create a new profile in existing resource


view this post on Zulip Fan Lin (Sep 26 2017 at 13:51):

How to add new profile in the exist resource? I think maybe download the sourcode and add some new xml
file to describe the profile detail ,but howto do it and how to add the profile to the list of rescource.

view this post on Zulip Ewout Kramer (Sep 26 2017 at 13:58):

How to add new profile in the exist resource? I think maybe download the sourcode and add some new xml
file to describe the profile detail ,but howto do it and how to add the profile to the list of rescource.

Well, yes, you could do it by hand, or use a visual editor like Forge (https://forge.simplifier.net/Forge).

When you want to share your new profile, you can upload it to simplifier.net and it will become available for others on both registry.fhir.org and simplifier.net. It will not, however, appear "automatically" in the specification (http://hl7.org/fhir) - this only contains profiles published by HL7.

view this post on Zulip Fan Lin (Sep 26 2017 at 14:03):

Thanks for your help. I am downloading the forges ,and are there any documents about the step by step of create profile

view this post on Zulip Fan Lin (Sep 26 2017 at 14:04):

Or can I do it in the forge directly?

view this post on Zulip Stefan Lang (Sep 26 2017 at 14:05):

Forge is a tool dedicated to profile creation, so: yes, directly in Forge

view this post on Zulip Fan Lin (Sep 26 2017 at 14:05):

oh it's the best way for it, with a GUI tools

view this post on Zulip Stefan Lang (Sep 26 2017 at 14:06):

True, writing profiles in an editor is the hard way to do it ;-)

view this post on Zulip Ewout Kramer (Sep 26 2017 at 14:06):

Thanks for your help. I am downloading the forges ,and are there any documents about the step by step of create profile

http://docs.simplifier.net/forge/index.html

view this post on Zulip Fan Lin (Sep 26 2017 at 14:20):

If I create new profile in forge, where it should be published ? I means it just a test but I want to view the result

view this post on Zulip Stefan Lang (Sep 26 2017 at 14:22):

You can create a free account on SImplifier: https://simplifier.net/

view this post on Zulip Fan Lin (Sep 26 2017 at 14:23):

and bind my account to the forge ,publishing should be view in my account webpage?

view this post on Zulip Stefan Lang (Sep 26 2017 at 14:24):

If you want to see the full resulting profile and not only the differential to the base resource, make sure to have "Options" => "Save snapshot component" checked in Forge when saving your profile.

view this post on Zulip Stefan Lang (Sep 26 2017 at 14:25):

Yes, you can push directly to Simplifier oder save the file and upload it on the Simplifier site

view this post on Zulip Fan Lin (Sep 26 2017 at 15:09):

It's a excellent tools! Can I download all xml source files after my creating new profile and add into sourcecode Repository in my local computer?

view this post on Zulip Stefan Lang (Sep 26 2017 at 15:13):

You're free to do so ;-)
You also can save your profles locally from Forge, which might be more convenient.

view this post on Zulip Fan Lin (Sep 26 2017 at 19:32):

if we should add more Components in new profile,like oberservation(BP) have two components, how to do it in the forge? I just can add slicecomponent, but it is not same as component . right?

view this post on Zulip Fan Lin (Sep 26 2017 at 19:34):

屏幕快照-2017-09-26-下午3.34.04.png

view this post on Zulip Fan Lin (Sep 26 2017 at 20:51):

I cannot add more components in the new profile of observation

view this post on Zulip Lloyd McKenzie (Sep 27 2017 at 03:41):

"sliceComponent" just means you've defined a constraint (a 'slice') on one of the component repetitions. In the instance, what you'll see is <component>.

view this post on Zulip Michel Rutten (Sep 27 2017 at 11:25):

Hi @Fan Lin, According to the FHIR spec, all slices in a common slice group should have a unique slice name. When you add a new slice in Forge, the application initializes the slice name using the format "slice{elementName}{index}", e.g. "sliceComponent3". You are encouraged to manually update the default values to proper, descriptive names.


Last updated: Apr 12 2022 at 19:14 UTC