Uploaded image for project: 'CQL Issue Tracker'
  1. CQL Issue Tracker
  2. CQLIT-6

Could not resolve model info provider for model FHIR

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Moderate Moderate
    • None

      attempting go convert this file:

      https://hl7-fhir.github.io/payerextract/library-cbp.cql

      I'm getting:
      ```
      root@a4257a35358c:/usr/src/myapp/Src/java# cql-to-elm/build/install/cql-to-elm/bin/cql-to-elm --input ../../Examples/library-cbp.cql
      ================================================================================
      TRANSLATE ../../Examples/library-cbp.cql
      Translation failed due to errors:
      [3:1, 3:10] Could not resolve model info provider for model FHIR, version null.
      [48:5, 48:44] Could not determine a default model because no usings have been defined.
      [48:5, 48:50] Could not determine signature for invocation of operator System.GreaterOrEqual.
      [83:5, 83:44] Could not resolve type name Observation.
      [84:15, 84:22] Member status not found for type null.
      [84:15, 84:28] Member value not found for type null.
      [84:15, 84:54] Could not determine signature for invocation of operator System.In.
      [85:17, 85:35] Member effectiveDateTime not found for type null.
      [85:17, 85:41] Member value not found for type null.
      [85:43, 85:48] Could not determine signature for invocation of operator System.In.
      [84:15, 85:77] Could not determine signature for invocation of operator System.And.
      [84:9, 85:77] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [88:5, 88:45] Could not resolve type name Observation.
      [89:15, 89:22] Member status not found for type null.
      [89:15, 89:28] Member value not found for type null.
      [89:15, 89:54] Could not determine signature for invocation of operator System.In.
      [90:17, 90:35] Member effectiveDateTime not found for type null.
      [90:17, 90:41] Member value not found for type null.
      [90:43, 90:48] Could not determine signature for invocation of operator System.In.
      [89:15, 90:77] Could not determine signature for invocation of operator System.And.
      [89:9, 90:77] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [94:15, 94:29] Member valueQuantity not found for type null.
      [94:15, 94:35] Member value not found for type null.
      [94:15, 94:41] Member value not found for type null.
      [94:15, 94:47] Could not determine signature for invocation of operator System.Less.
      [94:9, 94:47] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [98:15, 98:29] Member valueQuantity not found for type null.
      [98:15, 98:35] Member value not found for type null.
      [98:15, 98:41] Member value not found for type null.
      [98:15, 98:48] Could not determine signature for invocation of operator System.GreaterOrEqual.
      [98:9, 98:48] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [102:15, 102:29] Member valueQuantity not found for type null.
      [102:15, 102:35] Member value not found for type null.
      [102:15, 102:41] Member value not found for type null.
      [102:15, 102:46] Could not determine signature for invocation of operator System.Less.
      [102:9, 102:46] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [106:15, 106:29] Member valueQuantity not found for type null.
      [106:15, 106:35] Member value not found for type null.
      [106:15, 106:41] Member value not found for type null.
      [106:15, 106:59] Could not determine signature for invocation of operator System.GreaterOrEqual.
      [106:9, 106:59] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [110:15, 110:29] Member valueQuantity not found for type null.
      [110:15, 110:35] Member value not found for type null.
      [110:15, 110:41] Member value not found for type null.
      [110:15, 110:47] Could not determine signature for invocation of operator System.GreaterOrEqual.
      [110:9, 110:47] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [115:3, 115:39] Could not resolve type name Condition.
      [116:11, 116:26] Member clinicalStatus not found for type null.
      [116:11, 116:32] Member value not found for type null.
      [116:11, 116:43] Could not determine signature for invocation of operator System.Equal.
      [117:13, 117:32] Member verificationStatus not found for type null.
      [117:13, 117:38] Member value not found for type null.
      [117:13, 117:52] Could not determine signature for invocation of operator System.Equal.
      [116:11, 117:52] Could not determine signature for invocation of operator System.And.
      [118:13, 118:27] Member onsetDateTime not found for type null.
      [118:13, 118:33] Member value not found for type null.
      [118:35, 118:40] Could not determine signature for invocation of operator System.In.
      [116:11, 118:72] Could not determine signature for invocation of operator System.And.
      [116:5, 118:72] Expected an expression of type 'System.Boolean', but found an expression of type '<unknown>'.
      [122:44, 122:58] Member onsetDateTime not found for type null.
      [122:44, 122:64] Member value not found for type null.
      [122:3, 122:65] Could not determine signature for invocation of operator System.First.
      [122:3, 122:78] Member dateRecorded not found for type null.
      [122:3, 122:84] Member value not found for type null.
      ```

            bryn_rhodes Bryn Rhodes
            ErichBSchulz Erich Schulz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: