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

Add profile to ParameterDefinition

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • Canonical Resource Management Infrastructure (FHIR)
    • 1.0.0-ballot [deprecated]
    • Clinical Decision Support
    • CRMI Publishable Library
    • Hide

      1. Expand the cqf-defaultValue choices to allow for valueReference and note that when this is used, it SHALL refer to a contained resource in the Library providing the default value.
      2. Add cqf-cqlType to the FHIR extensions pack of type String with an expected value of the type specifier in CQL
      3. Add cqf-cqlAccessLevel to the FHIR extensions pack of type code with a required binding to a CqlAccessLevel value set
      4. Update the CQLLogicLibrary and CRMIModuleDefinition library profiles to make use of these extensions on the parameter element to better support parameter values

      Show
      1. Expand the cqf-defaultValue choices to allow for valueReference and note that when this is used, it SHALL refer to a contained resource in the Library providing the default value. 2. Add cqf-cqlType to the FHIR extensions pack of type String with an expected value of the type specifier in CQL 3. Add cqf-cqlAccessLevel to the FHIR extensions pack of type code with a required binding to a CqlAccessLevel value set 4. Update the CQLLogicLibrary and CRMIModuleDefinition library profiles to make use of these extensions on the parameter element to better support parameter values
    • Greg White/Chris Schuler: 10-0-0
    • Enhancement
    • Compatible, substantive

    Description

      We have found it useful to add extensions to the ParameterDefinition metadatatype for use in library.parameter.  These extensions carry additional information that is present in the CQL libraries but is not expressible in the base ParameterDefinition data type.  The extensions we added were the following:

      • Element type, for types like List and Interval.  Value is a required Code of FHIRAllTypes
      • CQL type, because the crosswalk between CQL and FHIRAllTypes is incomplete and lossy.  Value is a string whose value is the URI from the model info e.g. {http://hl7.org/fhir}Condition
      • Access level.  Value is a required Code of public|private.  Consider a code system here in case we want to extend to include other access modifier types in the future
      • Default value, for in parameters declared with the CQL parameter keyword.  Expressed using various FHIR elements e.g. decimal, string, period, etc.
      • Default value CQL type, because the crosswalk is lossy.  Expressed the same way as CQL type.

      As an implementer of CRMI, our receiving system which imports these measures into our computation platform needs this information to be able to correctly pass values in and receive values out of libraries.  We have been adding these as extensions with an ncqa.org URL, but we would prefer these to be CRMI canonical extension URIs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            evanmachusak Evan Machusak
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: