National Healthcare Directory Attestation and Verification
1.0.0-ballot - ballot United States of America flag

National Healthcare Directory Attestation and Verification, published by HL7 Patient Administration Working Group. This is not an authorized publication; it is the continuous build for version 1.0.0-ballot). This version is based on the current content of https://github.com/HL7/fhir-directory-attestation/ and changes regularly. See the Directory of published versions

: Federated Query - TTL Representation

Active as of 2022-06-03

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:TestScript;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "fquA2atodHs6n3cYs"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript</b><a name=\"fquA2atodHs6n3cYs\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource TestScript &quot;fquA2atodHs6n3cYs&quot; </p></div><p><b>url</b>: <code>http://example.org/ExampleScenario/FederatedQuery</code></p><p><b>version</b>: 1.0.0-ballot</p><p><b>name</b>: Federated_Query</p><p><b>status</b>: active</p><p><b>date</b>: 2022-06-03 18:08:03+0000</p><p><b>publisher</b>: HL7 Patient Administration Working Group</p><p><b>contact</b>: HL7 Patient Administration Working Group: <a href=\"https://www.hl7.org/Special/committees/pafm\">https://www.hl7.org/Special/committees/pafm</a>,<a href=\"mailto:pafm@lists.HL7.org\">pafm@lists.HL7.org</a></p><p><b>jurisdiction</b>: United States of America <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-ISO3166Part1.html\">ISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code</a>#US)</span></p><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Organization-o6AJtyEk6sSsHWLjt.html\">Organization/o6AJtyEk6sSsHWLjt: St. Jame’s Infirmary</a> &quot;St. James Infirmary&quot;</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Practitioner-pZzusFYr3PBYyRnot.html\">Practitioner/pZzusFYr3PBYyRnot: Allison Camron, MD</a> &quot; CAMRON&quot;</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Organization-o5sZhrXrLK9pXDGKX.html\">Organization/o5sZhrXrLK9pXDGKX: 456 Main Street Anytown CT 00014-1234</a> &quot;Hamilton Clinic&quot;</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"HealthcareService-hsEk35Ayonz755t6u.html\">HealthcareService/hsEk35Ayonz755t6u: Emergency Medicine</a></p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Endpoint-AcmeOfCTPortalEndpoint.html\">Endpoint/AcmeOfCTPortalEndpoint: St. James Portal</a> &quot;Endpoint for Acme of CT Portal&quot;</p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Device-dXuinjribcN2ARYXv.html\">Device/dXuinjribcN2ARYXv: Distributed App (DApp)</a></p></blockquote><blockquote><p><b>fixture</b></p><p><b>autocreate</b>: true</p><p><b>autodelete</b>: true</p><p><b>resource</b>: <a href=\"Device-dTixApQCHxxheiLX3.html\">Device/dTixApQCHxxheiLX3: National Directory</a></p></blockquote><blockquote><p><b>test</b></p><p><b>name</b>: Query directory for St. James Infirmary</p><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Label</b></td><td><b>Description</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>SourceId</b></td><td><b>TargetId</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Query directory for St. James Infirmary organization</td><td>/Organization?name=St. James Infirmary</td><td>false</td><td>get</td><td>oPxE9d7Wtqjy9WEZx</td><td>dTixApQCHxxheiLX3</td><td>/Organization?name=St. James Infirmary</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Label</b></td><td><b>Description</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>SourceId</b></td><td><b>TargetId</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Query directory for street address</td><td>/Location?address=456 Main Street</td><td>false</td><td>get</td><td>oPxE9d7Wtqjy9WEZx</td><td>dTixApQCHxxheiLX3</td><td>/Location?address=456 Main Street</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Label</b></td><td><b>Description</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>SourceId</b></td><td><b>TargetId</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Query directory for street address</td><td>/Location?address-postalcode=00014</td><td>false</td><td>get</td><td>oPxE9d7Wtqjy9WEZx</td><td>dTixApQCHxxheiLX3</td><td>/Location?address-postalcode=00014</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Label</b></td><td><b>Description</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>SourceId</b></td><td><b>TargetId</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Query directory for local services</td><td>/HealthcareService?category=emergency</td><td>false</td><td>get</td><td>oPxE9d7Wtqjy9WEZx</td><td>dTixApQCHxxheiLX3</td><td>/HealthcareService?category=emergency</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Label</b></td><td><b>Description</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>SourceId</b></td><td><b>TargetId</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Query directory for local services</td><td>/Endpoint?name=St. James</td><td>false</td><td>get</td><td>oPxE9d7Wtqjy9WEZx</td><td>dTixApQCHxxheiLX3</td><td>/Endpoint?name=St. James</td></tr></table></blockquote><blockquote><p><b>action</b></p><h3>Operations</h3><table class=\"grid\"><tr><td>-</td><td><b>Label</b></td><td><b>Description</b></td><td><b>EncodeRequestUrl</b></td><td><b>Method</b></td><td><b>SourceId</b></td><td><b>TargetId</b></td><td><b>Url</b></td></tr><tr><td>*</td><td>Query directory for physician</td><td>/Practitioner?name=Camron</td><td>false</td><td>get</td><td>oPxE9d7Wtqjy9WEZx</td><td>dTixApQCHxxheiLX3</td><td>/Practitioner?name=Camron</td></tr></table></blockquote></blockquote></div>"
  ]; # 
  fhir:TestScript.url [ fhir:value "http://example.org/ExampleScenario/FederatedQuery"]; # 
  fhir:TestScript.version [ fhir:value "1.0.0-ballot"]; # 
  fhir:TestScript.name [ fhir:value "Federated_Query"]; # 
  fhir:TestScript.status [ fhir:value "active"]; # 
  fhir:TestScript.date [ fhir:value "2022-06-03T18:08:03.756Z"^^xsd:dateTime]; # 
  fhir:TestScript.publisher [ fhir:value "HL7 Patient Administration Working Group"]; # 
  fhir:TestScript.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 Patient Administration Working Group" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://www.hl7.org/Special/committees/pafm" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "pafm@lists.HL7.org" ]     ]
  ]; # 
  fhir:TestScript.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ]     ]
  ]; # 
  fhir:TestScript.fixture [
     fhir:index 0;
     fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.resource [
       fhir:Reference.reference [ fhir:value "Organization/o6AJtyEk6sSsHWLjt" ];
       fhir:Reference.display [ fhir:value "St. Jame’s Infirmary" ]     ]
  ], [
     fhir:index 1;
     fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.resource [
       fhir:Reference.reference [ fhir:value "Practitioner/pZzusFYr3PBYyRnot" ];
       fhir:Reference.display [ fhir:value "Allison Camron, MD" ]     ]
  ], [
     fhir:index 2;
     fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.resource [
       fhir:Reference.reference [ fhir:value "Organization/o5sZhrXrLK9pXDGKX" ];
       fhir:Reference.type [ fhir:value "Organization" ];
       fhir:Reference.display [ fhir:value "456 Main Street Anytown CT 00014-1234" ]     ]
  ], [
     fhir:index 3;
     fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.resource [
       fhir:Reference.reference [ fhir:value "HealthcareService/hsEk35Ayonz755t6u" ];
       fhir:Reference.type [ fhir:value "HealthcareService" ];
       fhir:Reference.display [ fhir:value "Emergency Medicine" ]     ]
  ], [
     fhir:index 4;
     fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.resource [
       fhir:Reference.reference [ fhir:value "Endpoint/AcmeOfCTPortalEndpoint" ];
       fhir:Reference.type [ fhir:value "Endpoint" ];
       fhir:Reference.display [ fhir:value "St. James Portal" ]     ]
  ], [
     fhir:index 5;
     fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.resource [
       fhir:Reference.reference [ fhir:value "Device/dXuinjribcN2ARYXv" ];
       fhir:Reference.type [ fhir:value "Device" ];
       fhir:Reference.display [ fhir:value "Distributed App (DApp)" ]     ]
  ], [
     fhir:index 6;
     fhir:TestScript.fixture.autocreate [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.autodelete [ fhir:value "true"^^xsd:boolean ];
     fhir:TestScript.fixture.resource [
       fhir:Reference.reference [ fhir:value "Device/dTixApQCHxxheiLX3" ];
       fhir:Reference.type [ fhir:value "Device" ];
       fhir:Reference.display [ fhir:value "National Directory" ]     ]
  ]; # 
  fhir:TestScript.test [
     fhir:index 0;
     fhir:TestScript.test.name [ fhir:value "Query directory for St. James Infirmary" ];
     fhir:TestScript.test.action [
       fhir:index 0;
       fhir:TestScript.test.action.operation [
         fhir:TestScript.setup.action.operation.label [ fhir:value "Query directory for St. James Infirmary organization" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "/Organization?name=St. James Infirmary" ];
         fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "false"^^xsd:boolean ];
         fhir:TestScript.setup.action.operation.method [ fhir:value "get" ];
         fhir:TestScript.setup.action.operation.sourceId [ fhir:value "oPxE9d7Wtqjy9WEZx" ];
         fhir:TestScript.setup.action.operation.targetId [ fhir:value "dTixApQCHxxheiLX3" ];
         fhir:TestScript.setup.action.operation.url [ fhir:value "/Organization?name=St. James Infirmary" ]       ]     ], [
       fhir:index 1;
       fhir:TestScript.test.action.operation [
         fhir:TestScript.setup.action.operation.label [ fhir:value "Query directory for street address" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "/Location?address=456 Main Street" ];
         fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "false"^^xsd:boolean ];
         fhir:TestScript.setup.action.operation.method [ fhir:value "get" ];
         fhir:TestScript.setup.action.operation.sourceId [ fhir:value "oPxE9d7Wtqjy9WEZx" ];
         fhir:TestScript.setup.action.operation.targetId [ fhir:value "dTixApQCHxxheiLX3" ];
         fhir:TestScript.setup.action.operation.url [ fhir:value "/Location?address=456 Main Street" ]       ]     ], [
       fhir:index 2;
       fhir:TestScript.test.action.operation [
         fhir:TestScript.setup.action.operation.label [ fhir:value "Query directory for street address" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "/Location?address-postalcode=00014" ];
         fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "false"^^xsd:boolean ];
         fhir:TestScript.setup.action.operation.method [ fhir:value "get" ];
         fhir:TestScript.setup.action.operation.sourceId [ fhir:value "oPxE9d7Wtqjy9WEZx" ];
         fhir:TestScript.setup.action.operation.targetId [ fhir:value "dTixApQCHxxheiLX3" ];
         fhir:TestScript.setup.action.operation.url [ fhir:value "/Location?address-postalcode=00014" ]       ]     ], [
       fhir:index 3;
       fhir:TestScript.test.action.operation [
         fhir:TestScript.setup.action.operation.label [ fhir:value "Query directory for local services" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "/HealthcareService?category=emergency" ];
         fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "false"^^xsd:boolean ];
         fhir:TestScript.setup.action.operation.method [ fhir:value "get" ];
         fhir:TestScript.setup.action.operation.sourceId [ fhir:value "oPxE9d7Wtqjy9WEZx" ];
         fhir:TestScript.setup.action.operation.targetId [ fhir:value "dTixApQCHxxheiLX3" ];
         fhir:TestScript.setup.action.operation.url [ fhir:value "/HealthcareService?category=emergency" ]       ]     ], [
       fhir:index 4;
       fhir:TestScript.test.action.operation [
         fhir:TestScript.setup.action.operation.label [ fhir:value "Query directory for local services" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "/Endpoint?name=St. James" ];
         fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "false"^^xsd:boolean ];
         fhir:TestScript.setup.action.operation.method [ fhir:value "get" ];
         fhir:TestScript.setup.action.operation.sourceId [ fhir:value "oPxE9d7Wtqjy9WEZx" ];
         fhir:TestScript.setup.action.operation.targetId [ fhir:value "dTixApQCHxxheiLX3" ];
         fhir:TestScript.setup.action.operation.url [ fhir:value "/Endpoint?name=St. James" ]       ]     ], [
       fhir:index 5;
       fhir:TestScript.test.action.operation [
         fhir:TestScript.setup.action.operation.label [ fhir:value "Query directory for physician" ];
         fhir:TestScript.setup.action.operation.description [ fhir:value "/Practitioner?name=Camron" ];
         fhir:TestScript.setup.action.operation.encodeRequestUrl [ fhir:value "false"^^xsd:boolean ];
         fhir:TestScript.setup.action.operation.method [ fhir:value "get" ];
         fhir:TestScript.setup.action.operation.sourceId [ fhir:value "oPxE9d7Wtqjy9WEZx" ];
         fhir:TestScript.setup.action.operation.targetId [ fhir:value "dTixApQCHxxheiLX3" ];
         fhir:TestScript.setup.action.operation.url [ fhir:value "/Practitioner?name=Camron" ]       ]     ]
  ]. # 

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.