Improve modelling for ConceptMap's dependsOn and product fields

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • R4
    • Terminology Infrastructure
    • ConceptMap
    • Hide

      Proposal: Use a choice type for the value in dependsOn (and therefore also product). This would replace:

       

      dependsOn:

      { property: uri, system: canonical(CodeSystem), value: string, display: string }

      with:

       

      dependsOn:

      { property: uri, value[x]: (code | Coding | string | integer | boolean | dateTime | decimal | uri), }

       

      Show
      Proposal:  Use a choice type for the value in  dependsOn  (and  therefore also product) . This would replace:   dependsOn: { property: uri, system: canonical(CodeSystem), value: string, display: string } with:   dependsOn: { property: uri, value[x]: (code | Coding | string | integer | boolean | dateTime | decimal | uri), }  
    • Carmela Couderc/Michael Lawley : 4-0-0
    • Enhancement
    • Non-compatible

      The modelling for the dependsOn and product elements in ConceptMap is cumbersome and misaligned with the normal approach to "union" types.

      I would suggest using value[x] with choice of string and Coding as a more consistent approach.

      Given the extent of existing changes to ConceptMap I believe it would not be  unreasonable to make this change.

       

            Assignee:
            Unassigned
            Reporter:
            Michael Lawley
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: