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

Improve modelling for ConceptMap's dependsOn and product fields

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium 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
    • R5

    Description

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mjlawley Michael Lawley
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: