Finance and Insurance Service (FAIS)
1.0.1-current - ci-build
Finance and Insurance Service (FAIS), published by IHE IT Infrastructure Technical Committee. This guide is not an authorized publication; it is the continuous build for version 1.0.1-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/ITI.Finance/ and changes regularly. See the Directory of published versions
Feature: Test ITI-125 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"