This is the Version 1.5.0 Release of the Touchstone Testing Implementation Guide, based on FHIR Version 4.0.1. See the Directory of published versions
PatientSearchPagesNextJson
Generated Narrative
Resource "patient-search-pages-next-json"
url: http://touchstone.aegis.net/touchstone/fhir/testing/TestScript/patient-search-pages-next-json
version: 1.5.0
name: PatientSearchPagesNextJson
status: active
date: 2021-05-13
publisher: AEGIS.net, Inc.
contact: Touchstone Support: Touchstone_Support@aegis.net
description: Demonstrate the use of a Patient search and use of the new operation extension searchMaxPages.
jurisdiction: US (unknown#US)
copyright: (c) AEGIS.net, Inc. 2015+
profile: http://hl7.org/fhir/StructureDefinition/Bundle "Bundle"
test
name: PatientSearchMaxPages
description: Search for Patients in JSON format with page count = 10 and max number of auto retrieve pages = 5. The expected response code is 200 (Ok). The expected response payload is Bundle searchset with matching Patient resources in JSON format.
action
Operations
- Extension Type Resource Description Accept EncodeRequestUrl Params * Search (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code search = 'Search', stated as 'null') Patient Search for all Patients with general practitioner equal to Practitioner/example. Auto page through next 5 pages. json false ?_count=10&general-practitioner=Practitioner/example action
Asserts
- Description Direction ResponseCode WarningOnly * Confirm that the returned HTTP status is 200(Ok). response 200 false action
Asserts
- Description Direction ContentType WarningOnly * Confirm that the returned format is JSON. response json false action
Asserts
- Description Direction Resource WarningOnly * Confirm that the returned resource type is Bundle. response Bundle false action
Asserts
- Extension Description Direction ValidateProfileId WarningOnly * Validate that the returned resource conforms to the base FHIR Bundle profile. response bundle-profile false