FHIR Chat · Name field in value sets has gone wonky · IG creation

Stream: IG creation

Topic: Name field in value sets has gone wonky


view this post on Zulip Saul Kravitz (Sep 18 2020 at 14:57):

A value set defined as:
ValueSet: InsuranceProductTypeVS
Title: "Insurance Product Type"

Produces a name of: https://build.fhir.org/ig/HL7/davinci-pdex-plan-net/ValueSet-InsuranceProductTypeVS.html
Name: InsuranceProductTypeVS"Insurance Product Type"

This appears to be a publishing issue, since the (SUSHI generated JSON looks fine.
https://build.fhir.org/ig/HL7/davinci-pdex-plan-net/ValueSet-InsurancePlanTypeVS.json

view this post on Zulip Grahame Grieve (Sep 18 2020 at 19:58):

that' s deliberate though there is supposed to be a space

view this post on Zulip Grahame Grieve (Sep 18 2020 at 19:58):

and there is in the latest version

view this post on Zulip Saul Kravitz (Sep 22 2020 at 20:22):

I think it makes more sense to have the Title map to the Name, leaving control in the hands of the IG author. In the IGs that I've authored, this will lead to highly redundant names like "InsuranceProductVS Insurance Product Type".

What is the motivation?

view this post on Zulip Grahame Grieve (Sep 22 2020 at 20:27):

I don't understand this comment

view this post on Zulip Saul Kravitz (Sep 23 2020 at 13:45):

What is the rationale for concatenating the Name + Title fields from the JSON when rendering?
If the ValueSet author wanted the display name to be "InsuranceProductTypeVS Insurance Product Type", they could have set that as the Title.
It seems the publisher is wresting control from the IG author for how the Valueset is displayed. Even with the space, it looks like an editorial error to me.

  "resourceType": "ValueSet",
  "id": "InsurancePlanTypeVS",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><ul><li>Include all codes defined in <a href=\"CodeSystem-InsurancePlanTypeCS.html\"><code>http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/InsurancePlanTypeCS</code></a></li></ul></div>"
  },
  "url": "http://hl7.org/fhir/us/davinci-pdex-plan-net/ValueSet/InsurancePlanTypeVS",
  "version": "0.1.3",
  "name": "InsurancePlanTypeVS",
  "title": "Insurance Plan Type",

Last updated: Apr 12 2022 at 19:14 UTC