@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 -------------------------------------------------------------------

<http://example.org/fhir/us/hqr/CapabilityStatement/HQRReceiverCapabilityStatement> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "HQRReceiverCapabilityStatement"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CapabilityStatement HQRReceiverCapabilityStatement</b></p><a name=\"HQRReceiverCapabilityStatement\"> </a><a name=\"hcHQRReceiverCapabilityStatement\"> </a><h2 id=\"title\">HQR Receiver CapabilityStatement (DRAFT 0.1.0)</h2><ul><li>Implementation Guide Version: 0.1.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>json</code></li><li>Published on: 2026-08-03 </li><li>Published by: Centers for Medicare &amp; Medicaid Services (CMS) </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h2 id=\"rest\">FHIR RESTful Capabilities</h2><h3 id=\"rest1\">REST Configuration: 1 </h3><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"mode1\" class=\"panel-title\">Mode: <code>server</code></h4></div><div class=\"panel-body\"><div><p>Receiver accepts $submit-data / a created MeasureReport from an authenticated Submitter, validates conformance against HQR profiles, persists accepted data, and returns a clear acceptance/status response.</p>\n</div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Summary of System-wide Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/us/davinci-deqm/STU5/OperationDefinition-submit-data.html\">$submit-data</a></td><td><div/></td></tr></tbody></table></div></div></div></div><h4 id=\"resourcesCap1\">Capabilities by Resource/Profile</h4><h5 id=\"resourcesSummary1\">Summary</h5><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class=\"bg-info\">R</span></b>ead, <b><span class=\"bg-info\">S</span></b>earch, <b><span class=\"bg-info\">U</span></b>pdate, and <b><span class=\"bg-info\">C</span></b>reate, are always shown, while <b><span class=\"bg-info\">VR</span></b>ead, <b><span class=\"bg-info\">P</span></b>atch, <b><span class=\"bg-info\">D</span></b>elete, <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">I</span></b>nstance, or <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class=\"table-responsive\"><table class=\"table table-condensed table-hover\"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class=\"text-center\"><b title=\"GET a resource (read interaction)\">R</b></th><th class=\"text-center\"><b title=\"GET all set of resources of the type (search interaction)\">S</b></th><th class=\"text-center\"><b title=\"PUT a new resource version (update interaction)\">U</b></th><th class=\"text-center\"><b title=\"POST a new resource (create interaction)\">C</b></th><th><b title=\"Required and recommended search parameters\">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href=\"#MeasureReport1-1\">MeasureReport</a></td><td><a href=\"StructureDefinition-hqr-submission-measurereport.html\">http://example.org/fhir/us/hqr/StructureDefinition/hqr-submission-measurereport</a></td><td class=\"text-center\"/><td class=\"text-center\"/><td class=\"text-center\"/><td class=\"text-center\">y</td><td/><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h5 id=\"MeasureReport1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: unspecified </span>MeasureReport</h5></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-hqr-submission-measurereport.html\">HQR Submission MeasureReport (DRAFT)</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>create</code>.</li></ul></div></div><p/></div></div></div><h3 id=\"rest2\">REST Configuration: 2 </h3><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"mode2\" class=\"panel-title\">Mode: <code>server</code></h4></div><div class=\"panel-body\"><div><p>Results retrieval. Receiver supports read/search on the submitted MeasureReport so the Submitter can retrieve status/results after the fact, not just via the original synchronous response.</p>\n</div></div></div><h4 id=\"resourcesCap2\">Capabilities by Resource/Profile</h4><h5 id=\"resourcesSummary2\">Summary</h5><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class=\"bg-info\">R</span></b>ead, <b><span class=\"bg-info\">S</span></b>earch, <b><span class=\"bg-info\">U</span></b>pdate, and <b><span class=\"bg-info\">C</span></b>reate, are always shown, while <b><span class=\"bg-info\">VR</span></b>ead, <b><span class=\"bg-info\">P</span></b>atch, <b><span class=\"bg-info\">D</span></b>elete, <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">I</span></b>nstance, or <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class=\"table-responsive\"><table class=\"table table-condensed table-hover\"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class=\"text-center\"><b title=\"GET a resource (read interaction)\">R</b></th><th class=\"text-center\"><b title=\"GET all set of resources of the type (search interaction)\">S</b></th><th class=\"text-center\"><b title=\"PUT a new resource version (update interaction)\">U</b></th><th class=\"text-center\"><b title=\"POST a new resource (create interaction)\">C</b></th><th><b title=\"Required and recommended search parameters\">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href=\"#MeasureReport2-1\">MeasureReport</a></td><td> </td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"/><td class=\"text-center\"/><td/><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h5 id=\"MeasureReport2-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: unspecified </span>MeasureReport</h5></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/measurereport.html\">MeasureReport</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>, <code>search-type</code>.</li></ul></div></div><p/><p/></div></div></div><h3 id=\"rest3\">REST Configuration: 3 </h3><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"mode3\" class=\"panel-title\">Mode: <code>server</code></h4></div><div class=\"panel-body\"><div><p>Invited-pull concept, not yet a committed capability. If pursued, Receiver would accept the $bulk-submit-data ping from an authenticated Submitter, then pull via Bulk $export (see client role below).</p>\n</div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Summary of System-wide Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/us/davinci-deqm/STU5/OperationDefinition-bulk-submit-data.html\">$bulk-submit-data</a></td><td><div/></td></tr></tbody></table></div></div></div></div><h3 id=\"rest4\">REST Configuration: 4 </h3><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"mode4\" class=\"panel-title\">Mode: <code>client</code></h4></div><div class=\"panel-body\"><div><p>Invited-pull concept, not yet a committed capability. If pursued, Receiver would invoke Bulk $export against the Submitter's server named in the ping, retrieve the dataset, validate, and persist accepted data.</p>\n</div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Summary of System-wide Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/uv/bulkdata/STU3/OperationDefinition-export.html\">$export</a></td><td><div/></td></tr></tbody></table></div></div></div></div></div>"
  ] ;
  fhir:CapabilityStatement.url [ fhir:value "http://example.org/fhir/us/hqr/CapabilityStatement/HQRReceiverCapabilityStatement"] ;
  fhir:CapabilityStatement.version [ fhir:value "0.1.0"] ;
  fhir:CapabilityStatement.title [ fhir:value "HQR Receiver CapabilityStatement (DRAFT 0.1.0)"] ;
  fhir:CapabilityStatement.status [ fhir:value "draft"] ;
  fhir:CapabilityStatement.date [ fhir:value "2026-08-03"^^xsd:date] ;
  fhir:CapabilityStatement.publisher [ fhir:value "Centers for Medicare & Medicaid Services (CMS)"] ;
  fhir:CapabilityStatement.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Centers for Medicare & Medicaid Services (CMS)" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.cms.gov" ]
     ]
  ] ;
  fhir:CapabilityStatement.description [ fhir:value "DRAFT. Receiver accepts a pushed MeasureReport and supports status/results retrieval. Invited-pull entries below describe a second exchange pattern this guide is exploring, not yet a committed capability."] ;
  fhir:CapabilityStatement.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "US" ] ;
       fhir:Coding.display [ fhir:value "United States of America" ]
     ]
  ] ;
  fhir:CapabilityStatement.kind [ fhir:value "requirements"] ;
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"] ;
  fhir:CapabilityStatement.format [
     fhir:value "json" ;
     fhir:index 0
  ] ;
  fhir:CapabilityStatement.rest [
     fhir:index 0 ;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ] ;
     fhir:CapabilityStatement.rest.documentation [ fhir:value "Receiver accepts $submit-data / a created MeasureReport from an authenticated Submitter, validates conformance against HQR profiles, persists accepted data, and returns a clear acceptance/status response." ] ;
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0 ;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MeasureReport" ] ;
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://example.org/fhir/us/hqr/StructureDefinition/hqr-submission-measurereport" ;
         fhir:link <http://example.org/fhir/us/hqr/StructureDefinition/hqr-submission-measurereport>
       ] ;
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]
       ]
     ] ;
     fhir:CapabilityStatement.rest.operation [
       fhir:index 0 ;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "submit-data" ] ;
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/us/davinci-deqm/OperationDefinition/submit-data" ;
         fhir:link <http://hl7.org/fhir/us/davinci-deqm/OperationDefinition/submit-data>
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ] ;
     fhir:CapabilityStatement.rest.documentation [ fhir:value "Results retrieval. Receiver supports read/search on the submitted MeasureReport so the Submitter can retrieve status/results after the fact, not just via the original synchronous response." ] ;
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0 ;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MeasureReport" ] ;
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]
       ], [
         fhir:index 1 ;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ] ;
     fhir:CapabilityStatement.rest.documentation [ fhir:value "Invited-pull concept, not yet a committed capability. If pursued, Receiver would accept the $bulk-submit-data ping from an authenticated Submitter, then pull via Bulk $export (see client role below)." ] ;
     fhir:CapabilityStatement.rest.operation [
       fhir:index 0 ;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "bulk-submit-data" ] ;
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/us/davinci-deqm/OperationDefinition/bulk-submit-data" ;
         fhir:link <http://hl7.org/fhir/us/davinci-deqm/OperationDefinition/bulk-submit-data>
       ]
     ]
  ], [
     fhir:index 3 ;
     fhir:CapabilityStatement.rest.mode [ fhir:value "client" ] ;
     fhir:CapabilityStatement.rest.documentation [ fhir:value "Invited-pull concept, not yet a committed capability. If pursued, Receiver would invoke Bulk $export against the Submitter's server named in the ping, retrieve the dataset, validate, and persist accepted data." ] ;
     fhir:CapabilityStatement.rest.operation [
       fhir:index 0 ;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "export" ] ;
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "http://hl7.org/fhir/uv/bulkdata/OperationDefinition/export|3.0.0" ;
         fhir:link <http://hl7.org/fhir/uv/bulkdata/OperationDefinition/export|3.0.0>
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://example.org/fhir/us/hqr/CapabilityStatement/HQRReceiverCapabilityStatement.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

