Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-38654

Questionnaire.item.linkId allows spaces, should it?

    XMLWordPrintableJSON

Details

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • Questionnaire
    • Hide

      linkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such.

      Show
      linkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such.
    • Correction
    • R5

    Description

      In FHIR-38642 .NET validation has issues with narrative of Questionnaire instances - Jira (hl7.org) we discovered that when a Questionnaire.item.linkId has a space in it, it will lead the IG Publisher to create a narrative which fails XHTML validation due to a space in the id for a table cell.

      Resource.id is of type id (at least in R5 again, in R4/B it's still a string with no constraints), which has a constraint preventing any spaces in it.

      Questionnaire.item.linkId however is, also in R5, still a plain string.

      • Do we want to prevent linkId to have spaces, either by making it of type id or by providing another constraint on it?
      • Or is it OK to have a space in linkId an should we have the IG Publisher transform that to create a valid table cell id?

      Attachments

        Activity

          People

            lloyd Lloyd McKenzie
            lloyd Lloyd McKenzie
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: