inferno-framework / us-core-test-kit

Inferno Test Kit for evaluating API conformance to the US Core Implementation Guide
Apache License 2.0
7 stars 5 forks source link

FI-2231 Add searches for Practitioner test #149

Closed yunwwang closed 7 months ago

yunwwang commented 7 months ago

Summary

This PR fixes JIRA ticket FI-2231 and GitHub Issue: https://github.com/onc-healthit/onc-certification-g10-test-kit/issues/485. Practitioner is a delayed resource because it does not have patient search parameter and it is not an USCDI data class/data element. (g)(10) test kit excludes search tests for all delayed resources.

To add search tests back for Practitioner in (g)(10) test kit, we split the original "delayed" resources into to part for (g)(10) test kit: delayed resources with searches and delayed resources without searches. The second category is identified by exclude_search_tests? metadata property.

Change Log

Testing Guidance

This PR does not affect US Core Test Kit. Corresponding changes are also applied in (g)(10) test kit so that when (g)(10) loads US Core Test Suites, it uses the exclude_search_tests? property instead of delayed? property to decide if group's search tests shall be included/excluded.