@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://hl7.org/fhir/uv/cqm/Subscription/covid-reporting-changes> a fhir:Subscription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "covid-reporting-changes"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: Subscription covid-reporting-changes</b></p><a name=\"covid-reporting-changes\"> </a><a name=\"hccovid-reporting-changes\"> </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\">Language: en</p></div><p><b>status</b>: Requested</p><p><b>contact</b>: ph: 555-555-5555</p><p><b>end</b>: 2027-01-01 00:00:00+0000</p><p><b>reason</b>: ACME hospital to listen of changes tothe CDC Covid Reporting Program</p><p><b>criteria</b>: Measure?url=http://example.org/fhir/Measure/BedCapacityMeasureMonthly</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://example.org/fhir/updates/measures\">https://example.org/fhir/updates/measures</a></td><td>application/fhir+json</td><td>Authorization: Bearer secret-token-abc-123</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:contact ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "555-555-5555" ]
  ] ) ; # 
  fhir:end [ fhir:v "2027-01-01T00:00:00Z"^^xsd:dateTime] ; # 
  fhir:reason [ fhir:v "ACME hospital to listen of changes tothe CDC Covid Reporting Program"] ; # 
  fhir:criteria [ fhir:v "Measure?url=http://example.org/fhir/Measure/BedCapacityMeasureMonthly"] ; # 
  fhir:channel [
     fhir:type [ fhir:v "rest-hook" ] ;
     fhir:endpoint [
       fhir:v "https://example.org/fhir/updates/measures"^^xsd:anyURI ;
       fhir:l <https://example.org/fhir/updates/measures>
     ] ;
     fhir:payload [ fhir:v "application/fhir+json" ] ;
     fhir:header ( [ fhir:v "Authorization: Bearer secret-token-abc-123" ] )
  ] . # 

# -------------------------------------------------------------------------------------

