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

: HL7 FHIR R4 US Core AllergyIntolerance Validate - TTL Representation

Active as of 2023-08-25

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:TestPlan ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "us-core-testplan-allergy-validate"] ; #
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Contact:</b> (HL7 FHIR Infrastructure WG: <a href=\"https://hl7.org/Special/committees/fiwg\">https://hl7.org/Special/commit...</a>, Richard Ettema: <a href=\"mailto:mailto:richard.ettema@aegis.net\">mailto:richard.ettema@aegis.net</a>)</p><p><b>Category: </b><span title=\"Codes: {http://hl7.org/fhir/testscript-scope-phase-codes integration}\">Integration</span></p><p><b>Test Plan Scope: </b><a href=\"http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html\">http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html</a></p><p><b>Test Tools: </b></p><div><p><a href=\"https://touchstone.com\">Touchstone FHIR Testing Platform</a></p>\n</div><p><b>Test Plan Dependency:</b></p><ul><li><div><p><strong>Requirements traceability:</strong> <a href=\"Requirements-us-core-req-allergy-responder.html\">Requirements-us-core-req-allergy-responder</a></p>\n</div></li></ul><h2>Test Case - Sequence1</h2><h3>Test Case Dependency</h3><ul><li><div><p><strong>Requirements traceability:</strong> <a href=\"Requirements-us-core-req-allergy-responder.html#us-core-req-allergy-responder-01\">us-core-req-allergy-responder-01</a></p>\n</div></li></ul><h3>Test Run 1</h3><div><p>Read JSON formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile.</p>\n</div><table class=\"grid\"><tr><td><b>Language</b></td><td><b>Source[x]</b></td></tr><tr><td><span title=\"Codes: {http://example.org/fhir/testplan/language testscript}\">testscript</span></td><td><a href=\"TestScript-Allergydynamicreadvalidatejson.html\">TestScript/Allergydynamicreadvalidatejson</a> &quot;Allergydynamicreadvalidatejson&quot;</td></tr></table><h3>Test Run 2</h3><div><p>Read XML formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile.</p>\n</div><table class=\"grid\"><tr><td><b>Language</b></td><td><b>Source[x]</b></td></tr><tr><td><span title=\"Codes: {http://example.org/fhir/testplan/language testscript}\">testscript</span></td><td><a href=\"TestScript-Allergydynamicreadvalidatexml.html\">TestScript/Allergydynamicreadvalidatexml</a> &quot;Allergydynamicreadvalidatexml&quot;</td></tr></table><h3>Test Data</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Content</b></td><td><b>Source[x]</b></td></tr><tr><td><span title=\"{http://example.org/fhir/testplan/testData-type example}\">example</span></td><td><a href=\"AllergyIntolerance-example.html\">AllergyIntolerance/example</a></td><td>Example AllergyIntolerance resource from the US Core 3.1.1 Implementation Guide</td></tr></table></div>"
  ] ; #
  fhir:url [ fhir:v "http://hl7.org/fhir/us/core-tg/TestPlan/us-core-testplan-allergy-validate"^^xsd:anyURI] ; #
  fhir:version [ fhir:v "3.1.1-1"] ; #
  fhir:name [ fhir:v "USCoreTestPlanAllergyValidate"] ; #
  fhir:title [ fhir:v "HL7 FHIR R4 US Core AllergyIntolerance Validate"] ; #
  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 "Example TestPlan for resource AllergyIntolerance read and profile validation"] ; #
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ]     ] )
  ] ) ; #
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/testscript-scope-phase-codes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "integration" ]     ] )
  ] ) ; #
  fhir:scope ( [
fhir:link <http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html> ;
fhir:reference [ fhir:v "http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html" ]
  ] ) ; #
  fhir:testTools [ fhir:v "[Touchstone FHIR Testing Platform](https://touchstone.com)"] ; #
  fhir:dependency ( [
fhir:description [ fhir:v "**Requirements traceability:** [Requirements-us-core-req-allergy-responder](Requirements-us-core-req-allergy-responder.html)" ]
  ] ) ; #
  fhir:testCase ( [
fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
    ( fhir:dependency [
fhir:description [ fhir:v "**Requirements traceability:** [us-core-req-allergy-responder-01](Requirements-us-core-req-allergy-responder.html#us-core-req-allergy-responder-01)" ]     ] ) ;
    ( fhir:testRun [
fhir:narrative [ fhir:v "Read JSON formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile." ] ;
fhir:script [
fhir:language [
          ( fhir:coding [
fhir:system [ fhir:v "http://example.org/fhir/testplan/language"^^xsd:anyURI ] ;
fhir:code [ fhir:v "testscript" ]           ] )         ] ;
fhir:source [
a fhir:Reference ;
fhir:reference [ fhir:v "TestScript/Allergydynamicreadvalidatejson" ]         ]       ]     ] [
fhir:narrative [ fhir:v "Read XML formatted AllergyIntolerance and validate against the US Core 3.1.1 AllergyIntolerance profile." ] ;
fhir:script [
fhir:language [
          ( fhir:coding [
fhir:system [ fhir:v "http://example.org/fhir/testplan/language"^^xsd:anyURI ] ;
fhir:code [ fhir:v "testscript" ]           ] )         ] ;
fhir:source [
a fhir:Reference ;
fhir:reference [ fhir:v "TestScript/Allergydynamicreadvalidatexml" ]         ]       ]     ] ) ;
    ( fhir:testData [
fhir:type [
fhir:system [ fhir:v "http://example.org/fhir/testplan/testData-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "example" ]       ] ;
fhir:content [
fhir:reference [ fhir:v "AllergyIntolerance/example" ]       ] ;
fhir:source [ fhir:v "Example AllergyIntolerance resource from the US Core 3.1.1 Implementation Guide" ]     ] )
  ] ) . #

<http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-allergyintolerance.html> a fhir:us .