Searching: http://spark.kufu.no/fhir/_snapshot?id=08e0f2fc-2a65-490e-9b24-128bb332d5b5&start=0
From RowNum: 0
id: 08e0f2fc-2a65-490e-9b24-128bb332d5b5 (excluded)
start: 0
First Link: http://spark.kufu.no/fhir/_snapshot?id=08e0f2fc-2a65-490e-9b24-128bb332d5b5&start=0
Last Link: http://spark.kufu.no/fhir/_snapshot?id=08e0f2fc-2a65-490e-9b24-128bb332d5b5&start=0
Type: Searchset, 6 of 6
TestScript/testscript-example-history/_history/1 Modified: 5/28/2019 2:52:08 PM +02:00

Generated Narrative with Details

id: testscript-example-history

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

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9877

version: 1.0

name: TestScript Example History

status: draft

experimental: true

date: 18/01/2017

publisher: HL7

contact:

description: TestScript example resource with setup to delete if present and create a new instance of a Patient then update that Patient to create a minimum history; and single test definition to get the history of that Patient with various asserts.

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

purpose: Patient (Conditional) Create, Update, Delete and History (Instance) Operations

copyright: © HL7.org 2011+

metadata

Links

- Url Description
* http://hl7.org/fhir/patient.html Demographics and other administrative information about an individual or animal receiving care or other health-related services.

Capabilities

- Required Validated Description Link Capabilities
* true false Patient Update, Delete and History (Instance) Operations http://hl7.org/fhir/http.html#update CapabilityStatement/example

fixture

autocreate: false

autodelete: false

resource: Peter Chalmers

fixture

autocreate: false

autodelete: false

resource: Donald Duck

profile: Generated Summary: url: http://hl7.org/fhir/StructureDefinition/Bundle; version: 4.0.0; name: Bundle; ACTIVE; date: 27/12/2018 10:37:54 PM; publisher: Health Level Seven International (FHIR Infrastructure); description: A container for a collection of resources.; 4.0.0; RESOURCE; type: Bundle; baseDefinition: http://hl7.org/fhir/StructureDefinition/Resource; SPECIALIZATION

Variables

- Name Path SourceId
* createResourceId Patient/id fixture-patient-create

setup

action

Operations

- Type Resource Label Description Accept EncodeRequestUrl Params
* Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') Patient SetupDeletePatient Execute a delete operation to insure the patient does not exist on the server. json true /${createResourceId}

action

Asserts

- Description Direction Operator ResponseCode WarningOnly
* Confirm that the returned HTTP status is 200(OK) or 204(No Content). response in 200,204 false

action

Operations

- Type Resource Label Description Accept ContentType EncodeRequestUrl Params SourceId
* Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Patient SetupCreatePatient Create patient resource on test server using the contents of fixture-patient-create json json true /${createResourceId} fixture-patient-create

action

Asserts

- Description Direction ResponseCode WarningOnly
* Confirm that the returned HTTP status is 201(Created). response 201 false

action

Operations

- Type Resource Label Description Accept ContentType EncodeRequestUrl Params SourceId
* Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Patient SetupUpdatePatient Update patient resource on test server using the contents of fixture-patient-update json json true /${createResourceId} fixture-patient-update

action

Asserts

- Description Direction ResponseCode WarningOnly
* Confirm that the returned HTTP status is 200(OK). response 200 false

test

name: History Patient

description: Get the history for a known Patient and validate response.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*
TestScript/testscript-example-multisystem/_history/1 Modified: 5/28/2019 2:52:08 PM +02:00

Generated Narrative with Details

id: testscript-example-multisystem

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

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878

version: 1.0

name: testscript-example-multisystem

title: Multisystem Test Script

status: draft

experimental: true

date: 18/01/2017

publisher: HL7

contact:

description: TestScript example resource showing use of origin and destination for multisystem support. The single origin will execute a Patient read against the two destination systems using user defined dynamic variables. The test engine will wait at each operation action with a defined origin and destination for the origin test system to send the expected FHIR operation to the destination test system. Once the expected request and response is observed, the test engine will continue with the test execution.

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

purpose: Patient Read Operation

copyright: © HL7.org 2011+

Origins

- Index Profile
* 1 FHIR-Client (Details: [not stated] code FHIR-Client = 'FHIR-Client', stated as 'null')

destination

index: 1

profile: FHIR-Server (Details: [not stated] code FHIR-Server = 'FHIR-Server', stated as 'null')

destination

index: 2

profile: FHIR-Server (Details: [not stated] code FHIR-Server = 'FHIR-Server', stated as 'null')

metadata

Links

- Url Description
* http://hl7.org/fhir/patient.html Demographics and other administrative information about an individual or animal receiving care or other health-related services.

capability

required: true

validated: false

description: Patient Read Operation

origin: 1

destination: 1

link: http://hl7.org/fhir/http.html#read

capabilities: CapabilityStatement/example

capability

required: true

validated: false

description: Patient Read Operation

origin: 1

destination: 2

link: http://hl7.org/fhir/http.html#read

capabilities: CapabilityStatement/example

