FHIR Chat · Extensions in CodeSystems and ValueSets · shorthand

Stream: shorthand

Topic: Extensions in CodeSystems and ValueSets


view this post on Zulip Richard Kavanagh (Apr 22 2021 at 22:33):

Is it possible to add extensions (at the root level) for either CodeSystems of ValueSets

Along the line of what is seen here

image.png

view this post on Zulip Chris Moesel (Apr 22 2021 at 22:50):

Yes, we allow ^ rules at the top-level of CodeSystem and ValueSet, so you can do something like:

CodeSystem: Foo
* ^extension.url = "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference"
* ^extension.valueUri = "http://foo.org/bar"
* #foo "Foo" "Fooooooo"
* #bar "Bar" "Baaaaaar"

https://fshschool.org/FSHOnline/#/share/2RXS0nZ

view this post on Zulip Richard Kavanagh (Apr 23 2021 at 14:44):

Thanks @Chris Moesel - perfect!


Last updated: Apr 12 2022 at 19:14 UTC