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

Remove parent element name repetition

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • Biomedical Research & Regulation
    • MedicinalProductDefinition
    • Hide

      Purpose - to update naming conventions for 2 items (namePart → part; countryLanguage → usage), as attributes can't have the same name as something else higher up within the hierarchy. "Parent and child element names cannot contain words that overlap."

      Show
      Purpose - to update naming conventions for 2 items (namePart → part; countryLanguage → usage), as attributes can't have the same name as something else higher up within the hierarchy. "Parent and child element names cannot contain words that overlap."
    • Rik Smithies / Jean Duteau : 7 - 0 - 0
    • Enhancement
    • Non-compatible
    • R5

    Description

      In trying to move MedicinalProductDefinition to a higher FMM level, some new constraints have appeared in the build that need to be addressed.

      Parent and child element names cannot contain words that overlap,

      So, propose renaming MedicinalProductDefinition.name.namePart to MedicinalProductDefinition.name.part
      because "name" appears in the word "namePart"

      This reads better anyway.

      Propose rename MedicinalProductDefinition.name.countryLanguage to MedicinalProductDefinition.name.usage
      because of MedicinalProductDefinition.name.countryLanguage.country.
      The word country appears in the word countryLanguage.

      Because country is a hard thing to rename, suggest renaming the somewhat ugly "countryLanguage" to "usage". There are already "country" and "language" attributes within it, so it doesn't need to be called "countryLanguage". This is all about where the name is used, so "usage" seems appropriate. (Considered also "environment" but that is longer and a bit of a less common word).

      We don't want to rename things arbitrarily, but these are necessary for the build and seem relatively harmless. They are not pivotal to using the resources.

      Attachments

        Activity

          People

            riksmithies Rik Smithies
            riksmithies Rik Smithies
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: