FHIR Chat · Extending Tests · inferno

Stream: inferno

Topic: Extending Tests


view this post on Zulip ashoka p (Nov 08 2020 at 16:41):

Could you please help us with Inferno 3.1.0 vs 3.1.1?
Couple of things we noticed any specific reason test suite cut down in 3.1.1?
3.1.0

Test suites are more
3.1.1
DAR checks
FHIR Validators
Other questions:

Is there any difference between the architecture/implementation between ONC and community? I know ONC is a subset of tests from respective Community edition?
Does both do the Same kind of validation after running a request URL?
Eg: For CarePlan, after running USCCP-01 while making assertions and validating the results, is there a difference in implementation in Inferno Program edition and community edition
I know this question could be specific but would like to know how do you arrive at the set of test sequences for a given Resource.
Eg: For CarePlan, you have 9 tests in the latest version of the inferno. However, in the previous version v2.9.0, there were 12. So would like to understand the thought process behind it so that I can extend the tests in a logical way

view this post on Zulip Reece Adamson (Nov 10 2020 at 15:35):

The US Core 3.1.0 and US Core 3.1.1 tests are built based on different versions of the US Core IG and the changes are a result in differences in the IG. These changes are not a result of any core Inferno changes, which is currently at Version 2.11.0. See the US Core 3.1.1 Change Notes for more details.

So, for example, US Core 3.1.1 tests not include a sequence for Pediatric Head Occipital-Frontal Circumference Percentile Tests. This profile was added in 3.1.1. Both 3.1.1 and 3.1.0 include Missing Data Tests (DAR checks) and FHIR validation.

The architecture of Inferno Community and Inferno Program is largely the same, but there are minor differences in the implementation for features that are unique to each.

Both do the same type of FHIR validation. Request validation is dependent on the IG and interaction being tested (tests for bulk data are different than those for US Core).

USCCP-01 is the same between Inferno Program (source) and Inferno Community (source). In general these tests are largely the same, but there may be some small underlying differences or complementary tests.

Tests are added or removed based on the requirements in the IG. You can extend tests by adding to the source code directly or subclassing existing tests (e.g.).

I should note that we are actively working on updating the core of Inferno to make it easier for others to use/develop/understand. We'll have more to report on that in the coming weeks/month...

view this post on Zulip Yunwei Wang (Nov 12 2020 at 17:41):

@ashoka p There are three tests removed in Inferno v2.11.0. One is the restrict access test, the old "USCCP-01". Similar tests from all resource test sequences were moved to separate restrict access test sequence. The other two removed tests are optional search test for patient+category+date and patient+category+status+date. They were removed because CarePlan.period is not a must supported data element.

view this post on Zulip ashoka p (Nov 19 2020 at 04:26):

Thank you both for the responses. If there is any architectural diagram of sorts it would be of immense help for developers like us to extend tests. I have already started extending few. Just to be clear we cannot extend Inferno Program I guess since it strictly checks the must support requirements of US Core?


Last updated: Apr 12 2022 at 19:14 UTC