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

Add invariant(s) to require setting a value for CodeSystem.hierarchyMeaning when a concept hierarchy is represented

    XMLWordPrintableJSON

Details

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

      Suggest adding invariant(s) to the CodeSystem resource as warnings:

      • concept.concept.exists() implies hierarchyMeaning.exists()
      • concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists()
      Show
      Suggest adding invariant(s) to the CodeSystem resource as warnings : concept.concept.exists() implies hierarchyMeaning.exists() concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists()
    • Rob Hausam/John Snyder: 4-0-0
    • Enhancement
    • Compatible, substantive
    • R5

    Description

      The Concept Hierarchy documentation states that "Code systems may be presented hierarchically, using nested concept elements, where the hierarchy has a defined meaning specified in hierarchyMeaning" and in cases when a concept has multiple parents in the hierarchy "the relationships between concepts should be defined using properties".  But hierarchyMeaning is an optional element and this requirement is currently not enforced.  Some (likely many) of the code systems in the spec that contain a hierarchy do not currently have a hierarchyMeaning element (e.g. condition-ver-status).

      Suggest adding invariant(s) to the CodeSystem resource for:

      • concept.concept.exists() implies hierarchyMeaning.exists()
      • concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists()

      See Zulip discussion here.

      And add hierarchyMeaning to the code systems instances in the spec where it currently is missing.

       

       

      Attachments

        Activity

          People

            GrahameGrieve Grahame Grieve
            rhausam Robert Hausam
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: