Finance and Insurance Service (FAIS)
1.0.0-comment - ballot International flag

This page is part of the IHE ITI Finance and Insurance Services (v1.0.0-comment: Publication Ballot 1) 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 YY7

    
Feature: Test ITI-YY7 Transaction: Check Coverage Eligibility Status

  Background:
    * url 'http://localhost/fhir'
    * def responseresource read('CoverageEligibilityResponse-ex-check-coverage-resp-2.json')

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

    Scenario: Search for a Coverage Eligibility Response

      Given path 'CoverageEligibilityResponse'
      And request { status: 'active' }
      When method get
      Then status 200
      And match $.resourceType = 'Bundle'
      And match $.type = 'searchset'
      And match $.entry contains responseresource

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

    Scenario: Request a Coverage Eligibility Response resource 

      Given path 'CoverageEligibilityResponse/ex-check-coverage-resp-2'
      When method get
      Then status 200
      And match $.resourceType == 'EnrollmentResponse'
      And match $.outcome == "complete"
      And match $.request.reference == "CoverageEligibilityRequest/ex-check-coverage-2"