variable

name: Dest1PatientResourceId

defaultValue: example

variable

name: Dest2PatientResourceId

defaultValue: example

test

name: ReadPatient-Destination1

description: Read a Patient from the first destination test system using the user defined dynamic variable ${Dest1PatientResourceId}. Perform basic validation.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: ReadPatient-Destination2

description: Read a Patient from the second destination test system using the user defined dynamic variable ${Dest2PatientResourceId}. Perform basic validation.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*
TestScript/testscript-example-readtest/_history/1 Modified: 5/28/2019 2:52:08 PM +02:00

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

date: 18/01/2017

publisher: HL7

contact:

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' = 'United States of America', given as 'United States of America (the)'})

purpose: Patient Read Operation

copyright: © HL7.org 2011+

metadata

Links

- Url Description
* http://hl7.org/fhir/patient.html Demographics and other administrative information about an individual or animal receiving care or other health-related services.

Capabilities

- Required Validated Description Link Capabilities
* true false Patient Read Operation http://hl7.org/fhir/http.html#read CapabilityStatement/example

profile: Generated Summary: url: http://hl7.org/fhir/StructureDefinition/Patient; version: 4.0.0; name: Patient; ACTIVE; date: 27/12/2018 10:37:54 PM; publisher: Health Level Seven International (Patient Administration); description: Demographics and other administrative information about an individual or animal receiving care or other health-related services.; purpose: Tracking patient is the center of the healthcare process.; 4.0.0; RESOURCE; type: Patient; baseDefinition: http://hl7.org/fhir/StructureDefinition/DomainResource; SPECIALIZATION

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

-
*
TestScript/testscript-example-search/_history/1 Modified: 5/28/2019 2:52:08 PM +02:00

Generated Narrative with Details

id: testscript-example-search

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

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9881

version: 1.0

name: TestScript Example Search

status: draft

experimental: true

date: 18/01/2017

publisher: HL7

contact:

description: TestScript example resource with simple Patient search test. The read tests will utilize user defined dynamic variables that will hold the Patient search parameter values.

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

purpose: Patient Search Operation

copyright: © HL7.org 2011+

metadata

Links

- Url Description
* http://hl7.org/fhir/patient.html Demographics and other administrative information about an individual or animal receiving care or other health-related services.

Capabilities

- Required Validated Description Link Capabilities
* true false Patient Search Operation http://hl7.org/fhir/http.html#search CapabilityStatement/example

Fixtures

- Autocreate Autodelete Resource
* false false Peter Chalmers

profile: Generated Summary: url: http://hl7.org/fhir/StructureDefinition/Bundle; version: 4.0.0; name: Bundle; ACTIVE; date: 27/12/2018 10:37:54 PM; publisher: Health Level Seven International (FHIR Infrastructure); description: A container for a collection of resources.; 4.0.0; RESOURCE; type: Bundle; baseDefinition: http://hl7.org/fhir/StructureDefinition/Resource; SPECIALIZATION

variable

name: PatientCreateLocation

headerField: Location

sourceId: PatientCreateResponse

variable

name: PatientSearchFamilyName

description: Enter patient search criteria for a known family name on the target system

hint: [Family name]

variable

name: PatientSearchGivenName

description: Enter patient search criteria for a known given name on the target system

hint: [Given name]

variable

name: PatientSearchBundleTotal

description: Evaluate the returned Patient searchset Bundle.total value

expression: Bundle.total.toInteger()

setup

action

Operations

- Type Resource Description Accept EncodeRequestUrl Params
* Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null') Patient Test simple search to verify server support. xml true ?family=DONTEXPECTAMATCH&given=DONTEXPECTAMATCH

action

Asserts

- Description Direction Operator RequestURL WarningOnly
* Confirm that the request url contains the family search parameter. request contains family false

action

Asserts

- Description Direction ResponseCode WarningOnly
* Confirm that the returned HTTP status is 200(OK). response 200 false

action

Asserts

- Description Resource WarningOnly
* Confirm that the returned resource type is Bundle. Bundle false

action

Asserts

- Description NavigationLinks WarningOnly
* Confirm that the returned Bundle correctly defines the navigation links. true false

test

name: Patient Create Search

description: Create a Patient resource and capture the returned HTTP Header Location. Then search for (read) that Patient using the Location URL value and validate the response.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

test

name: Patient Search Dynamic

description: Search for Patient resources using the user defined dynamic variables ${PatientSearchFamilyName} and ${PatientSearchGivenName} and validate response.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*
TestScript/testscript-example-update/_history/1 Modified: 5/28/2019 2:52:08 PM +02:00

Generated Narrative with Details

id: testscript-example-update

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

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9882

version: 1.0

name: TestScript Example Update

status: draft

experimental: true

date: 18/01/2017

publisher: HL7

contact:

description: TestScript example resource with setup to delete if present and create a new instance of a Patient; and single test definition to update that Patient with various asserts.

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

purpose: Patient (Conditional) Create, Update, Delete Operations

copyright: © HL7.org 2011+

metadata

Links

