Stream: tooling
Topic: options for creating a standalone extension definition
Lee Surprenant (Jun 18 2020 at 12:33):
I like IGs as a distribution mechanism for conformance resources, but is there any tooling for defining a simple standalone extension definition?
I was hoping I could just do it on a site like Trifolia-on-FHIR or simplifier but so far no luck.
Ward Weistra (Jun 18 2020 at 13:07):
@Lee Surprenant Forge will let you do that: image.png
Can be downloaded from here: https://simplifier.net/forge
You'll want to:
- Open a new Profile Folder
- Click New > Extension definition (or New dropdown > New extension)
Ward Weistra (Jun 18 2020 at 13:09):
Or create one with Shorthand: https://build.fhir.org/ig/HL7/fhir-shorthand/tutorial.html#step-7-create-a-species-extension-for-fishpatient
David Hay (Jun 19 2020 at 02:07):
I'd just use sushi myself...
David Hay (Jun 19 2020 at 02:08):
Here's a simple example:
Extension: AuthorizedByPatient
Id: authorized-by-patient
Description: "If true, then indicates that the patient as authorized the use of this address or telecom to contact them."
* ^context.type = #element
* ^context.expression = "Address"
* ^context[1].type = #element
* ^context[1].expression = "Telecom"
* extension 0..0
* value[x] only boolean
Last updated: Apr 12 2022 at 19:14 UTC