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

put invariant on IG.param.code to cnl-0

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • ImplementationGuide
    • Hide

      We will add the missing cnl invariant. We will not change the existing codes because the data type is now Coding and an extensible binding, so code-generation of enumerations is no longer practical/necessary and we don't wish to create a breaking change with existing codes.

      Show
      We will add the missing cnl invariant. We will not change the existing codes because the data type is now Coding and an extensible binding, so code-generation of enumerations is no longer practical/necessary and we don't wish to create a breaking change with existing codes.
    • Josh Mandel/Rick Geimer: 11-0-5
    • Correction
    • Non-compatible
    • R5

    Description

      1. add this invariant to this element:

      Invariants
      Affect this element
      cnl-0 Warning Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_])

      {0,254}

      ')

      2. and change all existing parameters accordingly:

      here

      https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters

      and here

      http://build.fhir.org/valueset-guide-parameter-code.html

      Justification, When trying to create a hash of the parameters the codes with '-' are treated as expressions in several languages such as Python.

      eg.

      ig_params = dict(
      logging = ['init','progess','tx','generate','html'], # default = none
      generate = ['example-narratives','genExamples'], # default = none
      path-resources = [], # your paths here, default = resources
      )
      SyntaxError: keyword can't be an expression

      Attachments

        Activity

          People

            lloyd Lloyd McKenzie
            ehaas Eric Haas
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: