Resource Type : TestScript
ID : {{TestScript.id}}
Profile : {{TestScript.meta.profile}}
URL: {{TestScript.url}}
Version: {{TestScript.version}}
Name: {{TestScript.name}}
Status: {{TestScript.status}}
Experimental: {{TestScript.experimental}}
Date: {{TestScript.date}}
Description:
{{TestScript.description}}
Purpose:
{{TestScript.purpose}}
{% if TestScript.metadata %}

Metadata

{% if TestScript.metadata.link %} Links


{% for link in TestScript.metadata.link %} {% endfor %}
Url Description
{{ link.url }} {% if link.description %} {{ link.description }} {% else %} N/A {% endif %}
{% endif %} {% if TestScript.metadata.capability %} Capabilities


{% for capability in TestScript.metadata.capability %} {% endfor %}
Required Validated Description Links Capabilities
{{ capability.required }} {{ capability.validated }} {{ capability.description }}
    {% for link in capability.link %}
  • {{link}}
  • {% endfor %}
{{capability.capabilities}}
{% endif %}
{% endif %} {% if TestScript.scope %}

Scopes

{% for scope in TestScript.scope %} {% endfor %}
Artifact Conformance Phase
{{ scope.artifact }} {{ scope.conformance }} {{ scope.phase }}

{% endif %} {% if TestScript.extension.url = 'http://testbedexample.org/StructureDefinition/scope-ts-r4' %}

Scopes

{% for scope in TestScript.extension.extension %} {% endfor %}
Artifact Conformance Phase
{%if scope.valueCanonical %} {{scope.valueCanonical}} {% else %} {{scope.valueCodeableConcept.coding.code}} {% endif %}

{% endif %} Publisher: {{TestScript.publisher}}


