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

Provide conformance requirements around input and output for CQL libraries

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • Clinical Guidelines (FHIR)
    • 0.1 [deprecated]
    • Clinical Decision Support
    • Profile Definitions and Documentation
    • Hide

      Agreed, add conformance requirements to state:

      Parameters to CQL libraries SHALL be either CQL-defined types that map to FHIR types, or FHIR resource types, optionally with profile designations

       

      Top level expressions in CQL libraries SHALL return either CQL-defined types that map to FHIR types, or FHIR resources types, optionally with profile designations

       

      DataRequirements in CQL libraries SHALL use FHIR resource types, optionally with profile designations

      Mapping:

      System.Boolean: FHIR.boolean
      System.Integer: FHIR.integer
      System.Decimal: FHIR.decimal
      System.Date: FHIR.date
      System.DateTime: FHIR.dateTime
      System.Time: FHIR.time
      System.String: FHIR.string
      System.Quantity: FHIR.Quantity
      System.Ratio: FHIR.Ratio
      System.Any: FHIR.Any
      System.Code: FHIR.Coding
      System.Concept: FHIR.CodeableConcept
      Interval<System.Date>: FHIR.Period
      Interval<System.DateTime>: FHIR.Period
      Interval<System.Quantity>: FHIR.Range

      List types shall be lists of element types that map to FHIR

      Tuple types shall consist only of elements of types that map to FHIR

      Show
      Agreed, add conformance requirements to state: Parameters to CQL libraries SHALL be either CQL-defined types that map to FHIR types, or FHIR resource types, optionally with profile designations   Top level expressions in CQL libraries SHALL return either CQL-defined types that map to FHIR types, or FHIR resources types, optionally with profile designations   DataRequirements in CQL libraries SHALL use FHIR resource types, optionally with profile designations Mapping: System.Boolean: FHIR.boolean System.Integer: FHIR.integer System.Decimal: FHIR.decimal System.Date: FHIR.date System.DateTime: FHIR.dateTime System.Time: FHIR.time System.String: FHIR.string System.Quantity: FHIR.Quantity System.Ratio: FHIR.Ratio System.Any: FHIR.Any System.Code: FHIR.Coding System.Concept: FHIR.CodeableConcept Interval<System.Date>: FHIR.Period Interval<System.DateTime>: FHIR.Period Interval<System.Quantity>: FHIR.Range List types shall be lists of element types that map to FHIR Tuple types shall consist only of elements of types that map to FHIR
    • Howard Strasberg/Floyd Eisenberg: 16-0-0
    • Clarification
    • Compatible, substantive

    Description

      Add a conformance requirement for types into and out of CQL libraries:

       

      Parameters to CQL libraries SHALL be either CQL-defined types that map to FHIR types, or FHIR resource types, optionally with profile designations

       

      Top level expressions in CQL libraries SHALL return either CQL-defined types that map to FHIR types, or FHIR resources types, optionally with profile designations

       

      DataRequirements in CQL libraries SHALL use FHIR resource types, optionally with profile designations

      Mapping:

      System.Boolean: FHIR.boolean
      System.Integer: FHIR.integer
      System.Decimal: FHIR.decimal
      System.Date: FHIR.date
      System.DateTime: FHIR.dateTime
      System.Time: FHIR.time
      System.String: FHIR.string
      System.Quantity: FHIR.Quantity
      System.Ratio: FHIR.Ratio
      System.Any: FHIR.Any
      System.Code: FHIR.Coding
      System.Concept: FHIR.CodeableConcept
      Interval<System.Date>: FHIR.Period
      Interval<System.DateTime>: FHIR.Period
      Interval<System.Quantity>: FHIR.Range

       

      Attachments

        Activity

          People

            zoedalley Zoe Dalley (Inactive)
            bryn.rhodes Bryn Rhodes
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: