diff --git a/r5/fhirpath/testSchema.xsd b/r5/fhirpath/testSchema.xsd index f8fae2fe..90b4f3ec 100644 --- a/r5/fhirpath/testSchema.xsd +++ b/r5/fhirpath/testSchema.xsd @@ -1,18 +1,47 @@ - + + + + + Declares a capability under test. 'code' is a code from the CQL Language Capability Codes + CodeSystem; 'value' (optional) is a qualifier that follows the code's valueMeaning. + + + + + Capability code (e.g., 'decimal-precision-and-scale'). Must be from the CQL Capability Codes. + + + + + Optional qualifier value (format/allowed values per the code's valueMeaning). + + + The Tests type provides a container for test suites made up of groups of tests. + + + + + Capability(ies) that apply to the entire test suite unless overridden by Group or Test. + + + Notes about the test suite. - + @@ -42,12 +71,19 @@ + + + + Capability(ies) that apply to all tests in this group unless overridden by a Test. + + + Notes about the test group. - + @@ -77,6 +113,14 @@ + + + + Capability(ies) specific to this test. These override Group/Tests level when conflicting. + + + + The expression to be tested. @@ -158,9 +202,9 @@ - + - The type of the expected output. + The type of the expected output. If output type is not present, the content of the output is the string representation of a literal (e.g. 10.0) @@ -173,6 +217,7 @@ + @@ -182,58 +227,41 @@ - - Indicates the test is expected to evaluate successfully. - + Indicates the test is expected to evaluate successfully. - - Indicates the test is expected to produce a syntax error. - + Indicates the test is expected to produce a syntax error. - - Indicates the test is expected to produce a semantic error. - + Indicates the test is expected to produce a semantic error. - - Indicates the test is expected to produce an execution error. - + Indicates the test is expected to produce an execution error. - - Indicates the test is expected to produce a runtime error. - + Indicates the test is expected to produce a runtime error. - - Indicates the test is expected to evaluated with strict semantics (i.e. paths for choice-valued elements do not include the type name (e.g. Patient.deceased, not Patient.deceasedBoolean)). - + Indicates the test is expected to evaluated with strict semantics (i.e. paths for choice-valued elements do not include the type name (e.g. Patient.deceased, not Patient.deceasedBoolean)). - - Indicates the test is expected to be evaluated with lenient semantics (i.e. paths for choice-valued elements may be included (e.g. Patient.deceasedBoolean)). - + Indicates the test is expected to be evaluated with lenient semantics (i.e. paths for choice-valued elements may be included (e.g. Patient.deceasedBoolean)). + + + Indicates the test is expected to be evaluated with lenient, as well as polymorphic, semantics (i.e. paths for choice-valued elements may be included, as well as the ability to treat the choice-valued elements polymorphically). - - Indicates the test is expected to be evaluated with respect to a particular element (i.e. from the context of a particular element such as an invariant evaluation). - + Indicates the test is expected to be evaluated with respect to a particular element (i.e. from the context of a particular element such as an invariant evaluation). - - Indicates the test is evaluating a CDA document, as opposed to a FHIR resource. - + Indicates the test is evaluating a CDA document, as opposed to a FHIR resource. - - Indicates the test is expected to have access to the %terminologies environment variable, allowing access to terminology services as described in the FHIRPath topic in the FHIR specification. - + Indicates the test is expected to have access to the %terminologies environment variable, allowing access to terminology services as described in the FHIRPath topic in the FHIR specification.