FHIR Chat · Custom Resource · social

Stream: social

Topic: Custom Resource


view this post on Zulip Domenico (Apr 07 2017 at 09:36):

Hi all,
what are the steps to create a Custom Resource? Should I use the Basic Resource or the StructureDefinition Resource? I would like have a Custom Resource with the set of attributes, search parameters anche the REST API (such as baseUrl/CustomResource/).
Please let me know if it's possible and how I can build it.

view this post on Zulip Richard Kavanagh (Apr 07 2017 at 10:29):

The answer is that you'll need both. The StructureDefinition will allow you to profile the Basic resource so as to introduce the attributes that you need, these will almost certainly be via the use of extensions. You should look to see whether there are any existing extensions published by HL7 that meet your needs or failing that create your own (which will need more StructureDefinitions). The Search parameters are defined in the CapabilityStatement resource by making use of a SearchParam resource....


Last updated: Apr 12 2022 at 19:14 UTC