@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.cognovis.de/praxis/Subscription/example-subscription-study-signed> a fhir:Subscription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-subscription-study-signed"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Subscription example-subscription-study-signed</b></p><a name=\"example-subscription-study-signed\"> </a><a name=\"hcexample-subscription-study-signed\"> </a><p><b>status</b>: Requested</p><p><b>reason</b>: Trigger workflow-engine processing when a DiagnosticReport is signed off by the radiologist.</p><p><b>criteria</b>: DiagnosticReport?status=final</p><h3>Channels</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Endpoint</b></td><td><b>Payload</b></td></tr><tr><td style=\"display: none\">*</td><td>Rest Hook</td><td><a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.6.0-ballot2&amp;canonical=https://rule-engine.example.com/hooks/study-signed\">https://rule-engine.example.com/hooks/study-signed</a></td><td>application/fhir+json</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:reason [ fhir:v "Trigger workflow-engine processing when a DiagnosticReport is signed off by the radiologist."] ; # 
  fhir:criteria [ fhir:v "DiagnosticReport?status=final"] ; # 
  fhir:channel [
     fhir:type [ fhir:v "rest-hook" ] ;
     fhir:endpoint [
       fhir:v "https://rule-engine.example.com/hooks/study-signed"^^xsd:anyURI ;
       fhir:l <https://rule-engine.example.com/hooks/study-signed>
     ] ;
     fhir:payload [ fhir:v "application/fhir+json" ]
  ] . # 

# -------------------------------------------------------------------------------------