- Url Description
* http://hl7.org/fhir/patient.html Demographics and other administrative information about an individual or animal receiving care or other health-related services.

Capabilities

- Required Validated Description Link Capabilities
* true false Patient Update and Delete Operations http://hl7.org/fhir/http.html#update CapabilityStatement/example

fixture

autocreate: false

autodelete: false

resource: Peter Chalmers

fixture

autocreate: false

autodelete: false

resource: Donald Duck

profile: Generated Summary: url: http://hl7.org/fhir/StructureDefinition/Patient; version: 4.0.0; name: Patient; ACTIVE; date: 27/12/2018 10:37:54 PM; publisher: Health Level Seven International (Patient Administration); description: Demographics and other administrative information about an individual or animal receiving care or other health-related services.; purpose: Tracking patient is the center of the healthcare process.; 4.0.0; RESOURCE; type: Patient; baseDefinition: http://hl7.org/fhir/StructureDefinition/DomainResource; SPECIALIZATION

Variables

- Name Path SourceId
* createResourceId Patient/id fixture-patient-create

setup

action

Operations

- Type Resource Label Description Accept EncodeRequestUrl Params
* Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') Patient SetupDeletePatient Execute a delete operation to insure the patient does not exist on the server. xml true /${createResourceId}

action

Asserts

- Description Direction Operator ResponseCode WarningOnly
* Confirm that the returned HTTP status is 200(OK) or 204(No Content). response in 200,204 false

action

Operations

- Type Resource Label Description Accept ContentType EncodeRequestUrl Params SourceId
* Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Patient SetupCreatePatient Create patient resource on test server using the contents of fixture-patient-create xml xml true /${createResourceId} fixture-patient-create

action

Asserts

- Description Direction ResponseCode WarningOnly
* Confirm that the returned HTTP status is 201(Created). response 201 false

test

name: Update Patient

description: Update a Patient and validate response.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*
TestScript/testscript-example/_history/1 Modified: 5/28/2019 2:52:08 PM +02:00

Generated Narrative with Details

id: testscript-example

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

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9876

version: 1.0

name: TestScript Example

status: draft

experimental: true

date: 18/01/2017

publisher: HL7

contact:

description: TestScript example resource with setup to delete if present and create a new instance of a Patient; and single test definition to read the created Patient with various asserts.

useContext:

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

purpose: Patient Conditional Create (Update), Read and Delete Operations

copyright: © HL7.org 2011+

metadata

Links

- Url Description
* http://hl7.org/fhir/patient.html Demographics and other administrative information about an individual or animal receiving care or other health-related services.

Capabilities

- Required Validated Description Link Capabilities
* true false Patient Update, Read and Delete Operations http://hl7.org/fhir/http.html#delete CapabilityStatement/example

fixture

autocreate: false

autodelete: false

resource: Peter Chalmers

fixture

autocreate: false

autodelete: false

resource: Peter Chalmers (minimum)

profile: Generated Summary: url: http://hl7.org/fhir/StructureDefinition/Patient; version: 4.0.0; name: Patient; ACTIVE; date: 27/12/2018 10:37:54 PM; publisher: Health Level Seven International (Patient Administration); description: Demographics and other administrative information about an individual or animal receiving care or other health-related services.; purpose: Tracking patient is the center of the healthcare process.; 4.0.0; RESOURCE; type: Patient; baseDefinition: http://hl7.org/fhir/StructureDefinition/DomainResource; SPECIALIZATION

Variables

- Name Path SourceId
* createResourceId Patient/id fixture-patient-create

setup

action

Operations

- Type Resource Label Description Accept EncodeRequestUrl Params
* Delete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete = 'Delete', stated as 'null') Patient SetupDeletePatient Execute a delete operation to insure the patient does not exist on the server. json true /${createResourceId}

action

Asserts

- Description Direction Operator ResponseCode WarningOnly
* Confirm that the returned HTTP status is 200(OK) or 204(No Content). response in 200,204 false

action

Operations

- Type Resource Label Description Accept ContentType EncodeRequestUrl Params SourceId
* Update (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update = 'Update', stated as 'null') Patient SetupCreatePatient Create patient resource on test server using the contents of fixture-patient-create json json true /${createResourceId} fixture-patient-create

action

Asserts

- Description Direction ResponseCode WarningOnly
* Confirm that the returned HTTP status is 201(Created). response 201 false

action

Operations

- Type Resource Description EncodeRequestUrl TargetId
* Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') Patient Read the created patient resource on the test server using the id from fixture-patient-create. Verify contents. true fixture-patient-create

action

Asserts

- Description Direction Response WarningOnly
* Confirm that the returned HTTP status is 200(OK). response okay false

action

Asserts

- Description CompareToSourceId CompareToSourceExpression Operator WarningOnly
* Confirm that the returned Patient contains the expected family name 'Chalmers'. Uses explicit compareToSourceId reference to fixture-patient-create used to create the Patient. fixture-patient-create Patient.name.first().family equals false

test

name: Read Patient

description: Read a Patient and validate response.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

teardown

action

Operations

-
*