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

Correct invariant expressions where a coding is checked

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • US Da Vinci Patient Cost Transparency (PCT) (FHIR)
    • 1.0.0
    • Financial Mgmt
    • PCT AEOB Bundle
      PCT Advanced EOB
      PCT GFE Bundle
    • Hide

      Make the following changes

      • Change invariant pct-aeob-bundle-2
        • From: entry.resource.ofType(Organization).where(type.coding.where(code='pay')).exists()
        • To:
          entry.resource.ofType(Organization).where(type.coding.where(code='pay').exists()).exists()
      • Change invariant pct-aeob-2
        • From:
          adjudication.where(category.coding.where(code='submitted')).exists() or item.adjudication.where(category.coding.where(code='submitted')).exists()
        • To:
          adjudication.where(category.coding.where(code='submitted').exists()).exists() or item.adjudication.where(category.coding.where(code='submitted').exists()).exists()
      • Change invariant pct-gfe-bundle-2
        • From: entry.resource.ofType(Organization).where(type.coding.where(code='pay')).exists()
        • To:
        • entry.resource.ofType(Organization).where(type.coding.where(code='pay').exists()).exists()

       

      Show
      Make the following changes Change invariant pct-aeob-bundle-2 From: entry.resource.ofType(Organization).where(type.coding.where(code='pay')).exists() To: entry.resource.ofType(Organization).where(type.coding.where(code='pay') .exists() ).exists() Change invariant pct-aeob-2 From: adjudication.where(category.coding.where(code='submitted')).exists() or item.adjudication.where(category.coding.where(code='submitted')).exists() To: adjudication.where(category.coding.where(code='submitted') .exists() ).exists() or item.adjudication.where(category.coding.where(code='submitted') .exists() ).exists() Change invariant pct-gfe-bundle-2 From: entry.resource.ofType(Organization).where(type.coding.where(code='pay')).exists() To: entry.resource.ofType(Organization).where(type.coding.where(code='pay') .exists() ).exists()  
    • Corey Spears / Chris Johnson : 10 - 0 - 0
    • Correction
    • Compatible, substantive

    Description

       

      #---> Error validating invariant http://hl7.org/fhir/us/davinci-pct/StructureDefinition/davinci-pct-aeob-bundle: pct-aeob-bundle-2

                  Context: Bundle

                  Expression: entry.resource.ofType(Organization).where(type.coding.where(code='pay')).exists()

                  Return type: boolean

            --> error: where must have a boolean first argument, detected Coding[]

       

          #---> Error validating invariant http://hl7.org/fhir/us/davinci-pct/StructureDefinition/davinci-pct-aeob: pct-aeob-2

                  Context: ExplanationOfBenefit

                  Expression: adjudication.where(category.coding.where(code='submitted')).exists() or item.adjudication.where(category.coding.where(code='submitted')).exists()

                  Return type: boolean

            --> error: where must have a boolean first argument, detected Coding[]

            --> error: where must have a boolean first argument, detected Coding[]

       

          #---> Error validating invariant http://hl7.org/fhir/us/davinci-pct/StructureDefinition/davinci-pct-gfe-bundle: pct-gfe-bundle-2

                  Context: Bundle

                  Expression: entry.resource.ofType(Organization).where(type.coding.where(code='pay')).exists()

                  Return type: boolean

            --> error: where must have a boolean first argument, detected Coding[]

      Attachments

        Activity

          People

            Unassigned Unassigned
            corey_spears Corey Spears
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: