@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 -------------------------------------------------------------------

<http://hl7.org/fhir/smart-app-launch/Basic/app-state> a fhir:Basic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "app-state"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "https://myapp.example.org/display-preferences-v2.0.1" ] ;
     fhir:Extension.valueString [ fhir:value "{\"defaultView\":\"problem-list\",\"colorblindMode\":\"D\",\"resultsPerPage\":150}" ]
  ] ;
  fhir:Basic.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "https://myapp.example.org" ] ;
       fhir:Coding.code [ fhir:value "display-preferences" ]
     ]
  ] ;
  fhir:Basic.subject [
     fhir:link <https://ehr.example.org/fhir/Practitioner/123> ;
     fhir:Reference.reference [ fhir:value "https://ehr.example.org/fhir/Practitioner/123" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/smart-app-launch/Basic/app-state.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/smart-app-launch/Basic/app-state.ttl> .

# -------------------------------------------------------------------------------------

