FHIR IG analytics| Package | hl7.fhir.uv.testing |
| Resource Type | TestPlan |
| Id | TestPlan-example.json |
| FHIR Version | R6 |
| Source | https://build.fhir.org/ig/HL7/fhir-testing-ig/TestPlan-example.html |
| URL | http://hl7.org/fhir/TestPlan/example |
| Status | draft |
| Title | Example Test Plan |
| Realm | uv |
| Authority | hl7 |
| 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. |
No resources found
No resources found
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.
| 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
Name Value[x] $id 123124 Accept application/fhir+json Expecteds
Name File response response1.json
{
"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"
}
]
}
]
}
]
}