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 Observation $get-satisfaction JSON - JSON Representation

Active as of 2024-04-10

Raw json | Download


{
  "resourceType" : "TestScript",
  "id" : "DEVSATObservationgetsatjson",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript</b><a name=\"DEVSATObservationgetsatjson\"> </a><a name=\"hcDEVSATObservationgetsatjson\"> </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;DEVSATObservationgetsatjson&quot; </p></div><p><b>Testing Scope Canonical Value</b>: <a href=\"OperationDefinition-dev-satisfaction-get-satisfaction.html\">Get Satisfaction Operation</a></p><p><b>url</b>: <code>http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATObservationgetsatjson</code></p><p><b>version</b>: 0.2.0</p><p><b>name</b>: DEVSATObservationgetsatjson</p><p><b>title</b>: HL7 FHIR R4 TestScript Observation $get-satisfaction JSON</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 the Developer Satisfaction Observation $get-satisfaction operation</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><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>GetSatisfactionNoArgs</blockquote><p><b>name</b>: GetSatisfactionNoArgs</p><p><b>description</b>: Test Developer Satisfaction $get-satisfaction operation with no args on destination server and assert successful returned satisfaction value</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>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>$process-message (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code process-message = '$process-message', stated as 'null')</td><td>$get-satisfaction operation with no args</td><td>json</td><td>json</td><td>1</td><td>true</td><td>1</td><td>/$get-satisfaction</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 a Parameters resource.</td><td>response</td><td>Parameters</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>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned Parameters contains a measurement parameter.</td><td>response</td><td>Parameters.parameter.where(name = 'measurement').exists()</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>Expression</b></td><td><b>WarningOnly</b></td></tr><tr><td style=\"display: none\">*</td><td>Confirm that the returned Parameters contains an interpretation parameter.</td><td>response</td><td>Parameters.parameter.where(name = 'interpretation').exists()</td><td>false</td></tr></table></blockquote></blockquote></div>"
  },
  "extension" : [
    {
      "url" : "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/StructureDefinition/testing-scope",
      "valueCanonical" : "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/OperationDefinition/dev-satisfaction-get-satisfaction"
    }
  ],
  "url" : "http://touchstone.aegis.net/touchstone/fhir/dev-satisfaction/TestScript/DEVSATObservationgetsatjson",
  "version" : "0.2.0",
  "name" : "DEVSATObservationgetsatjson",
  "title" : "HL7 FHIR R4 TestScript Observation $get-satisfaction JSON",
  "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 the Developer Satisfaction Observation $get-satisfaction operation",
  "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"
      }
    }
  ],
  "test" : [
    {
      "id" : "GetSatisfactionNoArgs",
      "name" : "GetSatisfactionNoArgs",
      "description" : "Test Developer Satisfaction $get-satisfaction operation with no args on destination server and assert successful returned satisfaction value",
      "action" : [
        {
          "operation" : {
            "type" : {
              "system" : "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
              "code" : "process-message"
            },
            "description" : "$get-satisfaction operation with no args",
            "accept" : "json",
            "contentType" : "json",
            "destination" : 1,
            "encodeRequestUrl" : true,
            "origin" : 1,
            "params" : "/$get-satisfaction"
          }
        },
        {
          "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 a Parameters resource.",
            "direction" : "response",
            "resource" : "Parameters",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned Parameters contains a measurement parameter.",
            "direction" : "response",
            "expression" : "Parameters.parameter.where(name = 'measurement').exists()",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "description" : "Confirm that the returned Parameters contains an interpretation parameter.",
            "direction" : "response",
            "expression" : "Parameters.parameter.where(name = 'interpretation').exists()",
            "warningOnly" : false
          }
        }
      ]
    }
  ]
}