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
Expose is_delayed into metadata.yml (Note: I am still debating if this is necessary. I could remove this from metadata.yml if there're other opinions)
Move some version specific constants to SpecialCase module
Add Practitioner to SEARCHABLE_DELAYED_RESOURCES
Add logic of exclude_search_tests?
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.
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
is_delayed
into metadata.yml (Note: I am still debating if this is necessary. I could remove this from metadata.yml if there're other opinions)SpecialCase
moduleSEARCHABLE_DELAYED_RESOURCES
exclude_search_tests?
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 ofdelayed?
property to decide if group's search tests shall be included/excluded.