SMART App Launch
2.2.0 - STU 2.2 International flag

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

: Different EHRs for different sub-populations displayed in a unified card - 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 "example3"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:timestamp [ fhir:v "2023-09-05T20:23:42.723178-07:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "https://examplehospital.example.org/Organization/examplehospital"^^xsd:anyURI ] ;
    ( fhir:resource <https://examplehospital.example.org/Organization/examplehospital> )
  ] [
fhir:fullUrl [ fhir:v "https://ehr1.example.com/Endpoint/examplehospital-ehr1"^^xsd:anyURI ] ;
    ( fhir:resource <https://ehr1.example.com/Endpoint/examplehospital-ehr1> )
  ] [
fhir:fullUrl [ fhir:v "https://ehr2.example.com/Endpoint/examplehospital-ehr2"^^xsd:anyURI ] ;
    ( fhir:resource <https://ehr2.example.com/Endpoint/examplehospital-ehr2> )
  ] ) . # 

<https://examplehospital.example.org/Organization/examplehospital> a fhir:Organization ;
  fhir:id [ fhir:v "examplehospital"] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "brandLogo"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://example.org/examplehospital-ehr1/themes/custom/logo.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 "ExampleHospital Patient Gateway" ]     ] [
fhir:url [ fhir:v "portalUrl"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://patientgateway.examplehospital.ehr1.example.org"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "portalDescription"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Patient Gateway is an online tool to help adult patients connect with health care providers, manage appointments, and refill prescriptions.\n" ]     ] [
fhir:url [ fhir:v "portalEndpoint"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:link <https://ehr1.example.com/Endpoint/examplehospital-ehr1> ;
fhir:reference [ fhir:v "https://ehr1.example.com/Endpoint/examplehospital-ehr1" ] ;
fhir:display [ fhir:v "FHIR R4 Endpoint for EHR1" ]       ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/organization-portal"^^xsd:anyURI ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "portalName"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ExampleHospital Pediatric Portal" ]     ] [
fhir:url [ fhir:v "portalUrl"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://pediatrics.examplehospital.ehr2.example.org"^^xsd:anyURI ]     ] [
fhir:url [ fhir:v "portalDescription"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Pediatric Portal is the entrypoint for pediatric patients." ]     ] [
fhir:url [ fhir:v "portalEndpoint"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:link <https://ehr2.example.com/Endpoint/examplehospital-ehr2> ;
fhir:reference [ fhir:v "https://ehr2.example.com/Endpoint/examplehospital-ehr2" ] ;
fhir:display [ fhir:v "FHIR R4 Endpoint for EHR2" ]       ]     ] ) ;
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://examplehospital.example.org" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:type ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/organization-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "prov" ] ;
fhir:display [ fhir:v "Healthcare Provider" ]     ] )
  ] ) ; # 
  fhir:name [ fhir:v "ExampleHospital"] ; # 
  fhir:alias ( [ fhir:v "GoodHealth Healthcare"] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://examplehospital.example.org/contact" ]
  ] ) ; # 
  fhir:address ( [
fhir:city [ fhir:v "Boston" ] ;
fhir:state [ fhir:v "MA" ]
  ] [
fhir:city [ fhir:v "Newton" ] ;
fhir:state [ fhir:v "MA" ]
  ] [
fhir:city [ fhir:v "Waltham" ] ;
fhir:state [ fhir:v "MA" ]
  ] ) ; # 
  fhir:endpoint ( [
fhir:link <https://ehr1.example.com/Endpoint/examplehospital-ehr1> ;
fhir:reference [ fhir:v "https://ehr1.example.com/Endpoint/examplehospital-ehr1" ] ;
fhir:display [ fhir:v "FHIR R4 Endpoint for EHR1" ]
  ] [
fhir:link <https://ehr2.example.com/Endpoint/examplehospital-ehr2> ;
fhir:reference [ fhir:v "https://ehr2.example.com/Endpoint/examplehospital-ehr2" ] ;
fhir:display [ fhir:v "FHIR R4 Endpoint for EHR2" ]
  ] ) . # 

<https://ehr1.example.com/Endpoint/examplehospital-ehr1> a fhir:Endpoint ;
  fhir:id [ fhir:v "examplehospital-ehr1"] ; # 
  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 ExampleHospital's EHR1 Patient Gateway"] ; # 
  fhir:contact ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://open.ehr1.example.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://ehr1.example.org/ExampleHospital/api/FHIR/R4"^^xsd:anyURI] . # 

<https://ehr2.example.com/Endpoint/examplehospital-ehr2> a fhir:Endpoint ;
  fhir:id [ fhir:v "examplehospital-ehr2"] ; # 
  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 ExampleHospital's EHR2 Pediatric Portal"] ; # 
  fhir:contact ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://open.ehr2.example.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://ehr2.example.org/ExampleHospital/api/FHIR/R4"^^xsd:anyURI] . #