Developer Satisfaction
0.2.0 - ci-build International flag

Developer Satisfaction - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: HL7 FHIR R4 TestScript Dynamic Read Validate DEVSAT-Goal XML - JSON Representation

Active as of 2024-04-10

Raw json | Download


{
  "resourceType" : "TestScript",
  "id" : "DEVSATGoaldynamicreadvalidatexml",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript</b><a name=\"DEVSATGoaldynamicreadvalidatexml\"> </a><a name=\"hcDEVSATGoaldynamicreadvalidatexml\"> </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;DEVSATGoaldynamicreadvalidatexml&quot; </p></div><p><b>url</b>: <code>http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATGoaldynamicreadvalidatexml</code></p><p><b>version</b>: 0.2.0</p><p><b>name</b>: DEVSATGoaldynamicreadvalidatexml</p><p><b>title</b>: HL7 FHIR R4 TestScript Dynamic Read Validate DEVSAT-Goal XML</p><p><b>status</b>: active</p><p><b>date</b>: 2024-04-10</p><p><b>publisher</b>: AEGIS.net, Inc.</p><p><b>contact</b>: AEGIS.net, Inc.: <a href=\"https://www.aegis.net\">https://www.aegis.net</a>, Richard Ettema: <a href=\"mailto:mailto:richard.ettema@aegis.net\">mailto:richard.ettema@aegis.net</a></p><p><b>description</b>: Example TestScript to test DEVSAT-Goal resource read and profile validation using #xml format</p><p><b>jurisdiction</b>: World <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><p><b>copyright</b>: (c) Health Level 7 (HL7) International 2023</p><h3>Origins</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null')</td></tr></table><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null')</td></tr></table><p><b>profile</b>: <a href=\"http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/dev-satisfaction-goal\">http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/dev-satisfaction-goal</a> &quot;DEVSATGoal&quot;</p><h3>Variables</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>DefaultValue</b></td><td><b>Description</b></td><td><b>Hint</b></td></tr><tr><td style=\"display: none\">*</td><td>resource_id</td><td>example</td><td>Enter a known resource id on the destination system.</td><td>[resource.id]</td></tr></table><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>PatientReadValidate</blockquote><p><b>name</b>: PatientReadValidate</p><p><b>description</b>: Test DEVSAT-Goal resource read on destination server and assert returned resource passes validation</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Resource</b></td><td><b>Description</b></td><td><b>Accept</b></td><td><b>ContentType</b></td><td><b>Destination</b></td><td><b>EncodeRequestUrl</b></td><td><b>Origin</b></td><td><b>Params</b></td></tr><tr><td style=\"display: none\">*</td><td>Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')</td><td>Goal</td><td>ResourceRead</td><td>xml</td><td>xml</td><td>1</td><td>true</td><td>1</td><td>/${resource_id}</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>ResponseCode</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned response code is 200 OK.</td><td>response</td><td>200</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>Resource</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned response payload is the specified resource.</td><td>response</td><td>Goal</td><td>false</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Asserts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Description</b></td><td><b>Direction</b></td><td><b>ValidateProfileId</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned resource conforms to the specified profile.</td><td>response</td><td>DEVSATGoalProfile</td><td>false</td></tr></table></blockquote></blockquote></div>"
  },
  "url" : "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATGoaldynamicreadvalidatexml",
  "version" : "0.2.0",
  "name" : "DEVSATGoaldynamicreadvalidatexml",
  "title" : "HL7 FHIR R4 TestScript Dynamic Read Validate DEVSAT-Goal XML",
  "status" : "active",
  "date" : "2024-04-10",
  "publisher" : "AEGIS.net, Inc.",
  "contact" : [
    {
      "name" : "AEGIS.net, Inc.",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.aegis.net"
        }
      ]
    },
    {
      "name" : "Richard Ettema",
      "telecom" : [
        {
          "system" : "email",
          "value" : "mailto:richard.ettema@aegis.net"
        }
      ]
    }
  ],
  "description" : "Example TestScript to test DEVSAT-Goal resource read and profile validation using #xml format",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "copyright" : "(c) Health Level 7 (HL7) International 2023",
  "origin" : [
    {
      "index" : 1,
      "profile" : {
        "system" : "http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types",
        "code" : "FHIR-Client"
      }
    }
  ],
  "destination" : [
    {
      "index" : 1,
      "profile" : {
        "system" : "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types",
        "code" : "FHIR-Server"
      }
    }
  ],
  "profile" : [
    {
      🔗 "id" : "DEVSATGoalProfile",
      "reference" : "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/dev-satisfaction-goal"
    }
  ],
  "variable" : [
    {
      "name" : "resource_id",
      "defaultValue" : "example",
      "description" : "Enter a known resource id on the destination system.",
      "hint" : "[resource.id]"
    }
  ],
  "test" : [
    {
      "id" : "PatientReadValidate",
      "name" : "PatientReadValidate",
      "description" : "Test DEVSAT-Goal resource read on destination server and assert returned resource passes validation",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "read"
            },
            "resource" : "Goal",
            "description" : "ResourceRead",
            "accept" : "xml",
            "contentType" : "xml",
            "destination" : 1,
            "encodeRequestUrl" : true,
            "origin" : 1,
            "params" : "/${resource_id}"
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned response code is 200 OK.",
            "direction" : "response",
            "responseCode" : "200",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned response payload is the specified resource.",
            "direction" : "response",
            "resource" : "Goal",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned resource conforms to the specified profile.",
            "direction" : "response",
            "validateProfileId" : "DEVSATGoalProfile",
            "warningOnly" : false
          }
        }
      ]
    }
  ]
}