FHIR Chat · tweak the spreadsheet generator for extensions · IG creation

Stream: IG creation

Topic: tweak the spreadsheet generator for extensions


view this post on Zulip Eric Haas (Mar 11 2019 at 16:14):

@Lloyd McKenzie can you fix the the spreadsheet generator to make the extension name snake_case or camelCase version of the id? ( with the latest commit is same as the display name )

right now with latest pr..

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="extension-certificationIdentifier"/>
  <url
       value="http://hl7.org/fhir/us/davinci-deqm/STU3/StructureDefinition/extension-certificationIdentifier"/>
  <version value="0.1.0"/>
  <name value="EHR certification number"/> <-- take the id and snake case it  e.g  extension_certification_identifier  or less agreeable to me PASCAL or cameCase  e.g. exensionCertifcationNumber
  <title value="EHR Certification Number"/>  <-- assuming comes from display column
  <status value="active"/>
  <date value="2018-06-19T00:00:00-07:00"/>
  <publisher value="Da Vinci Project"/>
...

view this post on Zulip Lloyd McKenzie (Mar 11 2019 at 16:44):

With the spreadsheet, you can declare the 'name' by putting a 'Name' column in the spreadsheet - that gives you full control.

view this post on Zulip Lloyd McKenzie (Mar 11 2019 at 16:46):

And for multi-profile spreadsheets, the slice name on the root element will be taken as the StructureDefinition.name

view this post on Zulip Eric Haas (Mar 11 2019 at 17:21):

Lloyd McKenzie: With the spreadsheet, you can declare the 'name' by putting a 'Name' column in the spreadsheet - that gives you full control.

is this true for extensions as well? ( trying it out now...)

view this post on Zulip Eric Haas (Mar 11 2019 at 17:32):

:+1: Sweet I knew about that for profile never tried on extensions

view this post on Zulip Lloyd McKenzie (Mar 11 2019 at 17:38):

It didn't work on extensions until last night :)


Last updated: Apr 12 2022 at 19:14 UTC