Open Health Hub FHIR Implementation Guide
0.1.0 - v0.1.0

Open Health Hub FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : OHH Subscription with payload - TTL Representation

Raw ttl | Download

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

     a fhir:Subscription ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "ExampleOhhSubscriptionWithPayload"] ; #
      fhir:meta [
        ( fhir:profile [
    fhir:v "https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-subscription"^^xsd:anyURI ;
    fhir:l <https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-subscription>     ] )
      ] ; #
      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 ExampleOhhSubscriptionWithPayload</b></p><a name=\"ExampleOhhSubscriptionWithPayload\"> </a><a name=\"hcExampleOhhSubscriptionWithPayload\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ohh-subscription.html\">OHH Subscription Profile</a></p></div><p><b>status</b>: Requested</p><p><b>end</b>: 2026-04-24 12:30:00+0000</p><p><b>reason</b>: Receive new response on Questionnaire</p><p><b>criteria</b>: QuestionnaireResponse?based-on.instantiates-canonical=4faebfcf-b3d8-4f9f-b4ea-159a2417e3cc</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><td><b>Header</b></td></tr><tr><td style=\"display: none\">*</td><td>Rest Hook</td><td><a href=\"https://your-his.com/Subscription-Notification/QuestionnaireResponse\">https://your-his.com/Subscription-Notification/QuestionnaireResponse</a></td><td>application/fhir+json</td><td>Authorization: Basic YWRtaW46YWRtaW4=</td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:status [ fhir:v "requested"] ; #
      fhir:end [ fhir:v "2026-04-24T12:30:00Z"^^xsd:dateTime] ; #
      fhir:reason [ fhir:v "Receive new response on Questionnaire"] ; #
      fhir:criteria [ fhir:v "QuestionnaireResponse?based-on.instantiates-canonical=4faebfcf-b3d8-4f9f-b4ea-159a2417e3cc"] ; #
      fhir:channel [
    fhir:type [ fhir:v "rest-hook" ] ;
    fhir:endpoint [
    fhir:v "https://your-his.com/Subscription-Notification/QuestionnaireResponse"^^xsd:anyURI ;
    fhir:l <https://your-his.com/Subscription-Notification/QuestionnaireResponse>     ] ;
    fhir:payload [ fhir:v "application/fhir+json" ] ;
        ( fhir:header [ fhir:v "Authorization: Basic YWRtaW46YWRtaW4=" ] )
      ] . #