STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Testscript-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: ReadTestScript

name: ReadTestScript

description: TestScript for Sprinkler tests (R001, R002, R003, R004) for testing basic READ requests.

Fixtures

-Resource
*Patient resource

setup

action

Operations

-TypeSourceId
*createF1

test

name: Get Test Data Person

description: Result headers on normal read.

metadata

Links

-UrlDescription
*http://hl7.org/implement/standards/FHIR-Develop/patient.htmlFHIR Patient

operation

type: create

resource: Patient

description: Patient Create Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#create

required: true

operation

type: read

resource: Patient

description: Patient Read Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#read

required: true

operation

type: delete

resource: Patient

description: Patient Delete Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#delete

required: true

operation

type: update

resource: Patient

description: Patient Update Operation

link: http://hl7.org/implement/standards/FHIR-Develop/http.html#update

required: true

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Try Read Unknown Resource Type

description: Read unknown resource type

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

test

name: Try Read Non Existing Resource

description: Read non-existing resource id

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

test

name: Try Read Bad Formatted Resource Id

description: Read bad formatted resource id

metadata

Operations

-TypeResourceDescriptionLinkRequiredValidated
*readPatientPatient Read Operationhttp://hl7.org/implement/standards/FHIR-Develop/http.html#readtruetrue

action

Operations

-
*

action

Asserts

-
*

teardown

action

Operations

-
*

 

 

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.