@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.apps.health/Basic/example-polaris-appstate> a fhir:Basic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-polaris-appstate"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://fhir.apps.health/StructureDefinition/polaris-appstate"^^xsd:anyURI ;
       fhir:link <https://fhir.apps.health/StructureDefinition/polaris-appstate>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Application state for Avery Linwood - example property with string value 'example-property-value'.</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "https://fhir.apps.health/StructureDefinition/app-state-string-value"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "example-property-value"
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/mysampleapp-appstate-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "APPSTATE-AVERY-EXAMPLE-001" ]
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "https://fhir.apps.health/CodeSystem/mysampleapp-app-state"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "example-property" ] ;
       fhir:display [ fhir:v "Example Property" ]
     ] ) ;
     fhir:text [ fhir:v "Example Property" ]
  ] ; # 
  fhir:subject [
     fhir:type [ fhir:v "Patient"^^xsd:anyURI ] ;
     fhir:identifier [
       fhir:system [ fhir:v "https://fhir.apps.health/NamingSystem/cedarbrook-clinic-patient-identifier"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "1234567890" ]
     ] ;
     fhir:display [ fhir:v "Avery Linwood" ]
  ] . # 

# -------------------------------------------------------------------------------------

