0.0.1 - ci-build

TestScriptEngineIG - Local Development build (v0.0.1). See the Directory of published versions

: subtest-to-execute-example - JSON Representation

Draft as of 2022-12-27

Raw json | Download


{
  "resourceType" : "TestScript",
  "id" : "subtest-to-execute-example",
  "meta" : {
    "profile" : [
      "https://fhir-crucible.github.io/testscript-engine-ig/StructureDefinition/testscript-engine-testscript"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript</b><a name=\"subtest-to-execute-example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource TestScript &quot;subtest-to-execute-example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-testscript-engine-testscript.html\">TestScript Engine TestScript</a></p></div><p><b>url</b>: <code>https://github.com/fhir-crucible/testscript-generator/SubtestToExecuteExample</code></p><p><b>version</b>: 0.0.1</p><p><b>name</b>: SubtestToExecuteExample</p><p><b>title</b>: Subtest to execute example</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2022-12-27 13:00:51-0400</p><p><b>publisher</b>: MITRE</p><p><b>contact</b>: MITRE: <a href=\"https://fhir-crucible.github.io/testscript-engine-ig\">https://fhir-crucible.github.io/testscript-engine-ig</a></p><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"Patient-patient-fixture.html\">Patient/patient-fixture</a> &quot; CHALMERS&quot;</p></blockquote><h3>Variables</h3><table class=\"grid\"><tr><td>-</td><td><b>Name</b></td><td><b>DefaultValue</b></td><td><b>Description</b></td></tr><tr><td>*</td><td>checkValue</td><td>example</td><td>value that will be compared</td></tr></table><blockquote><p><b>test</b></p><p><b>name</b>: string compare</p><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td>-</td><td><b>Label</b></td><td><b>Description</b></td><td><b>Expression</b></td><td><b>SourceId</b></td><td><b>Value</b></td><td><b>WarningOnly</b></td></tr><tr><td>*</td><td>compare_receiver_value</td><td>compare received value</td><td>'Chalmers'</td><td>notUsed</td><td>${checkValue}</td><td>false</td></tr></table></blockquote></blockquote></div>"
  },
  "url" : "https://github.com/fhir-crucible/testscript-generator/SubtestToExecuteExample",
  "version" : "0.0.1",
  "name" : "SubtestToExecuteExample",
  "title" : "Subtest to execute example",
  "status" : "draft",
  "experimental" : true,
  "date" : "2022-12-27T13:00:51-04:00",
  "publisher" : "MITRE",
  "contact" : [
    {
      "name" : "MITRE",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://fhir-crucible.github.io/testscript-engine-ig"
        }
      ]
    }
  ],
  "fixture" : [
    {
      "id" : "notUsed",
      "autocreate" : false,
      "autodelete" : false,
      "resource" : {
        "reference" : "Patient/patient-fixture"
      }
    }
  ],
  "variable" : [
    {
      "name" : "checkValue",
      "defaultValue" : "example",
      "description" : "value that will be compared"
    }
  ],
  "test" : [
    {
      "name" : "string compare",
      "action" : [
        {
          "assert" : {
            "label" : "compare_receiver_value",
            "description" : "compare received value",
            "expression" : "'Chalmers'",
            "sourceId" : "notUsed",
            "value" : "${checkValue}",
            "warningOnly" : false
          }
        }
      ]
    }
  ]
}