@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:Basic ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "us-core-testplan-allergy-validate"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "

Contact: (HL7 FHIR Infrastructure WG: https://hl7.org/Special/commit..., Richard Ettema: mailto:richard.ettema@aegis.net)

Category: Integration

Test Plan Scope: http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html

Test Tools:

Test Plan Dependency:

Test Case - Sequence1

Test Case Dependency

Test Run 1

Read JSON formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile.

\n
LanguageSource[x]
testscriptTestScript/Allergydynamicreadvalidatejson "Allergydynamicreadvalidatejson"

Test Run 2

Read XML formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile.

\n
LanguageSource[x]
testscriptTestScript/Allergydynamicreadvalidatexml "Allergydynamicreadvalidatexml"

Test Data

TypeContentSource[x]
exampleAllergyIntolerance/exampleExample AllergyIntolerance resource from the US Core 3.1.1 Implementation Guide
" ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/us/core-tg/TestPlan/us-core-testplan-allergy-validate"^^xsd:anyURI ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version"^^xsd:anyURI ] ; fhir:value [ fhir:v "3.1.1-1" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name"^^xsd:anyURI ] ; fhir:value [ fhir:v "USCoreTestPlanAllergyValidate" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title"^^xsd:anyURI ] ; fhir:value [ fhir:v "HL7 FHIR R4 US Core AllergyIntolerance Validate" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.status"^^xsd:anyURI ] ; fhir:value [ fhir:v "active" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date"^^xsd:anyURI ] ; fhir:value [ fhir:v "2023-08-25"^^xsd:date ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher"^^xsd:anyURI ] ; fhir:value [ fhir:v "HL7 FHIR Infrastructure WG" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact"^^xsd:anyURI ] ; fhir:value [ a fhir:ContactDetail ; 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:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact"^^xsd:anyURI ] ; fhir:value [ a fhir:ContactDetail ; fhir:name [ fhir:v "Richard Ettema" ] ; fhir:telecom ( [ fhir:system [ fhir:v "email" ] ; fhir:value [ fhir:v "mailto:richard.ettema@aegis.net" ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.description"^^xsd:anyURI ] ; fhir:value [ fhir:v "Example TestPlan for resource AllergyIntolerance read and profile validation" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.jurisdiction"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; fhir:coding ( [ fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ; fhir:code [ fhir:v "US" ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.category"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; fhir:coding ( [ fhir:system [ fhir:v "http://hl7.org/fhir/testscript-scope-phase-codes"^^xsd:anyURI ] ; fhir:code [ fhir:v "integration" ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.scope"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html" ] ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testTools"^^xsd:anyURI ] ; fhir:value [ fhir:v "[Touchstone FHIR Testing Platform](https://touchstone.com)" ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency.description"^^xsd:anyURI ] ; fhir:value [ fhir:v "**Requirements traceability:** [Requirements-us-core-req-allergy-responder](Requirements-us-core-req-allergy-responder.html)" ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency"^^xsd:anyURI ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.sequence"^^xsd:anyURI ] ; fhir:value [ fhir:v "1"^^xsd:integer ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency.description"^^xsd:anyURI ] ; fhir:value [ fhir:v "**Requirements traceability:** [us-core-req-allergy-responder-01](Requirements-us-core-req-allergy-responder.html#us-core-req-allergy-responder-01)" ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.dependency"^^xsd:anyURI ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.narrative"^^xsd:anyURI ] ; fhir:value [ fhir:v "Read JSON formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile." ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; fhir:coding ( [ fhir:system [ fhir:v "http://example.org/fhir/testplan/language"^^xsd:anyURI ] ; fhir:code [ fhir:v "testscript" ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "TestScript/Allergydynamicreadvalidatejson" ] ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script"^^xsd:anyURI ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun"^^xsd:anyURI ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.narrative"^^xsd:anyURI ] ; fhir:value [ fhir:v "Read XML formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile." ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.language"^^xsd:anyURI ] ; fhir:value [ a fhir:CodeableConcept ; fhir:coding ( [ fhir:system [ fhir:v "http://example.org/fhir/testplan/language"^^xsd:anyURI ] ; fhir:code [ fhir:v "testscript" ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script.sourceReference"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "TestScript/Allergydynamicreadvalidatexml" ] ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun.script"^^xsd:anyURI ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testRun"^^xsd:anyURI ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testData.type"^^xsd:anyURI ] ; fhir:value [ a fhir:Coding ; fhir:system [ fhir:v "http://example.org/fhir/testplan/testData-type"^^xsd:anyURI ] ; fhir:code [ fhir:v "example" ] ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testData.content"^^xsd:anyURI ] ; fhir:value [ a fhir:Reference ; fhir:link ; fhir:reference [ fhir:v "AllergyIntolerance/example" ] ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testData.sourceString"^^xsd:anyURI ] ; fhir:value [ fhir:v "Example AllergyIntolerance resource from the US Core 3.1.1 Implementation Guide" ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase.testData"^^xsd:anyURI ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase"^^xsd:anyURI ] ] ) ; # fhir:code [ fhir:coding ( [ fhir:system [ fhir:v "http://hl7.org/fhir/fhir-types"^^xsd:anyURI ] ; fhir:code [ fhir:v "TestPlan" ] ] ) ] . # a fhir:us . a fhir:us . a fhir:us . a fhir:us . # -------------------------------------------------------------------------------------