Generated Narrative: TestScript
Resource TestScript "Allergyreadvalidatexml"
url: http://hl7.org/fhir/us/core-tg/TestScript/Allergyreadvalidatexml
version: 4.0.0-1
name: Allergyreadvalidatexml
title: HL7 FHIR R4 TestScript Read Validate US Core AllergyIntolerance XML
status: active
date: 2023-08-25
publisher: HL7 FHIR Infrastructure WG
contact: HL7 FHIR Infrastructure WG: https://hl7.org/Special/committees/fiwg, Richard Ettema: mailto:richard.ettema@aegis.net
description: TestScript to test USCoreAllergyIntolerance resource read and profile validation using #xml format
jurisdiction: United States of America (ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code#US)
copyright: (c) Health Level 7 (HL7) International 2023
- | Index | Profile |
* | 1 | FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null') |
- | Index | Profile |
* | 1 | FHIR Server (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types code FHIR-Server = 'FHIR Server', stated as 'null') |
profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance "USCoreAllergyIntolerance"
test
id
ReadValidatename: ReadValidate
description: Test USCoreAllergyIntolerance resource read on destination server and assert returned resource passes validation
action
Operations
- Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params * Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null') AllergyIntolerance ResourceRead xml xml 1 true 1 /example action
Asserts
- Description Direction ResponseCode WarningOnly * Confirm that the returned response code is 200 OK. response 200 false action
Asserts
- Description Direction Resource WarningOnly * Confirm that the returned response payload is the specified resource. response AllergyIntolerance false action
Asserts
- Description Direction ValidateProfileId WarningOnly * Confirm that the returned resource conforms to the specified profile. response USCoreAllergyProfile false