R6 Ballot (2nd Draft)

Publish-box (todo)

Example SubscriptionStatus/40464b74-fad0-4f45-ab60-e67f949c5e92 (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Subscription Query-Status Bundle (response to $status)

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

[a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "40464b74-fad0-4f45-ab60-e67f949c5e92"] ; # 
  fhir:type [ fhir:v "subscription-notification"] ; # 
  fhir:timestamp [ fhir:v "2020-04-17T10:24:13.1882432-05:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "urn:uuid:c2d70315-c34c-4f44-981b-6f16775477f3"^^xsd:anyURI ] ;
     fhir:resource ( <urn:uuid:c2d70315-c34c-4f44-981b-6f16775477f3> )
  ] )] . # 

<urn:uuid:c2d70315-c34c-4f44-981b-6f16775477f3> a fhir:SubscriptionStatus ;
  fhir:id [ fhir:v "c2d70315-c34c-4f44-981b-6f16775477f3"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SubscriptionStatus c2d70315-c34c-4f44-981b-6f16775477f3</b></p><a name=\"c2d70315-c34c-4f44-981b-6f16775477f3\"> </a><a name=\"hcc2d70315-c34c-4f44-981b-6f16775477f3\"> </a><a name=\"c2d70315-c34c-4f44-981b-6f16775477f3-en-AU\"> </a><p><b>status</b>: active</p><p><b>type</b>: query-status</p><p><b>eventsSinceSubscriptionStart</b>: 310</p><p><b>subscription</b>: <a href=\"broken-link.html\">??</a></p><p><b>topic</b>: <a href=\"broken-link.html\">http://example.org/FHIR/R5/SubscriptionTopic/admission</a></p></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [ fhir:v "query-status"] ; # 
  fhir:eventsSinceSubscriptionStart [ fhir:v "310"^^xsd:long] ; # 
  fhir:subscription [
     fhir:link <http://example.org/FHIR/R5/Subscription/123> ;
     fhir:reference [ fhir:v "http://example.org/FHIR/R5/Subscription/123" ]
  ] ; # 
  fhir:topic [
     fhir:v "http://example.org/FHIR/R5/SubscriptionTopic/admission"^^xsd:anyURI ;
     fhir:link <http://example.org/FHIR/R5/SubscriptionTopic/admission>
  ] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.