Stream: conformance
Topic: Forge multiple extensions
Odd A. S. Dahl (Dec 19 2016 at 16:53):
Hi. We are using the .NET FHIR Validator to validate all resources, and have run into a problem with extensions. It seems it is not possible to add multiple extensions for a given resource, but rather create a complex extension that supports multiple extensions in one extension profile. Is this a correct assumption?
I have trouble creating the "extended" extensions using Forge. I've tried creating Extentions containing sub extension elements of a given type, but they dissapear the next time they are opened. I've not found any examples of this online, are there any guidelines on the best way to create and reference them in the output data? I've seen examples using the #-tag:
<extension url="wwww.fhir.orionhealth.com/Profile/nma#original-code">
Do these refer to the extension name of the sub-extensions?
Michel Rutten (Dec 20 2016 at 10:16):
@Odd A. S. Dahl You should be able to create and edit complex extensions in Forge. Seems like you found a bug. I'll investigate and try to reproduce.
Odd A. S. Dahl (Dec 20 2016 at 11:44):
Thanks @Michel Rutten. Do you know about any guidelines on best practices for creating these complex extensions (in Forge)?
Michel Rutten (Dec 20 2016 at 12:06):
@Odd It should be fairly simple to design a complex extension in Forge using the toolbar commands. (unless there's a bug... ) The Add command adds a new complex child element below the active node. Typically you will then constrain the value[x] node to a specific data type. The Extend command allows you to introduce external extensions within another extension. I'll try to fix this issue in the upcoming release. Stay tuned!
Last updated: Apr 12 2022 at 19:14 UTC