This page is part of the HL7 Tools Extension IG (v0.4.1: Releases - Informative) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/tools/StructureDefinition/TestCases | Version: 0.4.1 | |||
Standards status: Informative | Maturity Level: 3 | Computable Name: TestCases | ||
Other Identifiers: OID:2.16.840.1.113883.4.642.40.1.42.64 |
A standard format for test cases used throughout the FHIR ecosystem
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Resource | Elements defined in Ancestors:id, meta, implicitRules, language Test Suite - set of tests executed by a runner | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
ele-1: All FHIR elements must have a @value or children | |||||
![]() ![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for these tests, represented as a URI (globally unique) cnl-1: URL should not contain | or # - these characters make processing canonical references problematic | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Business version of the test set (semver) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name for these tests | ||||
![]() ![]() ![]() |
Σ | 0..1 | markdown | General Description of these tests | ||||
![]() ![]() ![]() |
1..1 | url | URL Documentation for a runner that executes these tests | |||||
![]() ![]() ![]() |
0..* | Base | A mode that can be passed to runner - affects test content | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The code that identifies the mode | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this mode exists / why it was defined | |||||
![]() ![]() ![]() |
0..* | Base | A suite of tests that share a common set up | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The name of this suite - unique in the TestCases resource | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this suite does / why it was defined | |||||
![]() ![]() ![]() ![]() |
0..1 | code | mode required to run this suite | |||||
![]() ![]() ![]() ![]() |
C | 0..* | Base | Resources used in the tests in this suite ts-2: Either a file, or a resource, but not both | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A name for this resource (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A file containing a resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | An inline resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this resource to be used | |||||
![]() ![]() ![]() ![]() |
0..* | Base | A test in the test suite | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The name of this test - unique in the suite | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Description of what this test does / why it was defined | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Operation that is executed during this test (per definition of runner) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | mode required to run this test | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Base | Parameter passed to the runner | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of parameter | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Value of this parameter | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this parameter to be used | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources used when executing this test (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources expected as output from this test (per runner definition, often Matchetypes) | |||||
![]() |
Path | Conformance | ValueSet | URI |
TestCases.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-1 | warning | TestCases.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ts-2 | error | TestCases.suite.setup | Either a file, or a resource, but not both : file xor resource |
This structure is derived from Resource
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Resource | Elements defined in Ancestors:id, meta, implicitRules, language Test Suite - set of tests executed by a runner | |
![]() ![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for these tests, represented as a URI (globally unique) cnl-1: URL should not contain | or # - these characters make processing canonical references problematic |
![]() ![]() ![]() |
Σ | 0..1 | string | Business version of the test set (semver) |
![]() ![]() ![]() |
Σ | 0..1 | string | Name for these tests |
![]() ![]() ![]() |
Σ | 0..1 | markdown | General Description of these tests |
![]() ![]() ![]() |
1..1 | url | URL Documentation for a runner that executes these tests | |
![]() ![]() ![]() |
0..* | Base | A mode that can be passed to runner - affects test content | |
![]() ![]() ![]() ![]() |
1..1 | string | The code that identifies the mode | |
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this mode exists / why it was defined | |
![]() ![]() ![]() |
0..* | Base | A suite of tests that share a common set up | |
![]() ![]() ![]() ![]() |
1..1 | string | The name of this suite - unique in the TestCases resource | |
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this suite does / why it was defined | |
![]() ![]() ![]() ![]() |
0..1 | code | mode required to run this suite | |
![]() ![]() ![]() ![]() |
C | 0..* | Base | Resources used in the tests in this suite ts-2: Either a file, or a resource, but not both |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A name for this resource (per runner definition) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A file containing a resource used in the tests | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | An inline resource used in the tests | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this resource to be used | |
![]() ![]() ![]() ![]() |
0..* | Base | A test in the test suite | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The name of this test - unique in the suite | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Description of what this test does / why it was defined | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Operation that is executed during this test (per definition of runner) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | mode required to run this test | |
![]() ![]() ![]() ![]() ![]() |
0..* | Base | Parameter passed to the runner | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of parameter | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Value of this parameter | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this parameter to be used | |
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources used when executing this test (per runner definition) | |
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources expected as output from this test (per runner definition, often Matchetypes) | |
![]() |
Id | Grade | Path(s) | Details | Requirements |
cnl-1 | warning | TestCases.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
ts-2 | error | TestCases.suite.setup | Either a file, or a resource, but not both : file xor resource |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Resource | Elements defined in Ancestors:id, meta, implicitRules, language Test Suite - set of tests executed by a runner | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for these tests, represented as a URI (globally unique) cnl-1: URL should not contain | or # - these characters make processing canonical references problematic | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Business version of the test set (semver) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name for these tests | ||||
![]() ![]() ![]() |
Σ | 0..1 | markdown | General Description of these tests | ||||
![]() ![]() ![]() |
1..1 | url | URL Documentation for a runner that executes these tests | |||||
![]() ![]() ![]() |
0..* | Base | A mode that can be passed to runner - affects test content | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The code that identifies the mode | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this mode exists / why it was defined | |||||
![]() ![]() ![]() |
0..* | Base | A suite of tests that share a common set up | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The name of this suite - unique in the TestCases resource | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this suite does / why it was defined | |||||
![]() ![]() ![]() ![]() |
0..1 | code | mode required to run this suite | |||||
![]() ![]() ![]() ![]() |
C | 0..* | Base | Resources used in the tests in this suite ts-2: Either a file, or a resource, but not both | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A name for this resource (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A file containing a resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | An inline resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this resource to be used | |||||
![]() ![]() ![]() ![]() |
0..* | Base | A test in the test suite | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The name of this test - unique in the suite | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Description of what this test does / why it was defined | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Operation that is executed during this test (per definition of runner) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | mode required to run this test | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Base | Parameter passed to the runner | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of parameter | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Value of this parameter | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this parameter to be used | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources used when executing this test (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources expected as output from this test (per runner definition, often Matchetypes) | |||||
![]() |
Path | Conformance | ValueSet | URI |
TestCases.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-1 | warning | TestCases.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ts-2 | error | TestCases.suite.setup | Either a file, or a resource, but not both : file xor resource |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Resource | Elements defined in Ancestors:id, meta, implicitRules, language Test Suite - set of tests executed by a runner | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
ele-1: All FHIR elements must have a @value or children | |||||
![]() ![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for these tests, represented as a URI (globally unique) cnl-1: URL should not contain | or # - these characters make processing canonical references problematic | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Business version of the test set (semver) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name for these tests | ||||
![]() ![]() ![]() |
Σ | 0..1 | markdown | General Description of these tests | ||||
![]() ![]() ![]() |
1..1 | url | URL Documentation for a runner that executes these tests | |||||
![]() ![]() ![]() |
0..* | Base | A mode that can be passed to runner - affects test content | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The code that identifies the mode | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this mode exists / why it was defined | |||||
![]() ![]() ![]() |
0..* | Base | A suite of tests that share a common set up | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The name of this suite - unique in the TestCases resource | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this suite does / why it was defined | |||||
![]() ![]() ![]() ![]() |
0..1 | code | mode required to run this suite | |||||
![]() ![]() ![]() ![]() |
C | 0..* | Base | Resources used in the tests in this suite ts-2: Either a file, or a resource, but not both | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A name for this resource (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A file containing a resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | An inline resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this resource to be used | |||||
![]() ![]() ![]() ![]() |
0..* | Base | A test in the test suite | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The name of this test - unique in the suite | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Description of what this test does / why it was defined | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Operation that is executed during this test (per definition of runner) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | mode required to run this test | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Base | Parameter passed to the runner | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of parameter | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Value of this parameter | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this parameter to be used | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources used when executing this test (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources expected as output from this test (per runner definition, often Matchetypes) | |||||
![]() |
Path | Conformance | ValueSet | URI |
TestCases.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-1 | warning | TestCases.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ts-2 | error | TestCases.suite.setup | Either a file, or a resource, but not both : file xor resource |
Differential View
This structure is derived from Resource
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Resource | Elements defined in Ancestors:id, meta, implicitRules, language Test Suite - set of tests executed by a runner | |
![]() ![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for these tests, represented as a URI (globally unique) cnl-1: URL should not contain | or # - these characters make processing canonical references problematic |
![]() ![]() ![]() |
Σ | 0..1 | string | Business version of the test set (semver) |
![]() ![]() ![]() |
Σ | 0..1 | string | Name for these tests |
![]() ![]() ![]() |
Σ | 0..1 | markdown | General Description of these tests |
![]() ![]() ![]() |
1..1 | url | URL Documentation for a runner that executes these tests | |
![]() ![]() ![]() |
0..* | Base | A mode that can be passed to runner - affects test content | |
![]() ![]() ![]() ![]() |
1..1 | string | The code that identifies the mode | |
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this mode exists / why it was defined | |
![]() ![]() ![]() |
0..* | Base | A suite of tests that share a common set up | |
![]() ![]() ![]() ![]() |
1..1 | string | The name of this suite - unique in the TestCases resource | |
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this suite does / why it was defined | |
![]() ![]() ![]() ![]() |
0..1 | code | mode required to run this suite | |
![]() ![]() ![]() ![]() |
C | 0..* | Base | Resources used in the tests in this suite ts-2: Either a file, or a resource, but not both |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A name for this resource (per runner definition) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A file containing a resource used in the tests | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | An inline resource used in the tests | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this resource to be used | |
![]() ![]() ![]() ![]() |
0..* | Base | A test in the test suite | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The name of this test - unique in the suite | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Description of what this test does / why it was defined | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Operation that is executed during this test (per definition of runner) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | mode required to run this test | |
![]() ![]() ![]() ![]() ![]() |
0..* | Base | Parameter passed to the runner | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of parameter | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Value of this parameter | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this parameter to be used | |
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources used when executing this test (per runner definition) | |
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources expected as output from this test (per runner definition, often Matchetypes) | |
![]() |
Id | Grade | Path(s) | Details | Requirements |
cnl-1 | warning | TestCases.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
ts-2 | error | TestCases.suite.setup | Either a file, or a resource, but not both : file xor resource |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Resource | Elements defined in Ancestors:id, meta, implicitRules, language Test Suite - set of tests executed by a runner | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for these tests, represented as a URI (globally unique) cnl-1: URL should not contain | or # - these characters make processing canonical references problematic | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Business version of the test set (semver) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name for these tests | ||||
![]() ![]() ![]() |
Σ | 0..1 | markdown | General Description of these tests | ||||
![]() ![]() ![]() |
1..1 | url | URL Documentation for a runner that executes these tests | |||||
![]() ![]() ![]() |
0..* | Base | A mode that can be passed to runner - affects test content | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The code that identifies the mode | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this mode exists / why it was defined | |||||
![]() ![]() ![]() |
0..* | Base | A suite of tests that share a common set up | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The name of this suite - unique in the TestCases resource | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Description of what this suite does / why it was defined | |||||
![]() ![]() ![]() ![]() |
0..1 | code | mode required to run this suite | |||||
![]() ![]() ![]() ![]() |
C | 0..* | Base | Resources used in the tests in this suite ts-2: Either a file, or a resource, but not both | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A name for this resource (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | A file containing a resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Resource | An inline resource used in the tests | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this resource to be used | |||||
![]() ![]() ![]() ![]() |
0..* | Base | A test in the test suite | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | The name of this test - unique in the suite | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Description of what this test does / why it was defined | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Operation that is executed during this test (per definition of runner) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | mode required to run this test | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Base | Parameter passed to the runner | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of parameter | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Value of this parameter | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
integer | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
decimal | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | A mode that must be true for this parameter to be used | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources used when executing this test (per runner definition) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | See setup | Resources expected as output from this test (per runner definition, often Matchetypes) | |||||
![]() |
Path | Conformance | ValueSet | URI |
TestCases.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cnl-1 | warning | TestCases.url | URL should not contain | or # - these characters make processing canonical references problematic : exists() implies matches('^[^|# ]+$') | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ts-2 | error | TestCases.suite.setup | Either a file, or a resource, but not both : file xor resource |