@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://onyxhealth.io/fhir/fodder/Bundle/deceased-patient-notification-example> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "deceased-patient-notification-example"] ; # 
  fhir:type [ fhir:v "history"] ; # 
  fhir:timestamp [ fhir:v "2026-04-26T14:00:00Z"^^xsd:dateTime] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "urn:uuid:e5b8a4f0-1e2d-4b3a-9c7f-8d6a5b4c3d2e"^^xsd:anyURI ;
       fhir:l <urn:uuid:e5b8a4f0-1e2d-4b3a-9c7f-8d6a5b4c3d2e>
     ] ;
     fhir:resource ( <urn:uuid:e5b8a4f0-1e2d-4b3a-9c7f-8d6a5b4c3d2e> ) ;
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [
         fhir:v "Subscription/deceased-patient-subscription-example/$status"^^xsd:anyURI ;
         fhir:l <https://onyxhealth.io/fhir/fodder/Subscription/deceased-patient-subscription-example/$status>
       ]
     ] ;
     fhir:response [
       fhir:status [ fhir:v "200" ]
     ]
  ] [
     fhir:fullUrl [
       fhir:v "https://fodder.example.org/Patient/deceased-patient-example"^^xsd:anyURI ;
       fhir:l <https://fodder.example.org/Patient/deceased-patient-example>
     ] ;
     fhir:request [
       fhir:method [ fhir:v "GET" ] ;
       fhir:url [
         fhir:v "Patient/deceased-patient-example"^^xsd:anyURI ;
         fhir:l <https://onyxhealth.io/fhir/fodder/Patient/deceased-patient-example>
       ]
     ] ;
     fhir:response [
       fhir:status [ fhir:v "200" ]
     ]
  ] ) . # 

<urn:uuid:e5b8a4f0-1e2d-4b3a-9c7f-8d6a5b4c3d2e> a fhir:Parameters ;
  fhir:id [ fhir:v "DeceasedPatientSubscriptionStatusExample"] ; # 
  fhir:parameter ( [
     fhir:name [ fhir:v "subscription" ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <https://onyxhealth.io/fhir/fodder/Subscription/deceased-patient-subscription-example> ;
       fhir:reference [ fhir:v "Subscription/deceased-patient-subscription-example" ]
     ]
  ] [
     fhir:name [ fhir:v "topic" ] ;
     fhir:value [
       a fhir:Canonical ;
       fhir:v "https://onyxhealth.io/fhir/fodder/SubscriptionTopic/deceased-patient-identified"^^xsd:anyURI ;
       fhir:l <https://onyxhealth.io/fhir/fodder/SubscriptionTopic/deceased-patient-identified>
     ]
  ] [
     fhir:name [ fhir:v "status" ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "active"
     ]
  ] [
     fhir:name [ fhir:v "type" ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "event-notification"
     ]
  ] [
     fhir:name [ fhir:v "events-since-subscription-start" ] ;
     fhir:value [
       a fhir:String ;
       fhir:v "1"
     ]
  ] [
     fhir:name [ fhir:v "notification-event" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "event-number" ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "1"
       ]
     ] [
       fhir:name [ fhir:v "timestamp" ] ;
       fhir:value [
         a fhir:Instant ;
         fhir:v "2026-04-26T14:00:00Z"^^xsd:dateTime
       ]
     ] [
       fhir:name [ fhir:v "focus" ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <https://onyxhealth.io/fhir/fodder/Patient/deceased-patient-example> ;
         fhir:reference [ fhir:v "Patient/deceased-patient-example" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

