@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Subscription/admission> a fhir:Subscription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "admission"] ; # 
  fhir:name [ fhir:v "AdmissionExample"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:topic [
     fhir:v "http://example.org/R5/SubscriptionTopic/admission"^^xsd:anyURI ;
     fhir:l <http://example.org/R5/SubscriptionTopic/admission>
  ] ; # 
  fhir:end [ fhir:v "2019-08-07T11:15:18Z"^^xsd:dateTime] ; # 
  fhir:managingEntity [
     fhir:l <http://hl7.org/fhir/Organization/1> ;
     fhir:reference [ fhir:v "Organization/1" ]
  ] ; # 
  fhir:reason [ fhir:v "subscription for beginning of a clinical encounter for patient 123"] ; # 
  fhir:filterBy ( [
     fhir:filterParameter [ fhir:v "patient" ] ;
     fhir:value [ fhir:v "Patient/123" ]
  ] ) ; # 
  fhir:channelType [
     fhir:code [ fhir:v "rest-hook" ]
  ] ; # 
  fhir:endpoint [
     fhir:v "https://example.org/Endpoints/P123"^^xsd:anyURI ;
     fhir:l <https://example.org/Endpoints/P123>
  ] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "Authorization" ] ;
     fhir:value [ fhir:v "Bearer secret-token-abc-123" ]
  ] ) ; # 
  fhir:heartbeatPeriod [ fhir:v "60"^^xsd:nonNegativeInteger] ; # 
  fhir:timeout [ fhir:v "5"^^xsd:nonNegativeInteger] ; # 
  fhir:contentType [ fhir:v "application/fhir+json"] ; # 
  fhir:content [ fhir:v "id-only"] ; # 
  fhir:maxCount [ fhir:v "100"^^xsd:positiveInteger] . # 

<http://hl7.org/fhir/Organization/1> a fhir:Organization .

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

