FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.testing
Resource TypeTestPlan
IdTestPlan-example.json
FHIR VersionR6
Sourcehttps://build.fhir.org/ig/HL7/fhir-testing-ig/TestPlan-example.html
URLhttp://hl7.org/fhir/TestPlan/example
Statusdraft
TitleExample Test Plan
Realmuv
Authorityhl7
DescriptionThis test plan describes a manual test that a given observation can be read from the server using POSTMan. The user is instructed in the documentation to perform a POSTMan get with the $id in the URL and the Accept header, and compare with the expected output.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: TestPlan example

Language: en

url: http://hl7.org/fhir/TestPlan/example

identifier: http://example.org/identifiers/1234

title: Example Test Plan

status: Draft

publisher: HL7 International / FHIR Infrastructure

description:

This test plan describes a manual test that a given observation can be read from the server using POSTMan. The user is instructed in the documentation to perform a POSTMan get with the $id in the URL and the Accept header, and compare with the expected output.

Scopes

-Reference
*Observation

runner: http://example.org/testing/my-manual-runner

suite

name: Basic Observation Handling

test

name: obs-read

description: Read a JSON formatted Observation

operation: postman/GET

Parameters

-NameValue[x]
*$id123124
*Acceptapplication/fhir+json

Expecteds

-NameFile
*responseresponse1.json

Source1

{
  "resourceType": "TestPlan",
  "resourceDefinition": "http://hl7.org/fhir/StructureDefinition/TestPlan|0.1.0-SNAPSHOT",
  "id": "example",
  "language": "en",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://hl7.org/fhir/TestPlan/example",
  "identifier": [
    {
      "system": "http://example.org/identifiers",
      "value": "1234"
    }
  ],
  "title": "Example Test Plan",
  "status": "draft",
  "publisher": "HL7 International / FHIR Infrastructure",
  "description": "This test plan describes a manual test that a given observation can be read from the server using POSTMan. The user is instructed in the documentation to perform a POSTMan get with the $id in the URL and the Accept header, and compare with the expected output.",
  "scope": [
    {
      "reference": "http://hl7.org/fhir/StructureDefinition/Observation"
    }
  ],
  "runner": "http://example.org/testing/my-manual-runner",
  "suite": [
    {
      "name": "Basic Observation Handling",
      "test": [
        {
          "name": "obs-read",
          "description": "Read a JSON formatted Observation",
          "operation": "postman/GET",
          "parameter": [
            {
              "name": "$id",
              "valueString": "123124"
            },
            {
              "name": "Accept",
              "valueString": "application/fhir+json"
            }
          ],
          "expected": [
            {
              "name": "response",
              "file": "response1.json"
            }
          ]
        }
      ]
    }
  ]
}