This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 4.0.1. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
Generated Questionnaire for TestScript
{ "resourceType": "Questionnaire", "id": "qs1", "identifier": [ { "system": "urn:ietf:rfc:3986" } ], "status": "draft", "date": "2019-10-24T11:53:00+11:00", "publisher": "Health Level Seven International (FHIR Infrastructure)", "item": [ { "linkId": "TestScript", "text": "Describes a set of tests", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A structured set of tests against a FHIR server implementation to determine compliance against the FHIR specification.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "type": "display" }, { "linkId": "TestScript.id.value", "text": "Logical id of this artifact", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.meta", "text": "Metadata about the resource", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "uri" } ], "linkId": "TestScript.implicitRules", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.", "type": "display" }, { "linkId": "TestScript.implicitRules.value", "text": "A set of rules under which this content was created", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.language", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "type": "display" }, { "linkId": "TestScript.language.value", "text": "language", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.text", "text": "Text summary of the resource, for human interpretation", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.", "type": "display" } ] }, { "linkId": "TestScript.contained", "text": "Contained, inline Resources", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.", "type": "display" } ] }, { "linkId": "TestScript.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "uri" } ], "linkId": "TestScript.url", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "An absolute URI that is used to identify this test script when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this test script is (or will be) published. The URL SHOULD include the major version of the test script. For more information see [Technical and Business Versions](resource.html#versions). Can be a urn:uuid: or a urn:oid:, but real http: addresses are preferred. Multiple instances may share the same url if they have a distinct version.", "type": "display" }, { "linkId": "TestScript.url.value", "text": "Logical URI to reference this test script (globally unique)", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Identifier" } ], "linkId": "TestScript.identifier", "text": "Additional identifier for the test script", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance. Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, e.g., to identify this test script outside of FHIR, where it is not possible to use the logical URI.", "type": "display" }, { "linkId": "TestScript.identifier.label", "text": "label:", "type": "string", "required": false, "repeats": false }, { "linkId": "TestScript.identifier.system", "text": "system:", "type": "string", "required": false, "repeats": false }, { "linkId": "TestScript.identifier.value", "text": "value:", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.version", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. There may be different test script instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a refrence to a particular business version of the test script with the format [url]|[version].", "type": "display" }, { "linkId": "TestScript.version.value", "text": "Business version of the test script", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.name", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A natural language name identifying the test script. This name should be usable as an identifier for the module by machine processing applications such as code generation. The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly.", "type": "display" }, { "linkId": "TestScript.name.value", "text": "Name for this test script (computer friendly)", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.title", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A short, descriptive, user-friendly title for the test script. This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.", "type": "display" }, { "linkId": "TestScript.title.value", "text": "Name for this test script (human friendly)", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.status", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The status of this test script. Enables tracking the life-cycle of the content. Allows filtering of test scripts that are appropriate for use vs. not. \nThis is labeled as \"Is Modifier\" because applications should not use a retired test script without due consideration.", "type": "display" }, { "linkId": "TestScript.status.value", "text": "status", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.experimental", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. Allows filtering of test script that are appropriate for use vs. not. This is labeled as \"Is Modifier\" because applications should not use an experimental test script in production.", "type": "display" }, { "linkId": "TestScript.experimental.value", "text": "For testing purposes, not real usage", "type": "boolean", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "datetime" } ], "linkId": "TestScript.date", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The date (and optionally time) when the test script was published. The date must change if and when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the test script. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.", "type": "display" }, { "linkId": "TestScript.date.value", "text": "Date this was last changed", "type": "dateTime", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.publisher", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The name of the individual or organization that published the test script. Usually an organization, but may be an individual. The publisher (or steward) of the test script is the organization or individual primarily responsible for the maintenance and upkeep of the test script. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the test script. This item SHOULD be populated unless the information is available from context.", "type": "display" }, { "linkId": "TestScript.publisher.value", "text": "Name of the publisher (organization or individual)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.contact", "text": "Contact details for the publisher", "type": "group", "required": false, "repeats": true, "item": [ { "text": "May be a web site, an email address, a telephone number, etc.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Contact details to assist a user in finding and communicating with the publisher.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.description", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A free text natural language description of the test script from a consumer's perspective. This description can be used to capture details such as why the test script was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the test script as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the profile is presumed to be the predominant language in the place the profile was created).", "type": "display" }, { "linkId": "TestScript.description.value", "text": "Natural language description of the test script", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.useContext", "text": "Context the content is intended to support", "type": "group", "required": false, "repeats": true, "item": [ { "text": "When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate test script instances.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "CodeableConcept" } ], "linkId": "TestScript.jurisdiction", "text": "Intended jurisdiction for test script (if applicable)", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A legal or geographic region in which the test script is intended to be used. It may be possible for the test script to be used in jurisdictions other than those for which it was originally designed or intended.", "type": "display" }, { "linkId": "TestScript.jurisdiction.coding", "text": "code:", "type": "open-choice", "required": false, "repeats": false }, { "linkId": "TestScript.jurisdiction.text", "text": "text:", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.purpose", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Explaination of why this test script is needed and why it has been designed as it has. This element does not describe the usage of the test script Instead it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this test script.", "type": "display" }, { "linkId": "TestScript.purpose.value", "text": "Why this test script is defined", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.copyright", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script.", "type": "display" }, { "linkId": "TestScript.copyright.value", "text": "Use and/or publishing restrictions", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.origin", "text": "An abstract server representing a client or sender in a message exchange", "type": "group", "required": false, "repeats": true, "item": [ { "text": "The purpose of this element is to define the profile of an origin element used elsewhere in the script. Test engines could then use the origin-profile mapping to offer a filtered list of test systems that can serve as the sender for the interaction.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "An abstract server used in operations within this test script in the origin element.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.origin.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.origin.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.origin.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.origin.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "integer" } ], "linkId": "TestScript.origin.index", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Abstract name given to an origin server in this test script. The name is provided as a number starting at 1. A given origin index (e.g. 1) can appear only once in the list (e.g. Origin 1 cannot be specified twice ... once as FormFiller and and again as FormProcessor within the same script as that could get confusing during test configuration). \n\nDifferent origin indices could play the same actor in the same test script (e.g. You could have two different test systems acting as Form-Filler).\n\nThe origin indices provided elsewhere in the test script must be one of these origin indices.", "type": "display" }, { "linkId": "TestScript.origin.index.value", "text": "The index of the abstract origin server starting at 1", "type": "integer", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Coding" } ], "linkId": "TestScript.origin.profile", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The type of origin profile the test system supports. Must be a \"sender\"/\"client\" profile.", "type": "display" }, { "linkId": "TestScript.origin.profile.value", "text": "FHIR-Client | FHIR-SDC-FormFiller", "type": "open-choice", "required": false, "repeats": false } ] } ] }, { "linkId": "TestScript.destination", "text": "An abstract server representing a destination or receiver in a message exchange", "type": "group", "required": false, "repeats": true, "item": [ { "text": "The purpose of this element is to define the profile of a destination element used elsewhere in the script. Test engines could then use the destination-profile mapping to offer a filtered list of test systems that can serve as the receiver for the interaction.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "An abstract server used in operations within this test script in the destination element.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.destination.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.destination.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.destination.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.destination.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "integer" } ], "linkId": "TestScript.destination.index", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Abstract name given to a destination server in this test script. The name is provided as a number starting at 1. A given destination index (e.g. 1) can appear only once in the list (e.g. Destination 1 cannot be specified twice ... once as Form-Manager and again as Form-Processor within the same script as that could get confusing during test configuration). \n\nDifferent destination indices could play the same actor in the same test script (e.g. You could have two different test systems acting as Form-Manager).\n\nThe destination indices provided elsewhere in the test script must be one of these destination indices.", "type": "display" }, { "linkId": "TestScript.destination.index.value", "text": "The index of the abstract destination server starting at 1", "type": "integer", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Coding" } ], "linkId": "TestScript.destination.profile", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The type of destination profile the test system supports. Must be a \"receiver\"/\"server\" profile.", "type": "display" }, { "linkId": "TestScript.destination.profile.value", "text": "FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor", "type": "open-choice", "required": false, "repeats": false } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.metadata", "text": "Required capability that is assumed to function correctly on the FHIR server being tested", "type": "group", "required": false, "repeats": false, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The required capability must exist and are assumed to function correctly on the FHIR server being tested.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.metadata.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.metadata.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.metadata.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.metadata.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.metadata.link", "text": "Links to the FHIR specification", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A link to the FHIR specification that this test is covering.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.metadata.link.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.metadata.link.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.metadata.link.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.metadata.link.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "uri" } ], "linkId": "TestScript.metadata.link.url", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "URL to a particular requirement or feature within the FHIR specification.", "type": "display" }, { "linkId": "TestScript.metadata.link.url.value", "text": "URL to the specification", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.metadata.link.description", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Short description of the link.", "type": "display" }, { "linkId": "TestScript.metadata.link.description.value", "text": "Short description", "type": "string", "required": false, "repeats": false } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 } ], "linkId": "TestScript.metadata.capability", "text": "Capabilities that are assumed to function correctly on the FHIR server being tested", "type": "group", "required": true, "repeats": true, "item": [ { "text": "When the metadata capabilities section is defined at TestScript.metadata or at TestScript.setup.metadata, and the server's conformance statement does not contain the elements defined in the minimal conformance statement, then all the tests in the TestScript are skipped. When the metadata capabilities section is defined at TestScript.test.metadata and the server's conformance statement does not contain the elements defined in the minimal conformance statement, then only that test is skipped. The \"metadata.capabilities.required\" and \"metadata.capabilities.validated\" elements only indicate whether the capabilities are the primary focus of the test script or not. They do not impact the skipping logic. Capabilities whose \"metadata.capabilities.validated\" flag is true are the primary focus of the test script.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.metadata.capability.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.metadata.capability.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.metadata.capability.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.metadata.capability.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.metadata.capability.required", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.", "type": "display" }, { "linkId": "TestScript.metadata.capability.required.value", "text": "Are the capabilities required?", "type": "boolean", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.metadata.capability.validated", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.", "type": "display" }, { "linkId": "TestScript.metadata.capability.validated.value", "text": "Are the capabilities validated?", "type": "boolean", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.metadata.capability.description", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Description of the capabilities that this test script is requiring the server to support.", "type": "display" }, { "linkId": "TestScript.metadata.capability.description.value", "text": "The expected capabilities of the server", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "integer" } ], "linkId": "TestScript.metadata.capability.origin", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Which origin server these requirements apply to.", "type": "display" }, { "linkId": "TestScript.metadata.capability.origin.value", "text": "Which origin server these requirements apply to", "type": "integer", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "integer" } ], "linkId": "TestScript.metadata.capability.destination", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Which server these requirements apply to.", "type": "display" }, { "linkId": "TestScript.metadata.capability.destination.value", "text": "Which server these requirements apply to", "type": "integer", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "uri" } ], "linkId": "TestScript.metadata.capability.link", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Links to the FHIR specification that describes this interaction and the resources involved in more detail.", "type": "display" }, { "linkId": "TestScript.metadata.capability.link.value", "text": "Links to the FHIR specification", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Reference" } ], "linkId": "TestScript.metadata.capability.capabilities", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Minimum capabilities required of server for test script to execute successfully. If server does not meet at a minimum the referenced capability statement, then all tests in this script are skipped. The conformance statement of the server has to contain at a minimum the contents of the reference pointed to by this element.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource", "valueCode": "CapabilityStatement" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "valueString": "subject=$subj&patient=$subj&encounter=$encounter" } ], "linkId": "TestScript.metadata.capability.capabilities.value", "text": "Required Capability Statement", "type": "reference", "required": false, "repeats": false } ] } ] } ] }, { "linkId": "TestScript.fixture", "text": "Fixture in the test script - by reference (uri)", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.fixture.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.fixture.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.fixture.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.fixture.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.fixture.autocreate", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section.", "type": "display" }, { "linkId": "TestScript.fixture.autocreate.value", "text": "Whether or not to implicitly create the fixture during setup", "type": "boolean", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.fixture.autodelete", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Whether or not to implicitly delete the fixture during teardown. If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section.", "type": "display" }, { "linkId": "TestScript.fixture.autodelete.value", "text": "Whether or not to implicitly delete the fixture during teardown", "type": "boolean", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Reference" } ], "linkId": "TestScript.fixture.resource", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Reference to the resource (containing the contents of the resource needed for operations). See http://hl7.org/fhir/STU3/resourcelist.html for complete list of resource types.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource", "valueCode": "Resource" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "valueString": "subject=$subj&patient=$subj&encounter=$encounter" } ], "linkId": "TestScript.fixture.resource.value", "text": "Reference of the resource", "type": "reference", "required": false, "repeats": false } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Reference" } ], "linkId": "TestScript.profile", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Reference to the profile to be used for validation. See http://hl7.org/fhir/STU3/resourcelist.html for complete list of resource types.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource", "valueCode": "Resource" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "valueString": "subject=$subj&patient=$subj&encounter=$encounter" } ], "linkId": "TestScript.profile.value", "text": "Reference of the validation profile", "type": "reference", "required": false, "repeats": false } ] }, { "linkId": "TestScript.variable", "text": "Placeholder for evaluated elements", "type": "group", "required": false, "repeats": true, "item": [ { "text": "Variables would be set based either on XPath/JSONPath expressions against fixtures (static and response), or headerField evaluations against response headers. If variable evaluates to nodelist or anything other than a primitive value, then test engine would report an error. Variables would be used to perform clean replacements in \"operation.params\", \"operation.requestHeader.value\", and \"operation.url\" element values during operation calls and in \"assert.value\" during assertion evaluations. This limits the places that test engines would need to look for placeholders \"${}\". Variables are scoped to the whole script. They are NOT evaluated at declaration. They are evaluated by test engine when used for substitutions in \"operation.params\", \"operation.requestHeader.value\", and \"operation.url\" element values during operation calls and in \"assert.value\" during assertion evaluations. See example testscript-search.xml.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Variable is set based either on element value in response body or on header field value in the response headers.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.variable.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.variable.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.variable.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.name", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Descriptive name for this variable. Placeholders would contain the variable name wrapped in ${} in \"operation.params\", \"operation.requestHeader.value\", and \"operation.url\" elements. These placeholders would need to be replaced by the variable value before the operation is executed.", "type": "display" }, { "linkId": "TestScript.variable.name.value", "text": "Descriptive name for this variable", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.defaultValue", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A default, hard-coded, or user-defined value for this variable. The purpose of this element is to allow for a pre-defined value that can be used as a default or as an override value. Test engines can optionally use this as a placeholder for user-defined execution time values.", "type": "display" }, { "linkId": "TestScript.variable.defaultValue.value", "text": "Default, hard-coded, or user-defined value for this variable", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.description", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A free text natural language description of the variable and its purpose.", "type": "display" }, { "linkId": "TestScript.variable.description.value", "text": "Natural language description of the variable", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.expression", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The fluentpath expression to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified. If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to. If expression or path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to. It is an error to define any combination of expression, headerField and path.", "type": "display" }, { "linkId": "TestScript.variable.expression.value", "text": "The fluentpath expression against the fixture body", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.headerField", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Will be used to grab the HTTP header field value from the headers that sourceId is pointing to. If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to. If path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to. It is an error to define both headerField and path.", "type": "display" }, { "linkId": "TestScript.variable.headerField.value", "text": "HTTP header field name for source", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.hint", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Displayable text string with hint help information to the user when entering a default value.", "type": "display" }, { "linkId": "TestScript.variable.hint.value", "text": "Hint help text for default value to enter", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.path", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "XPath or JSONPath to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified. If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to. If expression or path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to. It is an error to define any combination of expression, headerField and path.", "type": "display" }, { "linkId": "TestScript.variable.path.value", "text": "XPath or JSONPath against the fixture body", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.variable.sourceId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable. This can be a statically defined fixture (at the top of the TestScript) or a dynamically set fixture created by responseId of the `action.operation` element.", "type": "display" }, { "linkId": "TestScript.variable.sourceId.value", "text": "Fixture Id of source expression or headerField within this variable", "type": "string", "required": false, "repeats": false } ] } ] }, { "linkId": "TestScript.rule", "text": "Assert rule used within the test script", "type": "group", "required": false, "repeats": true, "item": [ { "text": "Each rule should be treated by test engines as one assertion regardless of how many assertions are contained within the external rule template. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is described elsewhere in the TestScript resource.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Assert rule to be used in one or more asserts within the test script.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.rule.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.rule.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.rule.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.rule.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Reference" } ], "linkId": "TestScript.rule.resource", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Reference to the resource (containing the contents of the rule needed for assertions).", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource", "valueCode": "Resource" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "valueString": "subject=$subj&patient=$subj&encounter=$encounter" } ], "linkId": "TestScript.rule.resource.value", "text": "Assert rule resource reference", "type": "reference", "required": false, "repeats": false } ] }, { "linkId": "TestScript.rule.param", "text": "Rule parameter template", "type": "group", "required": false, "repeats": true, "item": [ { "text": "The parameter value can be dynamic at runtime.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Each rule template can take one or more parameters for rule evaluation.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.rule.param.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.rule.param.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.rule.param.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.rule.param.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.rule.param.name", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Descriptive name for this parameter that matches the external assert rule parameter name. The external rule template would be looking for the parameter by this name.", "type": "display" }, { "linkId": "TestScript.rule.param.name.value", "text": "Parameter name matching external assert rule parameter", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.rule.param.value", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The explicit or dynamic value for the parameter that will be passed on to the external rule template. This value can be overwritten by the assert.rule.param.value i.e. TestScript.rule.param.value will be used if assert.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.", "type": "display" }, { "linkId": "TestScript.rule.param.value.value", "text": "Parameter value defined either explicitly or dynamically", "type": "string", "required": false, "repeats": false } ] } ] } ] }, { "linkId": "TestScript.ruleset", "text": "Assert ruleset used within the test script", "type": "group", "required": false, "repeats": true, "item": [ { "text": "Each rule within a ruleset should be treated by test engines as one assertion regardless of how many assertions are contained within the external rule template. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is described elsewhere in the TestScript resource.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Contains one or more rules. Offers a way to group rules so assertions could reference the group of rules and have them all applied.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.ruleset.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.ruleset.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.ruleset.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.ruleset.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Reference" } ], "linkId": "TestScript.ruleset.resource", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Reference to the resource (containing the contents of the ruleset needed for assertions).", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource", "valueCode": "Resource" }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter", "valueString": "subject=$subj&patient=$subj&encounter=$encounter" } ], "linkId": "TestScript.ruleset.resource.value", "text": "Assert ruleset resource reference", "type": "reference", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 } ], "linkId": "TestScript.ruleset.rule", "text": "The referenced rule within the ruleset", "type": "group", "required": true, "repeats": true, "item": [ { "text": "This qualifies each param name so that a parameter with the same name can be used differently by the different rules with the ruleset.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The referenced rule within the external ruleset template.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.ruleset.rule.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.ruleset.rule.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.ruleset.rule.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.ruleset.rule.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.ruleset.rule.ruleId", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Id of the referenced rule within the external ruleset template.", "type": "display" }, { "linkId": "TestScript.ruleset.rule.ruleId.value", "text": "Id of referenced rule within the ruleset", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.ruleset.rule.param", "text": "Ruleset rule parameter template", "type": "group", "required": false, "repeats": true, "item": [ { "text": "The parameter value can be dynamic at runtime.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Each rule template can take one or more parameters for rule evaluation.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.ruleset.rule.param.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.ruleset.rule.param.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.ruleset.rule.param.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.ruleset.rule.param.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.ruleset.rule.param.name", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Descriptive name for this parameter that matches the external assert ruleset rule parameter name. The external rule template would be looking for the parameter by this name.", "type": "display" }, { "linkId": "TestScript.ruleset.rule.param.name.value", "text": "Parameter name matching external assert ruleset rule parameter", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.ruleset.rule.param.value", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The value for the parameter that will be passed on to the external ruleset rule template. This value can be overwritten by the assert.ruleset.rule.param.value i.e. TestScript.ruleset.rule.param.value will be used if assert.ruleset.rule.param.value is not specified. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.", "type": "display" }, { "linkId": "TestScript.ruleset.rule.param.value.value", "text": "Parameter value defined either explicitly or dynamically", "type": "string", "required": false, "repeats": false } ] } ] } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.setup", "text": "A series of required setup operations before tests are executed", "type": "group", "required": false, "repeats": false, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A series of required setup operations before tests are executed.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 } ], "linkId": "TestScript.setup.action", "text": "A setup operation or assert to perform", "type": "group", "required": true, "repeats": true, "item": [ { "text": "An action should contain either an operation or an assertion but not both. It can contain any number of variables.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Action would contain either an operation or an assertion.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.setup.action.operation", "text": "The setup operation to perform", "type": "group", "required": false, "repeats": false, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The operation to perform.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.operation.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.operation.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "Coding" } ], "linkId": "TestScript.setup.action.operation.type", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Server interaction or operation type. See http://hl7.org/fhir/STU3/http.html for list of server interactions.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.type.value", "text": "The operation code type that will be executed", "type": "open-choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.operation.resource", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The type of the resource. See http://hl7.org/fhir/STU3/resourcelist.html. If \"url\" element is specified, then \"targetId\", \"params\", and \"resource\" elements will be ignored as \"url\" element will have everything needed for constructing the request url. If \"params\" element is specified, then \"targetId\" element is ignored. For FHIR operations that require a resource (e.g. \"read\" and \"vread\" operations), the \"resource\" element must be specified when \"params\" element is specified. If \"url\" and \"params\" elements are absent, then the request url will be constructed from \"targetId\" fixture if present. For \"read\" operation, the resource and id values will be extracted from \"targetId\" fixture and used to construct the url. For \"vread\" and \"history\" operations, the versionId value will also be used.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.resource.value", "text": "resource", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.label", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The label would be used for tracking/logging purposes by test engines. This has no impact on the verification itself.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.label.value", "text": "Tracking/logging operation label", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.description", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The description would be used by test engines for tracking and reporting purposes. This has no impact on the verification itself.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.description.value", "text": "Tracking/reporting operation description", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.operation.accept", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The content-type or mime-type to use for RESTful operation in the 'Accept' header. If this is specified, then test engine shall set the 'Accept' header to the corresponding value. If 'xml' is specified, then 'Accept' header of 'application/fhir+xml' will be set. If 'json' is specified, then 'application/fhir+json' will be used. If you'd like to explicitly set the 'Accept' to some other value then use the 'requestHeader' element.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.accept.value", "text": "accept", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.operation.contentType", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The content-type or mime-type to use for RESTful operation in the 'Content-Type' header. If this is specified, then test engine shall set the 'Content-Type' header to the corresponding value. If 'xml' is specified, then 'Content-Type' header of 'application/fhir+xml' will be set. If 'json' is specified, then 'application/fhir+json' will be used. If you'd like to explicitly set the 'Content-Type' to some other value then use the 'requestHeader' element.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.contentType.value", "text": "content type", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "integer" } ], "linkId": "TestScript.setup.action.operation.destination", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section. If multiple TestScript.destination elements are defined and operation.destination is undefined, test engine will report an error as it cannot determine what destination to use for the exchange.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.destination.value", "text": "Server responding to the request", "type": "integer", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.setup.action.operation.encodeRequestUrl", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.encodeRequestUrl.value", "text": "Whether or not to send the request url in encoded format", "type": "boolean", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "integer" } ], "linkId": "TestScript.setup.action.operation.origin", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section. If absent, test engine will send the message. When present, test engine will not send the request message but will wait for the request message to be sent from this origin server.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.origin.value", "text": "Server initiating the request", "type": "integer", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.params", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Path plus parameters after [type]. Used to set parts of the request URL explicitly. If \"url\" element is specified, then \"targetId\", \"params\", and \"resource\" elements will be ignored as \"url\" element will have everything needed for constructing the request url. If \"params\" element is specified, then \"targetId\" element is ignored. For FHIR operations that require a resource (e.g. \"read\" and \"vread\" operations), the \"resource\" element must be specified when \"params\" element is specified. If \"url\" and \"params\" elements are absent, then the request url will be constructed from \"targetId\" fixture if present. For \"read\" operation, the resource and id values will be extracted from \"targetId\" fixture and used to construct the url. For \"vread\" and \"history\" operations, the versionId value will also be used. Test engines would append whatever is specified for \"params\" to the URL after the resource type without tampering with the string (beyond encoding the URL for HTTP). The \"params\" element does not correspond exactly to \"search parameters\". Nor is it the \"path\". It corresponds to the part of the URL that comes after the [type] (when \"resource\" element is specified); e.g. It corresponds to \"/[id]/_history/[vid] {?_format=[mime-type]}\" in the following operation: GET [base]/[type]/[id]/_history/[vid] {?_format=[mime-type]} Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.params.value", "text": "Explicitly defined path parameters", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.operation.requestHeader", "text": "Each operation can have one or more header elements", "type": "group", "required": false, "repeats": true, "item": [ { "text": "This gives control to test-script writers to set headers explicitly based on test requirements. It will allow for testing using: - \"If-Modified-Since\" and \"If-None-Match\" headers. See http://hl7.org/fhir/STU3/http.html#2.1.0.5.1 - \"If-Match\" header. See http://hl7.org/fhir/STU3/http.html#2.1.0.11 - Conditional Create using \"If-None-Exist\". See http://hl7.org/fhir/STU3/http.html#2.1.0.13.1 - Invalid \"Content-Type\" header for negative testing. - etc.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Header elements would be used to set HTTP headers.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.requestHeader.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.requestHeader.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.operation.requestHeader.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.operation.requestHeader.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.requestHeader.field", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The HTTP header field e.g. \"Accept\". If header element is specified, then field is required.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.requestHeader.field.value", "text": "HTTP header field name", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.requestHeader.value", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The value of the header e.g. \"application/fhir+xml\". If header element is specified, then value is required. No conversions will be done by the test engine e.g. \"xml\" to \"application/fhir+xml\". The values will be set in HTTP headers \"as-is\". Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.requestHeader.value.value", "text": "HTTP headerfield value", "type": "string", "required": false, "repeats": false } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.requestId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The fixture id (maybe new) to map to the request. If a requestId is supplied, then the resulting request (both headers and body) is mapped to the fixture ID (which may be entirely new and previously undeclared) designated by \"requestId\". If requestId is not specified, it is the test engine's responsibility to store the request and use it as the requestId in subsequent assertions when assertion path and/or headerField is specified, direction is equal to request, and the requestId in not specified.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.requestId.value", "text": "Fixture Id of mapped request", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.responseId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The fixture id (maybe new) to map to the response. If a responseId is supplied, and the server responds, then the resulting response (both headers and body) is mapped to the fixture ID (which may be entirely new and previously undeclared) designated by \"responseId\". If responseId is not specified, it is the test engine's responsibility to store the response and use it as the responseId in subsequent assertions when assertion path and/or headerField is specified and the responseId is not specified.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.responseId.value", "text": "Fixture Id of mapped response", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.sourceId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The id of the fixture used as the body of a PUT or POST request.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.sourceId.value", "text": "Fixture Id of body for PUT and POST requests", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.targetId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Id of fixture used for extracting the [id], [type], and [vid] for GET requests. If \"url\" element is specified, then \"targetId\", \"params\", and \"resource\" elements will be ignored as \"url\" element will have everything needed for constructing the request url. If \"params\" element is specified, then \"targetId\" element is ignored. For FHIR operations that require a resource (e.g. \"read\" and \"vread\" operations), the \"resource\" element must be specified when \"params\" element is specified. If \"url\" and \"params\" elements are absent, then the request url will be constructed from \"targetId\" fixture if present. For \"read\" operation, the resource and id values will be extracted from \"targetId\" fixture and used to construct the url. For \"vread\" and \"history\" operations, the versionId value will also be used.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.targetId.value", "text": "Id of fixture used for extracting the [id], [type], and [vid] for GET requests", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.operation.url", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Complete request URL. Used to set the request URL explicitly. If \"url\" element is defined, then \"targetId\", \"resource\", and \"params\" elements will be ignored. Test engines would use whatever is specified in \"url\" without tampering with the string (beyond encoding the URL for HTTP). Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request.", "type": "display" }, { "linkId": "TestScript.setup.action.operation.url.value", "text": "Request URL", "type": "string", "required": false, "repeats": false } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.setup.action.assert", "text": "The assertion to perform", "type": "group", "required": false, "repeats": false, "item": [ { "text": "In order to evaluate an assertion, the request, response, and results of the most recently executed operation must always be maintained by the test engine.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Evaluates the results of previous operations to determine if the server under test behaves appropriately.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.assert.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.label", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The label would be used for tracking/logging purposes by test engines. This has no impact on the verification itself.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.label.value", "text": "Tracking/logging assertion label", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.description", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The description would be used by test engines for tracking and reporting purposes. This has no impact on the verification itself.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.description.value", "text": "Tracking/reporting assertion description", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.assert.direction", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The direction to use for the assertion. If the direction is specified as \"response\" (the default), then the processing of this assert is against the received response message. If the direction is specified as \"request\", then the processing of this assert is against the sent request message.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.direction.value", "text": "direction", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.compareToSourceId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Id of the source fixture used as the contents to be evaluated by either the \"source/expression\" or \"sourceId/path\" definition.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.compareToSourceId.value", "text": "Id of the source fixture to be evaluated", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.compareToSourceExpression", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The fluentpath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both. Thefhirpath expression to be evaluated against the expected fixture to compare to. Ignored if \"assert.value\" is used. The evaluation will be done before the assertion is evaluated.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.compareToSourceExpression.value", "text": "The fluentpath expression to evaluate against the source fixture", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.compareToSourcePath", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both. The XPath or JSONPath expression to be evaluated against the expected fixture to compare to. Ignored if \"assert.value\" is used. The evaluation will be done before the assertion is evaluated.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.compareToSourcePath.value", "text": "XPath or JSONPath expression to evaluate against the source fixture", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.assert.contentType", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The content-type or mime-type to use for RESTful operation in the 'Content-Type' header. If this is specified, then test engine shall confirm that the content-type of the last operation's headers is set to this value. If \"assert.sourceId\" element is specified, then the evaluation will be done against the headers mapped to that sourceId (and not the last operation's headers). If 'xml' is specified, then 'Content-Type' header of 'application/fhir+xml' will be confirmed. If 'json' is specified, then 'application/fhir+json' will be used. If you'd like to have more control over the string, then use 'assert.headerField' instead.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.contentType.value", "text": "content type", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.expression", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The fluentpath expression to be evaluated against the request or response message contents - HTTP headers and payload. If both \"expression\" and a \"fixtureId\" are specified, then the expression will be evaluated against the request or response body mapped to the fixtureId. If \"expression\" is specified and a \"fixtureId\" is not, then the expression will be evaluated against the response body of the last operation. Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.expression.value", "text": "The fluentpath expression to be evaluated", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.headerField", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The HTTP header field name e.g. 'Location'. If \"headerField\" is specified then \"value\" must be specified. If \"sourceId\" is not specified, then \"headerField\" will be evaluated against the last operation's response headers. Test engines are to keep track of the last operation's response body and response headers.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.headerField.value", "text": "HTTP header field name", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.minimumId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId. Asserts that the response contains all the element/content in another fixture pointed to by minimumId. This can be a statically defined fixture or one that is dynamically set via responseId.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.minimumId.value", "text": "Fixture Id of minimum content resource", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.setup.action.assert.navigationLinks", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Whether or not the test execution performs validation on the bundle navigation links. Asserts that the Bundle contains first, last, and next links.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.navigationLinks.value", "text": "Perform validation on navigation links?", "type": "boolean", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.assert.operator", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The operator type defines the conditional behavior of the assert. If not defined, the default is equals. Operators are useful especially for negative testing. If operator is not specified, then the \"equals\" operator is assumed; e.g. <code> <assert> <operator value=\"in\" /> <responseCode value=\"200,201,204\" /> </assert> <assert> <operator value=\"notEquals\" /> <response value=\"okay\"/> </assert> <assert> <operator value=\"greaterThan\" /> <responseHeader> <field value=\"Content-Length\" /> <value value=\"0\" /> <responseHeader/> </assert> </code>.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.operator.value", "text": "operator", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.path", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server. If both \"path\" and a \"fixtureId\" are specified, then the path will be evaluated against the request or response body mapped to the fixtureId. If \"path\" is specified and a \"fixtureId\" is not, then the path will be evaluated against the response body of the last operation. Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.path.value", "text": "XPath or JSONPath expression", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.assert.requestMethod", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The request method or HTTP operation code to compare against that used by the client system under test. If \"requestMethod\" is specified then it will be used in place of \"value\". The \"requestMethod\" will evaluate against the last operation's request HTTP operation.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.requestMethod.value", "text": "request method", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.requestURL", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The value to use in a comparison against the request URL path string. If \"requestURL\" is specified then it will be used in place of \"value\". The \"requestURL\" will evaluate against the last operation's full request URL path string.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.requestURL.value", "text": "Request URL comparison value", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.assert.resource", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The type of the resource. See http://hl7.org/fhir/STU3/resourcelist.html. This will be expected resource type in response body e.g. in read, vread, search, etc. See http://hl7.org/fhir/STU3/resourcelist.html for complete list of resource types; e.g. <assert > <resourceType value=\"Patient\" </assert>.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.resource.value", "text": "resource", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "code" } ], "linkId": "TestScript.setup.action.assert.response", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable. This is a shorter way of achieving similar verifications via \"assert.responseCode\". If you need more control, then use \"assert.responseCode\" e.g. <assert> <contentType value=\"json\" /> <response value=\"okay\"/> </assert>.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.response.value", "text": "response", "type": "choice", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.responseCode", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The value of the HTTP response code to be tested. To be used with \"operator\" attribute value. Asserts that the response code equals this value if \"operator\" is not specified. If the operator is \"in\" or \"notIn\" then the responseCode would be a comma-separated list of values e.g. \"200,201\". Otherwise, it's expected to be a numeric value. If \"fixture\" is not specified, then the \"responseBodyId\" value of the last operation is assumed.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.responseCode.value", "text": "HTTP response code to test", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.setup.action.assert.rule", "text": "The reference to a TestScript.rule", "type": "group", "required": false, "repeats": false, "item": [ { "text": "Each rule should get evaluated by test engines as one assertion regardless of how many assertions are contained within the external rule template. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is descibed elsewhere in the TestScript resource.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The TestScript.rule this assert will evaluate.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.rule.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.rule.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.rule.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.assert.rule.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.rule.ruleId", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The TestScript.rule id value this assert will evaluate.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.rule.ruleId.value", "text": "Id of the TestScript.rule", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.rule.param", "text": "Rule parameter template", "type": "group", "required": false, "repeats": true, "item": [ { "text": "The parameter value can be dynamic at runtime.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Each rule template can take one or more parameters for rule evaluation.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.rule.param.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.rule.param.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.rule.param.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.assert.rule.param.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.rule.param.name", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Descriptive name for this parameter that matches the external assert rule parameter name. The external rule template would be looking for the parameter by this name.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.rule.param.name.value", "text": "Parameter name matching external assert rule parameter", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.rule.param.value", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The value for the parameter that will be passed on to the external rule template. This value overwrites the value (if any) specified in TestScript.rule.param.value. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.rule.param.value.value", "text": "Parameter value defined either explicitly or dynamically", "type": "string", "required": false, "repeats": false } ] } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.setup.action.assert.ruleset", "text": "The reference to a TestScript.ruleset", "type": "group", "required": false, "repeats": false, "item": [ { "text": "Each rule within a ruleset should get evaluated by test engines as a separate assertion. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is descibed elsewhere in the TestScript resource. If the first rule within the ruleset results in a failed assertion, then test engines do not have to evaluate the rest of the rules within the ruleset.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The TestScript.ruleset this assert will evaluate.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.ruleset.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.ruleset.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.ruleset.rulesetId", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The TestScript.ruleset id value this assert will evaluate.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.ruleset.rulesetId.value", "text": "Id of the TestScript.ruleset", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.rule", "text": "The referenced rule within the ruleset", "type": "group", "required": false, "repeats": true, "item": [ { "text": "This qualifies each param name so that a parameter with the same name can be used differently by the different rules with the ruleset.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The referenced rule within the external ruleset template.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.ruleset.rule.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.ruleset.rule.ruleId", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Id of the referenced rule within the external ruleset template.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.ruleId.value", "text": "Id of referenced rule within the ruleset", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.param", "text": "Rule parameter template", "type": "group", "required": false, "repeats": true, "item": [ { "text": "The parameter value can be dynamic at runtime.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Each rule template can take one or more parameters for rule evaluation.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.ruleset.rule.param.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.param.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.param.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.param.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.ruleset.rule.param.name", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Descriptive name for this parameter that matches the external assert ruleset rule parameter name. The external rule template would be looking for the parameter by this name.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.param.name.value", "text": "Parameter name matching external assert ruleset rule parameter", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.ruleset.rule.param.value", "type": "group", "required": true, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The value for the parameter that will be passed on to the external ruleset rule template. This value overwrites the value (if any) specified in TestScript.ruleset.rule.param.value. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.ruleset.rule.param.value.value", "text": "Parameter value defined either explicitly or dynamically", "type": "string", "required": false, "repeats": false } ] } ] } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.sourceId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Fixture to evaluate the XPath/JSONPath expression or the headerField against. This can be a statically defined fixture (at the top of the testscript) or a dynamically set fixture created by responseId of the action.operation element.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.sourceId.value", "text": "Fixture Id of source expression or headerField", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.validateProfileId", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The ID of the Profile to validate against. The ID of a Profile fixture. Asserts that the response is valid according to the Profile specified by validateProfileId.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.validateProfileId.value", "text": "Profile Id of validation profile reference", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.setup.action.assert.value", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The value to compare to. The string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before comparing this value to the actual value.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.value.value", "text": "The value to compare to", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "boolean" } ], "linkId": "TestScript.setup.action.assert.warningOnly", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Whether or not the test execution will produce a warning only on error for this assert. If this element is specified and it is true, then assertion failures can be logged by test engine but should not stop the test script execution from proceeding. There are likely cases where the spec is not clear on what should happen. If the spec says something is optional (maybe a response header for example), but a server doesn’t do it, we could choose to issue a warning.", "type": "display" }, { "linkId": "TestScript.setup.action.assert.warningOnly.value", "text": "Will this assert produce a warning only on error?", "type": "boolean", "required": false, "repeats": false } ] } ] } ] } ] }, { "linkId": "TestScript.test", "text": "A test in this script", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A test in this script.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.test.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.test.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.test.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.test.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.test.name", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The name of this test used for tracking/logging purposes by test engines.", "type": "display" }, { "linkId": "TestScript.test.name.value", "text": "Tracking/logging name of this test", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.test.description", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A short description of the test used by test engines for tracking and reporting purposes.", "type": "display" }, { "linkId": "TestScript.test.description.value", "text": "Tracking/reporting short description of the test", "type": "string", "required": false, "repeats": false } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 } ], "linkId": "TestScript.test.action", "text": "A test operation or assert to perform", "type": "group", "required": true, "repeats": true, "item": [ { "text": "An action should contain either an operation or an assertion but not both. It can contain any number of variables.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Action would contain either an operation or an assertion.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.test.action.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.test.action.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.test.action.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.test.action.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.test.action.operation", "text": "The setup operation to perform", "type": "group", "required": false, "repeats": false, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "An operation would involve a REST request to a server.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.test.action.assert", "text": "The setup assertion to perform", "type": "group", "required": false, "repeats": false, "item": [ { "text": "In order to evaluate an assertion, the request, response, and results of the most recently executed operation must always be maintained by the test engine.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "Evaluates the results of previous operations to determine if the server under test behaves appropriately.", "type": "display" } ] } ] } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.teardown", "text": "A series of required clean up steps", "type": "group", "required": false, "repeats": false, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "A series of operations required to clean up after the all the tests are executed (successfully or otherwise).", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.teardown.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.teardown.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.teardown.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.teardown.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 } ], "linkId": "TestScript.teardown.action", "text": "One or more teardown operations to perform", "type": "group", "required": true, "repeats": true, "item": [ { "text": "An action should contain either an operation or an assertion but not both. It can contain any number of variables.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "The teardown action will only contain an operation.", "type": "display" }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType", "valueString": "string" } ], "linkId": "TestScript.teardown.action.id", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "type": "display" }, { "linkId": "TestScript.teardown.action.id.value", "text": "xml:id (or equivalent in JSON)", "type": "string", "required": false, "repeats": false } ] }, { "linkId": "TestScript.teardown.action.extension", "text": "Additional Content defined by implementations", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "linkId": "TestScript.teardown.action.modifierExtension", "text": "Extensions that cannot be ignored", "type": "group", "required": false, "repeats": true, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "type": "display" } ] }, { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs", "valueInteger": 1 } ], "linkId": "TestScript.teardown.action.operation", "text": "The teardown operation to perform", "type": "group", "required": true, "repeats": false, "item": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", "valueCodeableConcept": { "coding": [ { "system": "http://hl7.org/fhir/questionnaire-item-control", "code": "flyover", "display": "Fly-over" } ] } } ], "text": "An operation would involve a REST request to a server.", "type": "display" } ] } ] } ] } ] } ] }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.