Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-TestScript | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R2_TestScript_R5 | ||
This cross-version profile allows DSTU2 TestScript content to be represented via FHIR R5 TestScript resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | TestScript(5.0.0) | Describes a set of tests Constraints: cnl-0 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | boolean | DSTU2: Whether or not the tests apply to more than one FHIR server (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.multiserver Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this test script (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| TestScript.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | TestScript | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| ele-1 | error | TestScript.implicitRules, TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension, TestScript.name, TestScript.status | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from TestScript
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | TestScript(5.0.0) | Describes a set of tests Constraints: cnl-0 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 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
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | boolean | DSTU2: Whether or not the tests apply to more than one FHIR server (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.multiserver Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for this test script, represented as a URI (globally unique) Constraints: cnl-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Additional identifier for the test script | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | DSTU2: External identifier additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the test script | ||||
![]() ![]() |
Σ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() |
ΣC | 1..1 | string | Name for this test script (computer friendly) | ||||
![]() ![]() |
Σ | 0..1 | string | Name for this test script (human friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher/steward (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: Name of a individual to contact (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.contact.name Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | DSTU2: Contact details for individual or publisher (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.contact.telecom Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
0..1 | markdown | Natural language description of the test script | |||||
![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | DSTU2: Content intends to support these contexts additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.useContext Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (1.0.1) (extensible): A code that specifies a type of context being specified by a usage context. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Value that defines the context Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. | |||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for test script (if applicable) Binding: JurisdictionValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() |
0..1 | markdown | Why this test script is defined | |||||
![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() |
0..1 | string | Copyright holder and year(s) | |||||
![]() ![]() |
0..* | BackboneElement | An abstract server representing a client or sender in a message exchange | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | integer | The index of the abstract origin server starting at 1 | |||||
![]() ![]() ![]() |
1..1 | Coding | FHIR-Client | FHIR-SDC-FormFiller Binding: TestScriptProfileOriginType (extensible): The type of origin profile the test system supports. | |||||
![]() ![]() ![]() |
0..1 | url | The url path of the origin server | |||||
![]() ![]() |
0..* | BackboneElement | An abstract server representing a destination or receiver in a message exchange | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | integer | The index of the abstract destination server starting at 1 | |||||
![]() ![]() ![]() |
1..1 | Coding | FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor Binding: TestScriptProfileDestinationType (extensible): The type of destination profile the test system supports. | |||||
![]() ![]() ![]() |
0..1 | url | The url path of the destination server | |||||
![]() ![]() |
C | 0..1 | BackboneElement | Required capability that is assumed to function correctly on the FHIR server being tested Constraints: tst-4 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | BackboneElement | Links to the FHIR specification | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | URL to the specification | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Short description | |||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Capabilities that are assumed to function correctly on the FHIR server being tested | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | boolean | Are the capabilities required? | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | boolean | Are the capabilities validated? | ||||
![]() ![]() ![]() ![]() |
0..1 | string | The expected capabilities of the server | |||||
![]() ![]() ![]() ![]() |
0..* | integer | Which origin server these requirements apply to | |||||
![]() ![]() ![]() ![]() |
0..1 | integer | Which server these requirements apply to | |||||
![]() ![]() ![]() ![]() |
0..* | uri | Links to the FHIR specification | |||||
![]() ![]() ![]() ![]() |
1..1 | canonical(CapabilityStatement) | Required Capability Statement | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Conformance for use in FHIR R5(0.1.0) | CapabilityStatement) | DSTU2: Required Conformance additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.metadata.capability.conformance Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() |
0..* | BackboneElement | Indication of the artifact(s) that are tested by this test case | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | canonical(Resource) | The specific conformance artifact being tested | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | required | optional | strict Binding: TestScriptScopeConformanceType (extensible): The expectation of whether the test must pass for the system to be considered conformant with the artifact. | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | unit | integration | production Binding: TestScriptScopePhaseType (extensible): The phase of testing for this artifact. | |||||
![]() ![]() |
0..* | BackboneElement | Fixture in the test script - by reference (uri) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | boolean | Whether or not to implicitly create the fixture during setup | |||||
![]() ![]() ![]() |
1..1 | boolean | Whether or not to implicitly delete the fixture during teardown | |||||
![]() ![]() ![]() |
0..1 | Reference(Resource) | Reference of the resource | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: resource additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | canonical(StructureDefinition) | Reference of the validation profile | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for DSTU2.Resource for use in FHIR R5(0.1.0) | Resource) | DSTU2: profile additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.profile Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() |
C | 0..* | BackboneElement | Placeholder for evaluated elements Constraints: tst-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | string | Descriptive name for this variable | |||||
![]() ![]() ![]() |
0..1 | string | Default, hard-coded, or user-defined value for this variable | |||||
![]() ![]() ![]() |
0..1 | string | Natural language description of the variable | |||||
![]() ![]() ![]() |
C | 0..1 | string | The FHIRPath expression against the fixture body | ||||
![]() ![]() ![]() |
C | 0..1 | string | HTTP header field name for source | ||||
![]() ![]() ![]() |
0..1 | string | Hint help text for default value to enter | |||||
![]() ![]() ![]() |
C | 0..1 | string | XPath or JSONPath against the fixture body | ||||
![]() ![]() ![]() |
0..1 | id | Fixture Id of source expression or headerField within this variable | |||||
![]() ![]() |
0..1 | BackboneElement | A series of required setup operations before tests are executed | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Capabilities that are assumed to function correctly on the FHIR server being tested (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.metadata Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | A setup operation or assert to perform Constraints: tst-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | BackboneElement | The setup operation to perform Constraints: tst-7 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | The operation code type that will be executed Binding: TestScriptOperationCode (extensible): FHIR Operation Code Types | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Resource type Binding: ConcreteFHIRTypes (extensible): A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types. | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | DSTU2: resource additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.setup.action.operation.resource Binding: R2DefinedTypesForR5 (0.1.0) (required): Either a resource or a data type. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Primitive value for uri | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/logging operation label | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/reporting operation description | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Mime type to accept in the payload of the response, with charset etc Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: application/fhir+xml | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Mime type of the request payload contents, with charset etc Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: application/fhir+xml | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Server responding to the request | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Whether or not to send the request url in encoded format | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | delete | get | options | patch | post | put | head Binding: TestScriptRequestMethodCode (required): The allowable request method or HTTP operation codes. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Server initiating the request | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Explicitly defined path parameters | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | BackboneElement | Each operation can have one or more header elements | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | HTTP header field name | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | HTTP headerfield value | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Fixture Id of mapped request | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Fixture Id of mapped response | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | id | Fixture Id of body for PUT and POST requests | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | id | Id of fixture used for extracting the [id], [type], and [vid] for GET requests | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Request URL | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | BackboneElement | The assertion to perform Constraints: tst-5, tst-10, tst-12 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/logging assertion label | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/reporting assertion description | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | response | request Binding: AssertionDirectionType (required): The direction to use for assertions. | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Id of the source fixture to be evaluated | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | The FHIRPath expression to evaluate against the source fixture | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | XPath or JSONPath expression to evaluate against the source fixture | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Mime type to compare against the 'Content-Type' header Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: application/fhir+xml | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | fail | pass | skip | stop Binding: AssertionManualCompletionType (required): The default type of manual completion to use for assertion. | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | The FHIRPath expression to be evaluated | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | HTTP header field name | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Fixture Id of minimum content resource | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | boolean | Perform validation on navigation links? | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval | manualEval Binding: AssertionOperatorType (required): The type of operator to use for assertions. | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | XPath or JSONPath expression | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | delete | get | options | patch | post | put | head Binding: TestScriptRequestMethodCode (required): The allowable request method or HTTP operation codes. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Request URL comparison value | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | Resource type Binding: ConcreteFHIRTypes (extensible): A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | DSTU2: resource additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.setup.action.assert.resource Binding: R2DefinedTypesForR5 (0.1.0) (required): Either a resource or a data type. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Primitive value for uri | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | continue | switchingProtocols | okay | created | accepted | nonAuthoritativeInformation | noContent | resetContent | partialContent | multipleChoices | movedPermanently | found | seeOther | notModified | useProxy | temporaryRedirect | permanentRedirect | badRequest | unauthorized | paymentRequired | forbidden | notFound | methodNotAllowed | notAcceptable | proxyAuthenticationRequired | requestTimeout | conflict | gone | lengthRequired | preconditionFailed | contentTooLarge | uriTooLong | unsupportedMediaType | rangeNotSatisfiable | expectationFailed | misdirectedRequest | unprocessableContent | upgradeRequired | internalServerError | notImplemented | badGateway | serviceUnavailable | gatewayTimeout | httpVersionNotSupported Binding: AssertionResponseTypes (required): The response code to expect in the response. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | DSTU2: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable additional codes URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.setup.action.assert.response Binding: R2AssertResponseCodeTypesForR5 (0.1.0) (required): The type of response code to use for assertion. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | HTTP response code to test | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Fixture Id of source expression or headerField | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | If this assert fails, will the current test execution stop? | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | id | Profile Id of validation profile reference | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value to compare to | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Will this assert produce a warning only on error? | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | BackboneElement | Links or references to the testing requirements | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Link or reference to the testing requirement | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
canonical(Requirements) | |||||||
![]() ![]() |
0..* | BackboneElement | A test in this script | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Capabilities that are expected to function correctly on the FHIR server being tested (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.metadata Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | Tracking/logging name of this test | |||||
![]() ![]() ![]() |
0..1 | string | Tracking/reporting short description of the test | |||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | A test operation or assert to perform Constraints: tst-2 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | See operation (TestScript) | The setup operation to perform Constraints: tst-8 | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | See assert (TestScript) | The setup assertion to perform Constraints: tst-6, tst-11, tst-13 | ||||
![]() ![]() |
0..1 | BackboneElement | A series of required clean up steps | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..* | BackboneElement | One or more teardown operations to perform | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | See operation (TestScript) | The teardown operation to perform Constraints: tst-9 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| TestScript.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| TestScript.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| TestScript.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| TestScript.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| TestScript.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| TestScript.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| TestScript.versionAlgorithm[x] | Base | extensible | Version Algorithm | 📍5.0.0 | FHIR Std. |
| TestScript.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| TestScript.useContext.code | Base | extensible | UsageContextType | 📍1.0.1 | THO v7.1 |
| TestScript.useContext.value[x] | Base | example | Context of Use ValueSet | 📍5.0.0 | FHIR Std. |
| TestScript.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍5.0.0 | FHIR Std. |
| TestScript.origin.profile | Base | extensible | Test Script Profile Origin Type | 📍5.0.0 | FHIR Std. |
| TestScript.destination.profile | Base | extensible | Test Script Profile Destination Type | 📍5.0.0 | FHIR Std. |
| TestScript.scope.conformance | Base | extensible | Test Script Scope Conformance Type | 📍5.0.0 | FHIR Std. |
| TestScript.scope.phase | Base | extensible | Test Script Scope Phase Type | 📍5.0.0 | FHIR Std. |
| TestScript.fixture.resource.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| TestScript.setup.action.operation.type | Base | extensible | Test Script Operation Code | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.resource | Base | extensible | Concrete FHIR Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.accept | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.method | Base | required | Test Script Request Method Code | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.direction | Base | required | Assertion Direction Type | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.defaultManualCompletion | Base | required | Assertion Manual Completion Type | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.operator | Base | required | Assertion Operator Type | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.requestMethod | Base | required | Test Script Request Method Code | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.resource | Base | extensible | Concrete FHIR Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.response | Base | required |
Assertion Response Types
|
📍5.0.0 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | TestScript | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | TestScript.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | TestScript.meta, TestScript.meta.extension, TestScript.meta.extension:meta, TestScript.meta.versionId, TestScript.meta.lastUpdated, TestScript.meta.source, TestScript.meta.profile, TestScript.meta.security, TestScript.meta.tag, TestScript.implicitRules, TestScript.language, TestScript.text, TestScript.text.extension, TestScript.text.extension:text, TestScript.text.status, TestScript.text.div, TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension, TestScript.url, TestScript.identifier, TestScript.identifier.extension, TestScript.identifier.extension:identifier, TestScript.identifier.use, TestScript.identifier.type, TestScript.identifier.system, TestScript.identifier.value, TestScript.identifier.period, TestScript.identifier.assigner, TestScript.version, TestScript.versionAlgorithm[x], TestScript.name, TestScript.title, TestScript.status, TestScript.experimental, TestScript.date, TestScript.publisher, TestScript.contact, TestScript.contact.extension, TestScript.contact.extension:name, TestScript.contact.extension:telecom, TestScript.contact.name, TestScript.contact.telecom, TestScript.description, TestScript.useContext, TestScript.useContext.extension, TestScript.useContext.extension:useContext, TestScript.useContext.code, TestScript.useContext.value[x], TestScript.jurisdiction, TestScript.purpose, TestScript.copyright, TestScript.copyrightLabel, TestScript.origin, TestScript.origin.extension, TestScript.origin.modifierExtension, TestScript.origin.index, TestScript.origin.profile, TestScript.origin.url, TestScript.destination, TestScript.destination.extension, TestScript.destination.modifierExtension, TestScript.destination.index, TestScript.destination.profile, TestScript.destination.url, TestScript.metadata, TestScript.metadata.extension, TestScript.metadata.modifierExtension, TestScript.metadata.link, TestScript.metadata.link.extension, TestScript.metadata.link.modifierExtension, TestScript.metadata.link.url, TestScript.metadata.link.description, TestScript.metadata.capability, TestScript.metadata.capability.extension, TestScript.metadata.capability.modifierExtension, TestScript.metadata.capability.required, TestScript.metadata.capability.validated, TestScript.metadata.capability.description, TestScript.metadata.capability.origin, TestScript.metadata.capability.destination, TestScript.metadata.capability.link, TestScript.metadata.capability.capabilities, TestScript.metadata.capability.capabilities.extension, TestScript.metadata.capability.capabilities.extension:conformance, TestScript.scope, TestScript.scope.extension, TestScript.scope.modifierExtension, TestScript.scope.artifact, TestScript.scope.conformance, TestScript.scope.phase, TestScript.fixture, TestScript.fixture.extension, TestScript.fixture.modifierExtension, TestScript.fixture.autocreate, TestScript.fixture.autodelete, TestScript.fixture.resource, TestScript.fixture.resource.extension, TestScript.fixture.resource.extension:resource, TestScript.fixture.resource.reference, TestScript.fixture.resource.type, TestScript.fixture.resource.identifier, TestScript.fixture.resource.display, TestScript.profile, TestScript.profile.extension, TestScript.profile.extension:profile, TestScript.variable, TestScript.variable.extension, TestScript.variable.modifierExtension, TestScript.variable.name, TestScript.variable.defaultValue, TestScript.variable.description, TestScript.variable.expression, TestScript.variable.headerField, TestScript.variable.hint, TestScript.variable.path, TestScript.variable.sourceId, TestScript.setup, TestScript.setup.extension, TestScript.setup.extension:metadata, TestScript.setup.modifierExtension, TestScript.setup.action, TestScript.setup.action.extension, TestScript.setup.action.modifierExtension, TestScript.setup.action.operation, TestScript.setup.action.operation.extension, TestScript.setup.action.operation.modifierExtension, TestScript.setup.action.operation.type, TestScript.setup.action.operation.resource, TestScript.setup.action.operation.resource.extension, TestScript.setup.action.operation.resource.extension:resource, TestScript.setup.action.operation.label, TestScript.setup.action.operation.description, TestScript.setup.action.operation.accept, TestScript.setup.action.operation.contentType, TestScript.setup.action.operation.destination, TestScript.setup.action.operation.encodeRequestUrl, TestScript.setup.action.operation.method, TestScript.setup.action.operation.origin, TestScript.setup.action.operation.params, TestScript.setup.action.operation.requestHeader, TestScript.setup.action.operation.requestHeader.extension, TestScript.setup.action.operation.requestHeader.modifierExtension, TestScript.setup.action.operation.requestHeader.field, TestScript.setup.action.operation.requestHeader.value, TestScript.setup.action.operation.requestId, TestScript.setup.action.operation.responseId, TestScript.setup.action.operation.sourceId, TestScript.setup.action.operation.targetId, TestScript.setup.action.operation.url, TestScript.setup.action.assert, TestScript.setup.action.assert.extension, TestScript.setup.action.assert.modifierExtension, TestScript.setup.action.assert.label, TestScript.setup.action.assert.description, TestScript.setup.action.assert.direction, TestScript.setup.action.assert.compareToSourceId, TestScript.setup.action.assert.compareToSourceExpression, TestScript.setup.action.assert.compareToSourcePath, TestScript.setup.action.assert.contentType, TestScript.setup.action.assert.defaultManualCompletion, TestScript.setup.action.assert.expression, TestScript.setup.action.assert.headerField, TestScript.setup.action.assert.minimumId, TestScript.setup.action.assert.navigationLinks, TestScript.setup.action.assert.operator, TestScript.setup.action.assert.path, TestScript.setup.action.assert.requestMethod, TestScript.setup.action.assert.requestURL, TestScript.setup.action.assert.resource, TestScript.setup.action.assert.resource.extension, TestScript.setup.action.assert.resource.extension:resource, TestScript.setup.action.assert.response, TestScript.setup.action.assert.response.extension, TestScript.setup.action.assert.response.extension:response, TestScript.setup.action.assert.responseCode, TestScript.setup.action.assert.sourceId, TestScript.setup.action.assert.stopTestOnFail, TestScript.setup.action.assert.validateProfileId, TestScript.setup.action.assert.value, TestScript.setup.action.assert.warningOnly, TestScript.setup.action.assert.requirement, TestScript.setup.action.assert.requirement.extension, TestScript.setup.action.assert.requirement.modifierExtension, TestScript.setup.action.assert.requirement.link[x], TestScript.test, TestScript.test.extension, TestScript.test.extension:metadata, TestScript.test.modifierExtension, TestScript.test.name, TestScript.test.description, TestScript.test.action, TestScript.test.action.extension, TestScript.test.action.modifierExtension, TestScript.test.action.operation, TestScript.test.action.assert, TestScript.teardown, TestScript.teardown.extension, TestScript.teardown.modifierExtension, TestScript.teardown.action, TestScript.teardown.action.extension, TestScript.teardown.action.modifierExtension, TestScript.teardown.action.operation | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | TestScript.meta.extension, TestScript.meta.extension:meta, TestScript.text.extension, TestScript.text.extension:text, TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension, TestScript.identifier.extension, TestScript.identifier.extension:identifier, TestScript.contact.extension, TestScript.contact.extension:name, TestScript.contact.extension:telecom, TestScript.useContext.extension, TestScript.useContext.extension:useContext, TestScript.origin.extension, TestScript.origin.modifierExtension, TestScript.destination.extension, TestScript.destination.modifierExtension, TestScript.metadata.extension, TestScript.metadata.modifierExtension, TestScript.metadata.link.extension, TestScript.metadata.link.modifierExtension, TestScript.metadata.capability.extension, TestScript.metadata.capability.modifierExtension, TestScript.metadata.capability.capabilities.extension, TestScript.metadata.capability.capabilities.extension:conformance, TestScript.scope.extension, TestScript.scope.modifierExtension, TestScript.fixture.extension, TestScript.fixture.modifierExtension, TestScript.fixture.resource.extension, TestScript.fixture.resource.extension:resource, TestScript.profile.extension, TestScript.profile.extension:profile, TestScript.variable.extension, TestScript.variable.modifierExtension, TestScript.setup.extension, TestScript.setup.extension:metadata, TestScript.setup.modifierExtension, TestScript.setup.action.extension, TestScript.setup.action.modifierExtension, TestScript.setup.action.operation.extension, TestScript.setup.action.operation.modifierExtension, TestScript.setup.action.operation.resource.extension, TestScript.setup.action.operation.resource.extension:resource, TestScript.setup.action.operation.requestHeader.extension, TestScript.setup.action.operation.requestHeader.modifierExtension, TestScript.setup.action.assert.extension, TestScript.setup.action.assert.modifierExtension, TestScript.setup.action.assert.resource.extension, TestScript.setup.action.assert.resource.extension:resource, TestScript.setup.action.assert.response.extension, TestScript.setup.action.assert.response.extension:response, TestScript.setup.action.assert.requirement.extension, TestScript.setup.action.assert.requirement.modifierExtension, TestScript.test.extension, TestScript.test.extension:metadata, TestScript.test.modifierExtension, TestScript.test.action.extension, TestScript.test.action.modifierExtension, TestScript.teardown.extension, TestScript.teardown.modifierExtension, TestScript.teardown.action.extension, TestScript.teardown.action.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tst-1 | error | TestScript.setup.action | Setup action SHALL contain either an operation or assert but not both. |
operation.exists() xor assert.exists()
|
| tst-2 | error | TestScript.test.action | Test action SHALL contain either an operation or assert but not both. |
operation.exists() xor assert.exists()
|
| tst-3 | error | TestScript.variable | Variable can only contain one of expression, headerField or path. |
expression.empty() or headerField.empty() or path.empty()
|
| tst-4 | error | TestScript.metadata | TestScript metadata capability SHALL contain required or validated or both. |
capability.required.exists() or capability.validated.exists()
|
| tst-5 | error | TestScript.setup.action.assert | Only a single assertion SHALL be present within setup action assert element. |
extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() <=1) or (((expression.count() + minimumId.count() <=2) or (expression.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1)) or (((path.count() + minimumId.count() <=2) or (path.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1))
|
| tst-6 | error | TestScript.test.action.assert | Only a single assertion SHALL be present within test action assert element. |
extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() <=1) or (((expression.count() + minimumId.count() <=2) or (expression.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1)) or (((path.count() + minimumId.count() <=2) or (path.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1))
|
| tst-7 | error | TestScript.setup.action.operation | Setup operation SHALL contain either sourceId or targetId or params or url. |
sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))
|
| tst-8 | error | TestScript.test.action.operation | Test operation SHALL contain either sourceId or targetId or params or url. |
sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))
|
| tst-9 | error | TestScript.teardown.action.operation | Teardown operation SHALL contain either sourceId or targetId or params or url. |
sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))
|
| tst-10 | error | TestScript.setup.action.assert | Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. |
compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())
|
| tst-11 | error | TestScript.test.action.assert | Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. |
compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())
|
| tst-12 | error | TestScript.setup.action.assert | Setup action assert response and responseCode SHALL be empty when direction equals request |
(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'
|
| tst-13 | error | TestScript.test.action.assert | Test action assert response and response and responseCode SHALL be empty when direction equals request |
(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'
|
| txt-1 | error | TestScript.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | TestScript.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from TestScript
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | TestScript(5.0.0) | Describes a set of tests Constraints: cnl-0 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | boolean | DSTU2: Whether or not the tests apply to more than one FHIR server (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.multiserver Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this test script (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| TestScript.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | TestScript | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| ele-1 | error | TestScript.implicitRules, TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension, TestScript.name, TestScript.status | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from TestScript
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | TestScript(5.0.0) | Describes a set of tests Constraints: cnl-0 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 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
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | boolean | DSTU2: Whether or not the tests apply to more than one FHIR server (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.multiserver Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for this test script, represented as a URI (globally unique) Constraints: cnl-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Additional identifier for the test script | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | DSTU2: External identifier additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the test script | ||||
![]() ![]() |
Σ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() |
ΣC | 1..1 | string | Name for this test script (computer friendly) | ||||
![]() ![]() |
Σ | 0..1 | string | Name for this test script (human friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher/steward (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: Name of a individual to contact (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.contact.name Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | DSTU2: Contact details for individual or publisher (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.contact.telecom Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
0..1 | markdown | Natural language description of the test script | |||||
![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | DSTU2: Content intends to support these contexts additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.useContext Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Type of context being specified Binding: UsageContextType (1.0.1) (extensible): A code that specifies a type of context being specified by a usage context. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Value that defines the context Binding: ContextOfUseValueSet (example): A code that defines the specific value for the context being specified. | |||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Reference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization) | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for test script (if applicable) Binding: JurisdictionValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() |
0..1 | markdown | Why this test script is defined | |||||
![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() |
0..1 | string | Copyright holder and year(s) | |||||
![]() ![]() |
0..* | BackboneElement | An abstract server representing a client or sender in a message exchange | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | integer | The index of the abstract origin server starting at 1 | |||||
![]() ![]() ![]() |
1..1 | Coding | FHIR-Client | FHIR-SDC-FormFiller Binding: TestScriptProfileOriginType (extensible): The type of origin profile the test system supports. | |||||
![]() ![]() ![]() |
0..1 | url | The url path of the origin server | |||||
![]() ![]() |
0..* | BackboneElement | An abstract server representing a destination or receiver in a message exchange | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | integer | The index of the abstract destination server starting at 1 | |||||
![]() ![]() ![]() |
1..1 | Coding | FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor Binding: TestScriptProfileDestinationType (extensible): The type of destination profile the test system supports. | |||||
![]() ![]() ![]() |
0..1 | url | The url path of the destination server | |||||
![]() ![]() |
C | 0..1 | BackboneElement | Required capability that is assumed to function correctly on the FHIR server being tested Constraints: tst-4 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | BackboneElement | Links to the FHIR specification | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | URL to the specification | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Short description | |||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Capabilities that are assumed to function correctly on the FHIR server being tested | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | boolean | Are the capabilities required? | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | boolean | Are the capabilities validated? | ||||
![]() ![]() ![]() ![]() |
0..1 | string | The expected capabilities of the server | |||||
![]() ![]() ![]() ![]() |
0..* | integer | Which origin server these requirements apply to | |||||
![]() ![]() ![]() ![]() |
0..1 | integer | Which server these requirements apply to | |||||
![]() ![]() ![]() ![]() |
0..* | uri | Links to the FHIR specification | |||||
![]() ![]() ![]() ![]() |
1..1 | canonical(CapabilityStatement) | Required Capability Statement | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Conformance for use in FHIR R5(0.1.0) | CapabilityStatement) | DSTU2: Required Conformance additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.metadata.capability.conformance Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() |
0..* | BackboneElement | Indication of the artifact(s) that are tested by this test case | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | canonical(Resource) | The specific conformance artifact being tested | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | required | optional | strict Binding: TestScriptScopeConformanceType (extensible): The expectation of whether the test must pass for the system to be considered conformant with the artifact. | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | unit | integration | production Binding: TestScriptScopePhaseType (extensible): The phase of testing for this artifact. | |||||
![]() ![]() |
0..* | BackboneElement | Fixture in the test script - by reference (uri) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | boolean | Whether or not to implicitly create the fixture during setup | |||||
![]() ![]() ![]() |
1..1 | boolean | Whether or not to implicitly delete the fixture during teardown | |||||
![]() ![]() ![]() |
0..1 | Reference(Resource) | Reference of the resource | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: resource additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | canonical(StructureDefinition) | Reference of the validation profile | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for DSTU2.Resource for use in FHIR R5(0.1.0) | Resource) | DSTU2: profile additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.profile Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() |
C | 0..* | BackboneElement | Placeholder for evaluated elements Constraints: tst-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | string | Descriptive name for this variable | |||||
![]() ![]() ![]() |
0..1 | string | Default, hard-coded, or user-defined value for this variable | |||||
![]() ![]() ![]() |
0..1 | string | Natural language description of the variable | |||||
![]() ![]() ![]() |
C | 0..1 | string | The FHIRPath expression against the fixture body | ||||
![]() ![]() ![]() |
C | 0..1 | string | HTTP header field name for source | ||||
![]() ![]() ![]() |
0..1 | string | Hint help text for default value to enter | |||||
![]() ![]() ![]() |
C | 0..1 | string | XPath or JSONPath against the fixture body | ||||
![]() ![]() ![]() |
0..1 | id | Fixture Id of source expression or headerField within this variable | |||||
![]() ![]() |
0..1 | BackboneElement | A series of required setup operations before tests are executed | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Capabilities that are assumed to function correctly on the FHIR server being tested (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.metadata Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | A setup operation or assert to perform Constraints: tst-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | BackboneElement | The setup operation to perform Constraints: tst-7 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | Coding | The operation code type that will be executed Binding: TestScriptOperationCode (extensible): FHIR Operation Code Types | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Resource type Binding: ConcreteFHIRTypes (extensible): A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types. | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | DSTU2: resource additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.setup.action.operation.resource Binding: R2DefinedTypesForR5 (0.1.0) (required): Either a resource or a data type. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Primitive value for uri | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/logging operation label | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/reporting operation description | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Mime type to accept in the payload of the response, with charset etc Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: application/fhir+xml | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Mime type of the request payload contents, with charset etc Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: application/fhir+xml | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Server responding to the request | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Whether or not to send the request url in encoded format | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | delete | get | options | patch | post | put | head Binding: TestScriptRequestMethodCode (required): The allowable request method or HTTP operation codes. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | integer | Server initiating the request | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Explicitly defined path parameters | ||||
![]() ![]() ![]() ![]() ![]() |
0..* | BackboneElement | Each operation can have one or more header elements | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | HTTP header field name | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | HTTP headerfield value | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Fixture Id of mapped request | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Fixture Id of mapped response | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | id | Fixture Id of body for PUT and POST requests | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | id | Id of fixture used for extracting the [id], [type], and [vid] for GET requests | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Request URL | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | BackboneElement | The assertion to perform Constraints: tst-5, tst-10, tst-12 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/logging assertion label | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Tracking/reporting assertion description | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | response | request Binding: AssertionDirectionType (required): The direction to use for assertions. | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Id of the source fixture to be evaluated | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | The FHIRPath expression to evaluate against the source fixture | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | XPath or JSONPath expression to evaluate against the source fixture | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | Mime type to compare against the 'Content-Type' header Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) Example General: application/fhir+xml | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | fail | pass | skip | stop Binding: AssertionManualCompletionType (required): The default type of manual completion to use for assertion. | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | The FHIRPath expression to be evaluated | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | HTTP header field name | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Fixture Id of minimum content resource | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | boolean | Perform validation on navigation links? | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval | manualEval Binding: AssertionOperatorType (required): The type of operator to use for assertions. | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | XPath or JSONPath expression | ||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | delete | get | options | patch | post | put | head Binding: TestScriptRequestMethodCode (required): The allowable request method or HTTP operation codes. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Request URL comparison value | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | uri | Resource type Binding: ConcreteFHIRTypes (extensible): A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | DSTU2: resource additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.setup.action.assert.resource Binding: R2DefinedTypesForR5 (0.1.0) (required): Either a resource or a data type. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Primitive value for uri | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | code | continue | switchingProtocols | okay | created | accepted | nonAuthoritativeInformation | noContent | resetContent | partialContent | multipleChoices | movedPermanently | found | seeOther | notModified | useProxy | temporaryRedirect | permanentRedirect | badRequest | unauthorized | paymentRequired | forbidden | notFound | methodNotAllowed | notAcceptable | proxyAuthenticationRequired | requestTimeout | conflict | gone | lengthRequired | preconditionFailed | contentTooLarge | uriTooLong | unsupportedMediaType | rangeNotSatisfiable | expectationFailed | misdirectedRequest | unprocessableContent | upgradeRequired | internalServerError | notImplemented | badGateway | serviceUnavailable | gatewayTimeout | httpVersionNotSupported Binding: AssertionResponseTypes (required): The response code to expect in the response. | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | DSTU2: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable additional codes URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.setup.action.assert.response Binding: R2AssertResponseCodeTypesForR5 (0.1.0) (required): The type of response code to use for assertion. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | HTTP response code to test | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Fixture Id of source expression or headerField | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | If this assert fails, will the current test execution stop? | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | id | Profile Id of validation profile reference | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value to compare to | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Will this assert produce a warning only on error? | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | BackboneElement | Links or references to the testing requirements | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Link or reference to the testing requirement | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
canonical(Requirements) | |||||||
![]() ![]() |
0..* | BackboneElement | A test in this script | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Capabilities that are expected to function correctly on the FHIR server being tested (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript.metadata Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | Tracking/logging name of this test | |||||
![]() ![]() ![]() |
0..1 | string | Tracking/reporting short description of the test | |||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | A test operation or assert to perform Constraints: tst-2 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | See operation (TestScript) | The setup operation to perform Constraints: tst-8 | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | See assert (TestScript) | The setup assertion to perform Constraints: tst-6, tst-11, tst-13 | ||||
![]() ![]() |
0..1 | BackboneElement | A series of required clean up steps | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..* | BackboneElement | One or more teardown operations to perform | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
C | 1..1 | See operation (TestScript) | The teardown operation to perform Constraints: tst-9 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| TestScript.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| TestScript.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| TestScript.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| TestScript.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| TestScript.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| TestScript.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| TestScript.versionAlgorithm[x] | Base | extensible | Version Algorithm | 📍5.0.0 | FHIR Std. |
| TestScript.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| TestScript.useContext.code | Base | extensible | UsageContextType | 📍1.0.1 | THO v7.1 |
| TestScript.useContext.value[x] | Base | example | Context of Use ValueSet | 📍5.0.0 | FHIR Std. |
| TestScript.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍5.0.0 | FHIR Std. |
| TestScript.origin.profile | Base | extensible | Test Script Profile Origin Type | 📍5.0.0 | FHIR Std. |
| TestScript.destination.profile | Base | extensible | Test Script Profile Destination Type | 📍5.0.0 | FHIR Std. |
| TestScript.scope.conformance | Base | extensible | Test Script Scope Conformance Type | 📍5.0.0 | FHIR Std. |
| TestScript.scope.phase | Base | extensible | Test Script Scope Phase Type | 📍5.0.0 | FHIR Std. |
| TestScript.fixture.resource.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| TestScript.setup.action.operation.type | Base | extensible | Test Script Operation Code | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.resource | Base | extensible | Concrete FHIR Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.accept | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.operation.method | Base | required | Test Script Request Method Code | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.direction | Base | required | Assertion Direction Type | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.contentType | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.defaultManualCompletion | Base | required | Assertion Manual Completion Type | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.operator | Base | required | Assertion Operator Type | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.requestMethod | Base | required | Test Script Request Method Code | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.resource | Base | extensible | Concrete FHIR Types | 📍5.0.0 | FHIR Std. |
| TestScript.setup.action.assert.response | Base | required |
Assertion Response Types
|
📍5.0.0 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | TestScript | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | TestScript.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | TestScript.meta, TestScript.meta.extension, TestScript.meta.extension:meta, TestScript.meta.versionId, TestScript.meta.lastUpdated, TestScript.meta.source, TestScript.meta.profile, TestScript.meta.security, TestScript.meta.tag, TestScript.implicitRules, TestScript.language, TestScript.text, TestScript.text.extension, TestScript.text.extension:text, TestScript.text.status, TestScript.text.div, TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension, TestScript.url, TestScript.identifier, TestScript.identifier.extension, TestScript.identifier.extension:identifier, TestScript.identifier.use, TestScript.identifier.type, TestScript.identifier.system, TestScript.identifier.value, TestScript.identifier.period, TestScript.identifier.assigner, TestScript.version, TestScript.versionAlgorithm[x], TestScript.name, TestScript.title, TestScript.status, TestScript.experimental, TestScript.date, TestScript.publisher, TestScript.contact, TestScript.contact.extension, TestScript.contact.extension:name, TestScript.contact.extension:telecom, TestScript.contact.name, TestScript.contact.telecom, TestScript.description, TestScript.useContext, TestScript.useContext.extension, TestScript.useContext.extension:useContext, TestScript.useContext.code, TestScript.useContext.value[x], TestScript.jurisdiction, TestScript.purpose, TestScript.copyright, TestScript.copyrightLabel, TestScript.origin, TestScript.origin.extension, TestScript.origin.modifierExtension, TestScript.origin.index, TestScript.origin.profile, TestScript.origin.url, TestScript.destination, TestScript.destination.extension, TestScript.destination.modifierExtension, TestScript.destination.index, TestScript.destination.profile, TestScript.destination.url, TestScript.metadata, TestScript.metadata.extension, TestScript.metadata.modifierExtension, TestScript.metadata.link, TestScript.metadata.link.extension, TestScript.metadata.link.modifierExtension, TestScript.metadata.link.url, TestScript.metadata.link.description, TestScript.metadata.capability, TestScript.metadata.capability.extension, TestScript.metadata.capability.modifierExtension, TestScript.metadata.capability.required, TestScript.metadata.capability.validated, TestScript.metadata.capability.description, TestScript.metadata.capability.origin, TestScript.metadata.capability.destination, TestScript.metadata.capability.link, TestScript.metadata.capability.capabilities, TestScript.metadata.capability.capabilities.extension, TestScript.metadata.capability.capabilities.extension:conformance, TestScript.scope, TestScript.scope.extension, TestScript.scope.modifierExtension, TestScript.scope.artifact, TestScript.scope.conformance, TestScript.scope.phase, TestScript.fixture, TestScript.fixture.extension, TestScript.fixture.modifierExtension, TestScript.fixture.autocreate, TestScript.fixture.autodelete, TestScript.fixture.resource, TestScript.fixture.resource.extension, TestScript.fixture.resource.extension:resource, TestScript.fixture.resource.reference, TestScript.fixture.resource.type, TestScript.fixture.resource.identifier, TestScript.fixture.resource.display, TestScript.profile, TestScript.profile.extension, TestScript.profile.extension:profile, TestScript.variable, TestScript.variable.extension, TestScript.variable.modifierExtension, TestScript.variable.name, TestScript.variable.defaultValue, TestScript.variable.description, TestScript.variable.expression, TestScript.variable.headerField, TestScript.variable.hint, TestScript.variable.path, TestScript.variable.sourceId, TestScript.setup, TestScript.setup.extension, TestScript.setup.extension:metadata, TestScript.setup.modifierExtension, TestScript.setup.action, TestScript.setup.action.extension, TestScript.setup.action.modifierExtension, TestScript.setup.action.operation, TestScript.setup.action.operation.extension, TestScript.setup.action.operation.modifierExtension, TestScript.setup.action.operation.type, TestScript.setup.action.operation.resource, TestScript.setup.action.operation.resource.extension, TestScript.setup.action.operation.resource.extension:resource, TestScript.setup.action.operation.label, TestScript.setup.action.operation.description, TestScript.setup.action.operation.accept, TestScript.setup.action.operation.contentType, TestScript.setup.action.operation.destination, TestScript.setup.action.operation.encodeRequestUrl, TestScript.setup.action.operation.method, TestScript.setup.action.operation.origin, TestScript.setup.action.operation.params, TestScript.setup.action.operation.requestHeader, TestScript.setup.action.operation.requestHeader.extension, TestScript.setup.action.operation.requestHeader.modifierExtension, TestScript.setup.action.operation.requestHeader.field, TestScript.setup.action.operation.requestHeader.value, TestScript.setup.action.operation.requestId, TestScript.setup.action.operation.responseId, TestScript.setup.action.operation.sourceId, TestScript.setup.action.operation.targetId, TestScript.setup.action.operation.url, TestScript.setup.action.assert, TestScript.setup.action.assert.extension, TestScript.setup.action.assert.modifierExtension, TestScript.setup.action.assert.label, TestScript.setup.action.assert.description, TestScript.setup.action.assert.direction, TestScript.setup.action.assert.compareToSourceId, TestScript.setup.action.assert.compareToSourceExpression, TestScript.setup.action.assert.compareToSourcePath, TestScript.setup.action.assert.contentType, TestScript.setup.action.assert.defaultManualCompletion, TestScript.setup.action.assert.expression, TestScript.setup.action.assert.headerField, TestScript.setup.action.assert.minimumId, TestScript.setup.action.assert.navigationLinks, TestScript.setup.action.assert.operator, TestScript.setup.action.assert.path, TestScript.setup.action.assert.requestMethod, TestScript.setup.action.assert.requestURL, TestScript.setup.action.assert.resource, TestScript.setup.action.assert.resource.extension, TestScript.setup.action.assert.resource.extension:resource, TestScript.setup.action.assert.response, TestScript.setup.action.assert.response.extension, TestScript.setup.action.assert.response.extension:response, TestScript.setup.action.assert.responseCode, TestScript.setup.action.assert.sourceId, TestScript.setup.action.assert.stopTestOnFail, TestScript.setup.action.assert.validateProfileId, TestScript.setup.action.assert.value, TestScript.setup.action.assert.warningOnly, TestScript.setup.action.assert.requirement, TestScript.setup.action.assert.requirement.extension, TestScript.setup.action.assert.requirement.modifierExtension, TestScript.setup.action.assert.requirement.link[x], TestScript.test, TestScript.test.extension, TestScript.test.extension:metadata, TestScript.test.modifierExtension, TestScript.test.name, TestScript.test.description, TestScript.test.action, TestScript.test.action.extension, TestScript.test.action.modifierExtension, TestScript.test.action.operation, TestScript.test.action.assert, TestScript.teardown, TestScript.teardown.extension, TestScript.teardown.modifierExtension, TestScript.teardown.action, TestScript.teardown.action.extension, TestScript.teardown.action.modifierExtension, TestScript.teardown.action.operation | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | TestScript.meta.extension, TestScript.meta.extension:meta, TestScript.text.extension, TestScript.text.extension:text, TestScript.extension, TestScript.extension:multiserver, TestScript.modifierExtension, TestScript.identifier.extension, TestScript.identifier.extension:identifier, TestScript.contact.extension, TestScript.contact.extension:name, TestScript.contact.extension:telecom, TestScript.useContext.extension, TestScript.useContext.extension:useContext, TestScript.origin.extension, TestScript.origin.modifierExtension, TestScript.destination.extension, TestScript.destination.modifierExtension, TestScript.metadata.extension, TestScript.metadata.modifierExtension, TestScript.metadata.link.extension, TestScript.metadata.link.modifierExtension, TestScript.metadata.capability.extension, TestScript.metadata.capability.modifierExtension, TestScript.metadata.capability.capabilities.extension, TestScript.metadata.capability.capabilities.extension:conformance, TestScript.scope.extension, TestScript.scope.modifierExtension, TestScript.fixture.extension, TestScript.fixture.modifierExtension, TestScript.fixture.resource.extension, TestScript.fixture.resource.extension:resource, TestScript.profile.extension, TestScript.profile.extension:profile, TestScript.variable.extension, TestScript.variable.modifierExtension, TestScript.setup.extension, TestScript.setup.extension:metadata, TestScript.setup.modifierExtension, TestScript.setup.action.extension, TestScript.setup.action.modifierExtension, TestScript.setup.action.operation.extension, TestScript.setup.action.operation.modifierExtension, TestScript.setup.action.operation.resource.extension, TestScript.setup.action.operation.resource.extension:resource, TestScript.setup.action.operation.requestHeader.extension, TestScript.setup.action.operation.requestHeader.modifierExtension, TestScript.setup.action.assert.extension, TestScript.setup.action.assert.modifierExtension, TestScript.setup.action.assert.resource.extension, TestScript.setup.action.assert.resource.extension:resource, TestScript.setup.action.assert.response.extension, TestScript.setup.action.assert.response.extension:response, TestScript.setup.action.assert.requirement.extension, TestScript.setup.action.assert.requirement.modifierExtension, TestScript.test.extension, TestScript.test.extension:metadata, TestScript.test.modifierExtension, TestScript.test.action.extension, TestScript.test.action.modifierExtension, TestScript.teardown.extension, TestScript.teardown.modifierExtension, TestScript.teardown.action.extension, TestScript.teardown.action.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| tst-1 | error | TestScript.setup.action | Setup action SHALL contain either an operation or assert but not both. |
operation.exists() xor assert.exists()
|
| tst-2 | error | TestScript.test.action | Test action SHALL contain either an operation or assert but not both. |
operation.exists() xor assert.exists()
|
| tst-3 | error | TestScript.variable | Variable can only contain one of expression, headerField or path. |
expression.empty() or headerField.empty() or path.empty()
|
| tst-4 | error | TestScript.metadata | TestScript metadata capability SHALL contain required or validated or both. |
capability.required.exists() or capability.validated.exists()
|
| tst-5 | error | TestScript.setup.action.assert | Only a single assertion SHALL be present within setup action assert element. |
extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() <=1) or (((expression.count() + minimumId.count() <=2) or (expression.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1)) or (((path.count() + minimumId.count() <=2) or (path.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1))
|
| tst-6 | error | TestScript.test.action.assert | Only a single assertion SHALL be present within test action assert element. |
extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() <=1) or (((expression.count() + minimumId.count() <=2) or (expression.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1)) or (((path.count() + minimumId.count() <=2) or (path.count() + validateProfileId.count() <=2)) and (expression.count() + path.count() <=1) and (minimumId.count() + validateProfileId.count() <=1))
|
| tst-7 | error | TestScript.setup.action.operation | Setup operation SHALL contain either sourceId or targetId or params or url. |
sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))
|
| tst-8 | error | TestScript.test.action.operation | Test operation SHALL contain either sourceId or targetId or params or url. |
sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))
|
| tst-9 | error | TestScript.teardown.action.operation | Teardown operation SHALL contain either sourceId or targetId or params or url. |
sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))
|
| tst-10 | error | TestScript.setup.action.assert | Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. |
compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())
|
| tst-11 | error | TestScript.test.action.assert | Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither. |
compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())
|
| tst-12 | error | TestScript.setup.action.assert | Setup action assert response and responseCode SHALL be empty when direction equals request |
(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'
|
| tst-13 | error | TestScript.test.action.assert | Test action assert response and response and responseCode SHALL be empty when direction equals request |
(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'
|
| txt-1 | error | TestScript.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | TestScript.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from TestScript
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron