@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://umcterminologies.org/Subscription/template-generated-by-server-subscription-rest-hook> a fhir:Subscription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "template-generated-by-server-subscription-rest-hook"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://umcterminologies.org/StructureDefinition/Subscription-idmp-event"^^xsd:anyURI ;
       fhir:l <http://umcterminologies.org/StructureDefinition/Subscription-idmp-event>
     ] )
  ] ; # 
  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 template-generated-by-server-subscription-rest-hook</b></p><a name=\"template-generated-by-server-subscription-rest-hook\"> </a><a name=\"hctemplate-generated-by-server-subscription-rest-hook\"> </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: <code>http://umcterminologies.org/StructureDefinition/Subscription-idmp-event</code></p></div><p><b>identifier</b>: <code>http://acme.inc/IDMPService/subscriptionIdentifier</code>/ABC-123</p><p><b>name</b>: Demo end point</p><p><b>status</b>: Requested</p><p><b>topic</b>: <code>http://umcterminologies.org/SubscriptionTopic/med-prod-def</code></p><p><b>contact</b>: <a href=\"mailto:subscriptionSupport@who-umc.org\">subscriptionSupport@who-umc.org</a></p><p><b>end</b>: 2026-03-01 11:10:10+0100</p><p><b>reason</b>: To demonstrate how a subscription works</p><p><b>channelType</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-subscription-channel-type.html#subscription-channel-type-rest-hook\">SubscriptionChannel Type Codes: rest-hook</a> (Rest Hook)</p><p><b>endpoint</b>: <a href=\"http://localhost:8086/ReceiveSubscriptionEvent\">http://localhost:8086/ReceiveSubscriptionEvent</a></p><p><b>heartbeatPeriod</b>: 3600</p><p><b>timeout</b>: 30</p><p><b>content</b>: Id-only</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://acme.inc/IDMPService/subscriptionIdentifier"^^xsd:anyURI ;
       fhir:l <http://acme.inc/IDMPService/subscriptionIdentifier>
     ] ;
     fhir:value [ fhir:v "ABC-123" ]
  ] ) ; # 
  fhir:name [ fhir:v "Demo end point"] ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:topic [
     fhir:v "http://umcterminologies.org/SubscriptionTopic/med-prod-def"^^xsd:anyURI ;
     fhir:l <http://umcterminologies.org/SubscriptionTopic/med-prod-def>
  ] ; # 
  fhir:contact ( [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "subscriptionSupport@who-umc.org" ]
  ] ) ; # 
  fhir:end [ fhir:v "2026-03-01T11:10:10.7826722+01:00"^^xsd:dateTime] ; # 
  fhir:reason [ fhir:v "To demonstrate how a subscription works"] ; # 
  fhir:channelType [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/subscription-channel-type"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/subscription-channel-type>
     ] ;
     fhir:code [ fhir:v "rest-hook" ]
  ] ; # 
  fhir:endpoint [
     fhir:v "http://localhost:8086/ReceiveSubscriptionEvent"^^xsd:anyURI ;
     fhir:l <http://localhost:8086/ReceiveSubscriptionEvent>
  ] ; # 
  fhir:heartbeatPeriod [ fhir:v "3600"^^xsd:nonNegativeInteger] ; # 
  fhir:timeout [ fhir:v "30"^^xsd:nonNegativeInteger] ; # 
  fhir:content [ fhir:v "id-only"] . # 

# -------------------------------------------------------------------------------------