Jurisdiction: {% for jurisdiction in TestScript.jurisdiction %} {{jurisdiction.display}} (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#{{jurisdiction.code}})
{% endfor %}

{% if TestScript.contact %} {% for contact in TestScript.contact %} {% endfor %}
Contact Name Contact Points
{%if contact.name %} {{contact.name}} {% else %} N/A {% endif %}
    {% for contactPoint in contact.telecom %}
  • {%if contactPoint.system = 'email' %} {{contactPoint.value}} {% elsif contactPoint.system = 'url' %} {{contactPoint.value}} {% else %} {{contactPoint.value}} {% endif %}
  • {% endfor %}
{% endif %}


{% if TestScript.profile %}

Profiles for validation

{% endif %}

{% if TestScript.fixture %}

Fixtures

{% for fixture in TestScript.fixture %} {% endfor %}
ID Auto Create ? Auto Delete ? Resource
{%if fixture.id %} {{fixture.id}} {% else %} N/A {% endif %} {{fixture.autocreate}} {{fixture.autodelete}} {%if fixture.resource %} {{fixture.resource}} {% else %} N/A {% endif %}

{% endif %} {% if TestScript.variable %}

Variables

{% for variable in TestScript.variable %} {% endfor %}
Name Path SourceId
{{variable.name}} {%if variable.path %} {{variable.path}} {% else %} N/A {% endif %} {%if variable.sourceId %} {{variable.sourceId}} {% else %} N/A {% endif %}

{% endif %} {% if TestScript.setup %}

Setup

{% for action in TestScript.setup.action %}
{% if action.operation.id or action.assert.id %}{% endif %} {% if action.operation.label or action.assert.label %}{% endif %} {% if action.operation.description or action.assert.description %}{% endif %} {% if action.operation.encodeRequestUrl %}{% endif %} {% if action.operation.type %}{% endif %} {% if action.operation.resource or action.assert.resource %}{% endif %} {% if action.operation.accept %}{% endif %} {% if action.operation.contentType or action.assert.contentType %}{% endif %} {% if action.operation.params %}{% endif %} {% if action.operation.method %}{% endif %} {% if action.operation.origin %}{% endif %} {% if action.operation.requestHeader %}{% endif %} {% if action.operation.requestId %}{% endif %} {% if action.operation.responseId %}{% endif %} {% if action.operation.sourceId or action.assert.sourceId %}{% endif %} {% if action.operation.targetId %}{% endif %} {% if action.operation.url %}{% endif %} {% if action.assert.direction %}{% endif %} {% if action.assert.compareToSourceId %}{% endif %} {% if action.assert.compareToSourceExpression %}{% endif %} {% if action.assert.compareToSourcePath %}{% endif %} {% if action.assert.expression %}{% endif %} {% if action.assert.headerField %}{% endif %} {% if action.assert.minimumId %}{% endif %} {% if action.assert.navigationLinks %}{% endif %} {% if action.assert.operator %}{% endif %} {% if action.assert.path %}{% endif %} {% if action.assert.requestMethod %}{% endif %} {% if action.assert.requestURL %}{% endif %} {% if action.assert.value %}{% endif %} {% if action.assert.response %}{% endif %} {% if action.assert.responseCode %}{% endif %} {% if action.assert.validateProfileId %}{% endif %} {% if action.assert.stopTestOnFail or action.assert.extension.url %}{% endif %} {% if action.assert.warningOnly %}{% endif %} {% if action.operation %} {% if action.operation.id %}{% endif %} {% if action.operation.label %}{% endif %} {% if action.operation.description %}{% endif %} {% if action.operation.encodeRequestUrl %}{% endif %} {% if action.operation.type %}{% endif %} {% if action.operation.resource %}{% endif %} {% if action.operation.accept %}{% endif %} {% if action.operation.contentType %}{% endif %} {% if action.operation.params %}{% endif %} {% if action.operation.method %}{% endif %} {% if action.operation.origin %}{% endif %} {% if action.operation.requestHeader %} {% endif %} {% if action.operation.requestId %}{% endif %} {% if action.operation.responseId %}{% endif %} {% if action.operation.sourceId %}{% endif %} {% if action.operation.targetId %}{% endif %} {% if action.operation.url %}{% endif %} {% elsif action.assert %} {% if action.assert.id %}{% endif %} {% if action.assert.label %}{% endif %} {% if action.assert.description %}{% endif %} {% if action.assert.direction %}{% endif %} {% if action.assert.compareToSourceId %}{% endif %} {% if action.assert.compareToSourceExpression %}{% endif %} {% if action.assert.compareToSourcePath %}{% endif %} {% if action.assert.contentType %}{% endif %} {% if action.assert.expression %}{% endif %} {% if action.assert.headerField %}{% endif %} {% if action.assert.minimumId %}{% endif %} {% if action.assert.navigationLinks %}{% endif %} {% if action.assert.operator %}{% endif %} {% if action.assert.path %}{% endif %} {% if action.assert.requestMethod %}{% endif %} {% if action.assert.requestURL %}{% endif %} {% if action.assert.resource %}{% endif %} {% if action.assert.sourceId %}{% endif %} {% if action.assert.value %}{% endif %} {% if action.assert.response %}{% endif %} {% if action.assert.responseCode %}{% endif %} {% if action.assert.validateProfileId %}{% endif %} {% if action.assert.stopTestOnFail %}{% else %}{% endif %} {% if action.assert.warningOnly %}{% endif %} {% endif %}
ActionIDLabelDescriptionEncodeRequestUrlTypeResourceAcceptContentTypeParamsMethodOriginRequest HeadersRequest IdResponse IdSource IdTarget IdURLDirectionCompareToSourceIdCompareToSourceExpressionCompareToSourcePathExpressionHeaderFieldMinimumIdNavigationLinksOperatorPathRequestMethodRequestURLValueResponseResponseCodeValidateProfileIdStopTestOnFailWarningOnly
Operation{{ action.operation.id }}{{ action.operation.label }}{{ action.operation.description }}{{ action.operation.encodeRequestUrl }}{{ action.operation.type }}{{ action.operation.resource }}{{ action.operation.accept }}{{ action.operation.contentType }}{{ action.operation.params }}{{ action.operation.method }}{{ action.operation.origin }} {% for requestHeader in action.operation.requestHeader %} {{ requestHeader.field }}:{{ requestHeader.value }}
{% endfor %}
{{ action.operation.requestId }}{{ action.operation.responseId }}{{ action.operation.sourceId }}{{ action.operation.targetId }}{{ action.operation.url }}
Assert{{ action.assert.id }}{{ action.assert.label }}{{ action.assert.description }}{{ action.assert.direction }}{{ action.assert.compareToSourceId }}{{ action.assert.compareToSourceExpression }}{{ action.assert.compareToSourcePath }}{{ action.assert.contentType }}{{ action.assert.expression }}{{ action.assert.headerField }}{{ action.assert.minimumId }}{{ action.assert.navigationLinks }}{{ action.assert.operator }}{{ action.assert.path }}{{ action.assert.requestMethod }}{{ action.assert.requestURL }}{{ action.assert.resource }}{{ action.assert.sourceId }}{{ action.assert.value }}{{ action.assert.response }}{{ action.assert.responseCode }}{{ action.assert.validateProfileId }}{{ action.assert.stopTestOnFail }}{{ action.assert.extension.valueBoolean}}{{ action.assert.warningOnly }}
{% endfor %}
{% endif %} {% if TestScript.test %}

Tests

{% for test in TestScript.test %}
{{ test.name }}:
{{ test.description }}
{% for action in test.action %}
{% if action.operation.id or action.assert.id %}{% endif %} {% if action.operation.label or action.assert.label %}{% endif %} {% if action.operation.description or action.assert.description %}{% endif %} {% if action.operation.encodeRequestUrl %}{% endif %} {% if action.operation.type %}{% endif %} {% if action.operation.resource or action.assert.resource %}{% endif %} {% if action.operation.accept %}{% endif %} {% if action.operation.contentType or action.assert.contentType %}{% endif %} {% if action.operation.params %}{% endif %} {% if action.operation.method %}{% endif %} {% if action.operation.origin %}{% endif %} {% if action.operation.requestHeader %}{% endif %} {% if action.operation.requestId %}{% endif %} {% if action.operation.responseId %}{% endif %} {% if action.operation.sourceId or action.assert.sourceId %}{% endif %} {% if action.operation.targetId %}{% endif %} {% if action.operation.url %}{% endif %} {% if action.assert.direction %}{% endif %} {% if action.assert.compareToSourceId %}{% endif %} {% if action.assert.compareToSourceExpression %}{% endif %} {% if action.assert.compareToSourcePath %}{% endif %} {% if action.assert.expression %}{% endif %} {% if action.assert.headerField %}{% endif %} {% if action.assert.minimumId %}{% endif %} {% if action.assert.navigationLinks %}{% endif %} {% if action.assert.operator %}{% endif %} {% if action.assert.path %}{% endif %} {% if action.assert.requestMethod %}{% endif %} {% if action.assert.requestURL %}{% endif %} {% if action.assert.value %}{% endif %} {% if action.assert.response %}{% endif %} {% if action.assert.responseCode %}{% endif %} {% if action.assert.validateProfileId %}{% endif %} {% if action.assert.stopTestOnFail or action.assert.extension.url %}{% endif %} {% if action.assert.warningOnly %}{% endif %} {% if action.operation %} {% if action.operation.id %}{% endif %} {% if action.operation.label %}{% endif %} {% if action.operation.description %}{% endif %} {% if action.operation.encodeRequestUrl %}{% endif %} {% if action.operation.type %}{% endif %} {% if action.operation.resource %}{% endif %} {% if action.operation.accept %}{% endif %} {% if action.operation.contentType %}{% endif %} {% if action.operation.params %}{% endif %} {% if action.operation.method %}{% endif %} {% if action.operation.origin %}{% endif %} {% if action.operation.requestHeader %} {% endif %} {% if action.operation.requestId %}{% endif %} {% if action.operation.responseId %}{% endif %} {% if action.operation.sourceId %}{% endif %} {% if action.operation.targetId %}{% endif %} {% if action.operation.url %}{% endif %} {% elsif action.assert %} {% if action.assert.id %}{% endif %} {% if action.assert.label %}{% endif %} {% if action.assert.description %}{% endif %} {% if action.assert.direction %}{% endif %} {% if action.assert.compareToSourceId %}{% endif %} {% if action.assert.compareToSourceExpression %}{% endif %} {% if action.assert.compareToSourcePath %}{% endif %} {% if action.assert.contentType %}{% endif %} {% if action.assert.expression %}{% endif %} {% if action.assert.headerField %}{% endif %} {% if action.assert.minimumId %}{% endif %} {% if action.assert.navigationLinks %}{% endif %} {% if action.assert.operator %}{% endif %} {% if action.assert.path %}{% endif %} {% if action.assert.requestMethod %}{% endif %} {% if action.assert.requestURL %}{% endif %} {% if action.assert.resource %}{% endif %} {% if action.assert.sourceId %}{% endif %} {% if action.assert.value %}{% endif %} {% if action.assert.response %}{% endif %} {% if action.assert.responseCode %}{% endif %} {% if action.assert.validateProfileId %}{% endif %} {% if action.assert.stopTestOnFail %}{% else %}{% endif %} {% if action.assert.warningOnly %}{% endif %} {% endif %}
ActionIDLabelDescriptionEncodeRequestUrlTypeResourceAcceptContentTypeParamsMethodOriginRequest HeadersRequest IdResponse IdSource IdTarget IdURLDirectionCompareToSourceIdCompareToSourceExpressionCompareToSourcePathExpressionHeaderFieldMinimumIdNavigationLinksOperatorPathRequestMethodRequestURLValueResponseResponseCodeValidateProfileIdStopTestOnFailWarningOnly
Operation{{ action.operation.id }}{{ action.operation.label }}{{ action.operation.description }}{{ action.operation.encodeRequestUrl }}{{ action.operation.type }}{{ action.operation.resource }}{{ action.operation.accept }}{{ action.operation.contentType }}{{ action.operation.params }}{{ action.operation.method }}{{ action.operation.origin }} {% for requestHeader in action.operation.requestHeader %} {{ requestHeader.field }}:{{ requestHeader.value }}
{% endfor %}
{{ action.operation.requestId }}{{ action.operation.responseId }}{{ action.operation.sourceId }}{{ action.operation.targetId }}{{ action.operation.url }}
Assert{{ action.assert.id }}{{ action.assert.label }}{{ action.assert.description }}{{ action.assert.direction }}{{ action.assert.compareToSourceId }}{{ action.assert.compareToSourceExpression }}{{ action.assert.compareToSourcePath }}{{ action.assert.contentType }}{{ action.assert.expression }}{{ action.assert.headerField }}{{ action.assert.minimumId }}{{ action.assert.navigationLinks }}{{ action.assert.operator }}{{ action.assert.path }}{{ action.assert.requestMethod }}{{ action.assert.requestURL }}{{ action.assert.resource }}{{ action.assert.sourceId }}{{ action.assert.value }}{{ action.assert.response }}{{ action.assert.responseCode }}{{ action.assert.validateProfileId }}{{ action.assert.stopTestOnFail }}{{ action.assert.extension.valueBoolean}}{{ action.assert.warningOnly }}
{% endfor %}
{% endfor %} {% endif %} {% if TestScript.teardown %}

Teardown

Operations
{% for action in TestScript.teardown.action %}
{% if action.operation.id %}{% endif %} {% if action.operation.label %}{% endif %} {% if action.operation.description %}{% endif %} {% if action.operation.encodeRequestUrl %}{% endif %} {% if action.operation.type %}{% endif %} {% if action.operation.resource %}{% endif %} {% if action.operation.accept %}{% endif %} {% if action.operation.contentType %}{% endif %} {% if action.operation.params %}{% endif %} {% if action.operation.method %}{% endif %} {% if action.operation.origin %}{% endif %} {% if action.operation.requestHeader %}{% endif %} {% if action.operation.requestId %}{% endif %} {% if action.operation.responseId %}{% endif %} {% if action.operation.sourceId %}{% endif %} {% if action.operation.targetId %}{% endif %} {% if action.operation.url %}{% endif %} {% if action.operation.id %}{% endif %} {% if action.operation.label %}{% endif %} {% if action.operation.description %}{% endif %} {% if action.operation.encodeRequestUrl %}{% endif %} {% if action.operation.type %}{% endif %} {% if action.operation.resource %}{% endif %} {% if action.operation.accept %}{% endif %} {% if action.operation.contentType %}{% endif %} {% if action.operation.params %}{% endif %} {% if action.operation.method %}{% endif %} {% if action.operation.origin %}{% endif %} {% if action.operation.requestHeader %} {% endif %} {% if action.operation.requestId %}{% endif %} {% if action.operation.responseId %}{% endif %} {% if action.operation.sourceId %}{% endif %} {% if action.operation.targetId %}{% endif %} {% if action.operation.url %}{% endif %}
IDLabelDescriptionEncodeRequestUrlTypeResourceAcceptContentTypeParamsMethodOriginRequest HeadersRequest IdResponse IdSource IdTarget IdURL
{{ action.operation.id }}{{ action.operation.label }}{{ action.operation.description }}{{ action.operation.encodeRequestUrl }}{{ action.operation.type }}{{ action.operation.resource }}{{ action.operation.accept }}{{ action.operation.contentType }}{{ action.operation.params }}{{ action.operation.method }}{{ action.operation.origin }} {% for requestHeader in action.operation.requestHeader %} {{ requestHeader.field }}:{{ requestHeader.value }}
{% endfor %}
{{ action.operation.requestId }}{{ action.operation.responseId }}{{ action.operation.sourceId }}{{ action.operation.targetId }}{{ action.operation.url }}
{% endfor %}
{% endif %}