@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:TestScript ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "Allergyreadvalidatexml"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "

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

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
" ] ; # fhir:url [ fhir:v "http://hl7.org/fhir/us/core-tg/TestScript/Allergyreadvalidatexml"^^xsd:anyURI] ; # fhir:version [ fhir:v "4.0.0-1"] ; # fhir:name [ fhir:v "Allergyreadvalidatexml"] ; # fhir:title [ fhir:v "HL7 FHIR R4 TestScript Read Validate US Core AllergyIntolerance XML"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2023-08-25"^^xsd:date] ; # fhir:publisher [ fhir:v "HL7 FHIR Infrastructure WG"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 FHIR Infrastructure WG" ] ; fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://hl7.org/Special/committees/fiwg" ] ] ) ] [ fhir:name [ fhir:v "Richard Ettema" ] ; fhir:telecom ( [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "mailto:richard.ettema@aegis.net" ] ] ) ] ) ; # fhir:description [ fhir:v "TestScript to test USCoreAllergyIntolerance resource read and profile validation using #xml format"] ; # fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "US" ] ] ) ] ) ; # fhir:copyright [ fhir:v "(c) Health Level 7 (HL7) International 2023"] ; # fhir:origin ( [ fhir:index [ fhir:v "1"^^xsd:integer ] ; fhir:profile [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types"^^xsd:anyURI ] ; fhir:code [ fhir:v "FHIR-Client" ] ] ] ) ; # fhir:destination ( [ fhir:index [ fhir:v "1"^^xsd:integer ] ; fhir:profile [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types"^^xsd:anyURI ] ; fhir:code [ fhir:v "FHIR-Server" ] ] ] ) ; # fhir:profile ( [ fhir:link ; fhir:id [ fhir:v "USCoreAllergyProfile" ] ; fhir:reference [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" ] ] ) ; # fhir:test ( [ fhir:id [ fhir:v "ReadValidate" ] ; fhir:name [ fhir:v "ReadValidate" ] ; fhir:description [ fhir:v "Test USCoreAllergyIntolerance resource read on destination server and assert returned resource passes validation" ] ; fhir:action ( [ fhir:operation [ fhir:type [ fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI ] ; fhir:code [ fhir:v "read" ] ] ; fhir:resource [ fhir:v "AllergyIntolerance" ] ; fhir:description [ fhir:v "ResourceRead" ] ; fhir:accept [ fhir:v "xml" ] ; fhir:contentType [ fhir:v "xml" ] ; fhir:destination [ fhir:v "1"^^xsd:integer ] ; fhir:encodeRequestUrl [ fhir:v "true"^^xsd:boolean ] ; fhir:origin [ fhir:v "1"^^xsd:integer ] ; fhir:params [ fhir:v "/example" ] ] ] [ fhir:assert [ fhir:description [ fhir:v "Confirm that the returned response code is 200 OK." ] ; fhir:direction [ fhir:v "response" ] ; fhir:responseCode [ fhir:v "200" ] ; fhir:warningOnly [ fhir:v "false"^^xsd:boolean ] ] ] [ fhir:assert [ fhir:description [ fhir:v "Confirm that the returned response payload is the specified resource." ] ; fhir:direction [ fhir:v "response" ] ; fhir:resource [ fhir:v "AllergyIntolerance" ] ; fhir:warningOnly [ fhir:v "false"^^xsd:boolean ] ] ] [ fhir:assert [ fhir:description [ fhir:v "Confirm that the returned resource conforms to the specified profile." ] ; fhir:direction [ fhir:v "response" ] ; fhir:validateProfileId [ fhir:v "USCoreAllergyProfile" ] ; fhir:warningOnly [ fhir:v "false"^^xsd:boolean ] ] ] ) ] ) . # a fhir:us . # -------------------------------------------------------------------------------------