SMART App Launch
2.2.0-ballot - CI-Build International flag

This page is part of the Smart App Launch Implementation Guide (v2.2.0-ballot: STU 2.2 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions

: Two co-equal brands - TTL Representation

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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example4"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:timestamp [ fhir:v "2023-09-05T20:36:42.268403-07:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "https://ehr.example.org/Organization/brand1"^^xsd:anyURI ] ;
    ( fhir:resource <https://ehr.example.org/Organization/brand1> )
  ] [
fhir:fullUrl [ fhir:v "https://ehr.example.org/Organization/brand2"^^xsd:anyURI ] ;
    ( fhir:resource <https://ehr.example.org/Organization/brand2> )
  ] [
fhir:fullUrl [ fhir:v "https://ehr.example.org/Endpoint/coequal-example"^^xsd:anyURI ] ;
    ( fhir:resource <https://ehr.example.org/Endpoint/coequal-example> )
  ] ) . # 

<https://ehr.example.org/Organization/brand1> a fhir:Organization ;
  fhir:id [ fhir:v "brand1"] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "brandLogo"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://example.org/brand1/logo/main.svg"^^xsd:anyURI ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/organization-brand"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "portalName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Brand1 Portal" ]     ] [
fhir:url [ fhir:v "portalUrl"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://example.org/chart.brand1.org"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "portalEndpoint"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Endpoint/coequal-example" ] ;
fhir:display [ fhir:v "FHIR R4 Endpoint for Brand1/Brand2" ]       ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/organization-portal"^^xsd:anyURI ]
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://brand1.example.com" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/smart-app-launch/CodeSystem/patient-access-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "insurance" ] ;
fhir:display [ fhir:v "Insurance" ]     ] )
  ] ) ; # 
  fhir:name [ fhir:v "Brand1"] ; # 
  fhir:alias ( [ fhir:v "Umbrella Insurance"] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.brand1.example.com" ]
  ] ) ; # 
  fhir:address ( [
fhir:city [ fhir:v "Napa" ] ;
fhir:state [ fhir:v "CA" ]
  ] [
fhir:city [ fhir:v "Sonoma" ] ;
fhir:state [ fhir:v "CA" ]
  ] [
fhir:city [ fhir:v "St Helena" ] ;
fhir:state [ fhir:v "CA" ]
  ] ) . # 

<https://ehr.example.org/Organization/brand2> a fhir:Organization ;
  fhir:id [ fhir:v "brand2"] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "brandLogo"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://example.org/brand2/logo/main.svg"^^xsd:anyURI ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/organization-brand"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "portalName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Brand2 Portal" ]     ] [
fhir:url [ fhir:v "portalUrl"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://example.org/chart.brand2.org"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "portalEndpoint"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Endpoint/coequal-example" ] ;
fhir:display [ fhir:v "FHIR R4 Endpoint for Brand1/Brand2" ]       ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/organization-portal"^^xsd:anyURI ]
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://brand2.example.com" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/smart-app-launch/CodeSystem/patient-access-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "insurance" ] ;
fhir:display [ fhir:v "Insurance" ]     ] )
  ] ) ; # 
  fhir:name [ fhir:v "Brand2"] ; # 
  fhir:alias ( [ fhir:v "Shield Insurance"] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.brand1.example.com" ]
  ] ) ; # 
  fhir:address ( [
fhir:city [ fhir:v "Sonoma" ] ;
fhir:state [ fhir:v "CA" ]
  ] [
fhir:city [ fhir:v "San Rafael" ] ;
fhir:state [ fhir:v "CA" ]
  ] [
fhir:city [ fhir:v "Santa Rosa" ] ;
fhir:state [ fhir:v "CA" ]
  ] ) . # 

<https://ehr.example.org/Endpoint/coequal-example> a fhir:Endpoint ;
  fhir:id [ fhir:v "coequal-example"] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version"^^xsd:anyURI ] ;
fhir:value [ fhir:v "4.0.1" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:connectionType [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/endpoint-connection-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "hl7-fhir-rest" ]
  ] ; # 
  fhir:name [ fhir:v "FHIR R4 Endpoint for Brand1/Brand2"] ; # 
  fhir:contact ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://open.ehr.com" ]
  ] ) ; # 
  fhir:payloadType ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/endpoint-payload-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "none" ]     ] )
  ] ) ; # 
  fhir:address [ fhir:v "https://example.org/brand1.org/ProdFHIR/api/FHIR/R4"^^xsd:anyURI] . #