This page is part of the Smart App Launch Implementation Guide (v2.1.0: STU 2.1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
: Example App State - 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:Basic ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "app-state"] ; #
fhir:extension ( [
fhir:url [ fhir:v "https://myapp.example.org/display-preferences-v2.0.1"^^xsd:anyURI ] ;
fhir:value [ fhir:v "{\"defaultView\":\"problem-list\",\"colorblindMode\":\"D\",\"resultsPerPage\":150}" ]
] ) ; #
fhir:code [
( fhir:coding [
fhir:system [ fhir:v "https://myapp.example.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "display-preferences" ] ] )
] ; #
fhir:subject [
fhir:link <https://ehr.example.org/fhir/Practitioner/123> ;
fhir:reference [ fhir:v "https://ehr.example.org/fhir/Practitioner/123" ]
] . #