US Core Testing Guide
3.1.1-1 - ci-build United States of America flag

US Core Testing Guide - Local Development build (v3.1.1-1). See the Directory of published versions

TestScript: HL7 FHIR R4 TestScript Read Validate US Core AllergyIntolerance XML

Official URL: http://hl7.org/fhir/us/core-tg/TestScript/Allergyreadvalidatexml Version: 3.1.1-1
Active as of 2023-08-25 Computable Name: Allergyreadvalidatexml

Copyright/Legal: (c) Health Level 7 (HL7) International 2023

TestScript to test USCoreAllergyIntolerance resource read and profile validation using #xml format

Generated Narrative: TestScript

Resource TestScript "Allergyreadvalidatexml"

url: http://hl7.org/fhir/us/core-tg/TestScript/Allergyreadvalidatexml

version: 3.1.1-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

Origins

-IndexProfile
*1FHIR Client (Details: http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types code FHIR-Client = 'FHIR Client', stated as 'null')

Destinations

-IndexProfile
*1FHIR 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

ReadValidate

name: ReadValidate

description: Test USCoreAllergyIntolerance resource read on destination server and assert returned resource passes validation

action

Operations

-TypeResourceDescriptionAcceptContentTypeDestinationEncodeRequestUrlOriginParams
*Read (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code read = 'Read', stated as 'null')AllergyIntoleranceResourceReadxmlxml1true1/example

action

Asserts

-DescriptionDirectionResponseCodeWarningOnly
*Confirm that the returned response code is 200 OK.response200false

action

Asserts

-DescriptionDirectionResourceWarningOnly
*Confirm that the returned response payload is the specified resource.responseAllergyIntolerancefalse

action

Asserts

-DescriptionDirectionValidateProfileIdWarningOnly
*Confirm that the returned resource conforms to the specified profile.responseUSCoreAllergyProfilefalse