Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## : Anfrage fuer POST /Subscription - 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 -------------------------------------------------------------------

    <http://hl7.org/fhir/Subscription/example-create-subscription-request> a fhir:Subscription ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "example-create-subscription-request"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Subscription example-create-subscription-request</b></p><a name=\"example-create-subscription-request\"> </a><a name=\"hcexample-create-subscription-request\"> </a><p><b>status</b>: Requested</p><p><b>reason</b>: Benachrichtigung ueber neue Communication-Ressourcen</p><p><b>criteria</b>: Communication?received=NULL&amp;recipient=1-2-3-4-5</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.5.4&amp;canonical=https://apotheke.example.org/erp/notification\">https://apotheke.example.org/erp/notification</a></td><td>application/fhir+json</td></tr></table></div>"
      ] ;
      fhir:Subscription.status [ fhir:value "requested"] ;
      fhir:Subscription.reason [ fhir:value "Benachrichtigung ueber neue Communication-Ressourcen"] ;
      fhir:Subscription.criteria [ fhir:value "Communication?received=NULL&recipient=1-2-3-4-5"] ;
      fhir:Subscription.channel [
         fhir:Subscription.channel.type [ fhir:value "rest-hook" ] ;
         fhir:Subscription.channel.endpoint [ fhir:value "https://apotheke.example.org/erp/notification" ] ;
         fhir:Subscription.channel.payload [ fhir:value "application/fhir+json" ]
      ] .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/Subscription/example-create-subscription-request.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Subscription/example-create-subscription-request.ttl> .