STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Testscript-example-readtest

This is the narrative for the resource. See also the XML or JSON format. This example conforms to the profile TestScript.


Generated Narrative with Details

id: testscript-example-readtest

url: http://hl7.org/fhir/TestScript/testscript-example-readtest

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9879

version: 1.0

name: TestScript Example Read Test

status: draft

experimental: true

publisher: HL7

contact:

date: 26/09/2016

description: TestScript example resource with ported Sprinkler basic read tests R001, R002, R003, R004. The read tests will utilize user defined dynamic variables that will hold the Patient resource id values.

jurisdiction: United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'US', given as 'United States of America (the)'})

purpose: Patient Read Operation

copyright: © HL7.org 2011+

metadata

Capabilities

-RequiredDescriptionLinkCapabilities
*truePatient Read Operationhttp://hl7.org/fhir/http.html#readCapabilityStatement/example

profile: http://hl7.org/fhir/StructureDefinition/Patient

variable

name: KnownPatientResourceId

defaultValue: example

variable

name: NonExistsPatientResourceId

defaultValue: does-not-exist

test

name: Sprinkler Read Test R001

description: Read a known Patient and validate response.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Sprinkler Read Test R002

description: Read an unknown Resource Type and validate response.

action

Operations

-
*

action

Asserts

-
*

test

name: Sprinkler Read Test R003

description: Read a known, non-existing Patient and validate response.

action

Operations

-
*

action

Asserts

-
*

test

name: Sprinkler Read Test R004

description: Read a Patient using a known bad formatted resource id and validate response.

action

Operations

-
*

action

Asserts

-
*

 

 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.