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

Why only one library per resource?

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Highest Highest
    • Canonical Resource Management Infrastructure (FHIR)
    • 1.0.0-ballot [deprecated]
    • Clinical Decision Support
    • Using Cql [deprecated]
    • 18.1.2
    • Hide

      Agreed, relax the requirement to a SHOULD, providing the rationale that having a single library simplifies representation (i.e. no need for qualifiers), but that it is not a requirement since there are use cases that need support for multiple libraries.

      In addition, add an invariant that ensures that if multiple libraries are present, expression references are qualified.

      Show
      Agreed, relax the requirement to a SHOULD, providing the rationale that having a single library simplifies representation (i.e. no need for qualifiers), but that it is not a requirement since there are use cases that need support for multiple libraries. In addition, add an invariant that ensures that if multiple libraries are present, expression references are qualified.
    • Chris Schuler/Brian Alper: 9-0-1
    • Enhancement
    • Compatible, substantive

    Description

      "CQL libraries SHALL be structured such that all CQL expressions referenced from a single FHIR resource are contained within a single library." - what's the reason for this rule? If I have a Questionnaire that has logic for populating 3 different questions and the logic is maintained in 3 different libraries, why can't I reference all 3? The cqf-libarary extension is defined as 0..*...

      It seems bizarre to have to wrap referenced libraries in another library just to adhere to this rule.

      (Comment 24 - imported by: Lloyd McKenzie)

      Attachments

        Activity

          People

            Unassigned Unassigned
            lloyd Lloyd McKenzie
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: