Finance and Insurance Service (FAIS)
1.0.0 - trial-use International flag

This page is part of the IHE ITI Finance and Insurance Services (v1.0.0: Publication) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Binary: Testing Feature File for ITI 124

    
Feature: Test ITI-124 Transaction: Check Coverage Eligibility

  Background:
    * url 'http://localhost/fhir'

  Rule: Check Coverage Eligibility Request and Response Messages initiated from a Coverage Requestor to a Claims Manager

    Scenario: Check Coverage Eligibility without referenced content

      Given path 'CoverageEligibilityRequest/$submit'
      And request read('CoverageEligibilityRequest-ex-check-coverage-2.json')
      When method post
      Then status 200
      And match $.resourceType = "CoverageEligibilityResponse"
      And match $ contains status
      And match $ contains request
      And match $ contains outcome

    Scenario: Check Coverage Eligibility with referenced content in a bundle

      Given path 'CoverageEligibilityRequest/$submit'
      And request read('Bundle-ex-check-coverage-bundle-2.json')
      When method post
      Then status 200
      And match $.resourceType == "Bundle"
      And match $.type == "collection"
      And match contains $.entry[?(@.resourceType == 'CoverageEligibilityResponse' && @.status && @.request && @.outcome)]