FHIR Chat · StructureDefinition.name vs title · implementers

Stream: implementers

Topic: StructureDefinition.name vs title


view this post on Zulip John Grimes (Jun 13 2017 at 07:13):

The descriptions for these elements are (http://hl7.org/fhir/STU3/structuredefinition.html):

name: Name for this structure definition (computer friendly)
title: Name for this structure definition (human friendly)

What is the purpose of the name field, and what exactly do we mean by “computer friendly"?

view this post on Zulip Lloyd McKenzie (Jun 13 2017 at 14:50):

Computer friendly = easy to convert into a class name. So generally not too long, no funky characters, etc. If you're going to do code-generation, this is the name you should use. Ideally, we probably ought to be more specific about the rules here. Feel free to submit a change request.

view this post on Zulip John Grimes (Jun 14 2017 at 01:35):

thanks Lloyd

view this post on Zulip Brian Postlethwaite (Jul 06 2017 at 20:58):

so would should permit is to have a name like "class" ;)
(great for code generators)

view this post on Zulip Lloyd McKenzie (Jul 06 2017 at 21:55):

We'd talked about having a "reserved word" list - but when you look across all the development languages and query languages, that gets to be a significant list.

view this post on Zulip Lloyd McKenzie (Jul 06 2017 at 21:55):

Plus hard to maintain


Last updated: Apr 12 2022 at 19:14 UTC