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 123

    
Feature: Test ITI-123 Transaction: Check Enrollment Status

  Background:
    * url 'http://localhost/fhir'
    * def responseresource read('EnrollmentResponse-ex-enrollment-resp-1.json')

  Rule: Search Enrollment Response Request and Response Messages initiated from a Beneficiary Requestor to a Beneficiary Manager

    Scenario: Search for an Enrollment Response

      Given path 'EnrollmentResponse'
      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 Enrollment Response Request and Response Messages initiated from a Beneficiary Requestor to a Beneficiary Manager

    Scenario: Request an Enrollment Response resource 

      Given path 'EnrollmentResponse/ex-enrollment-resp-1'
      When method get
      Then status 200
      And match $.resourceType == 'EnrollmentResponse'
      And match $.outcome == "complete"
      And match $.request.reference == "EnrollmentRequest/ex-enrollment-req-1"