PACIO Re-Assessment Timepoints Implementation Guide
1.0.0 - STU 1 United States of America flag

PACIO Re-Assessment Timepoints Implementation Guide, published by HL7 Community-Based Care and Privacy Working Group. This is not an authorized publication; it is the continuous build for version 1.0.0). This version is based on the current content of https://github.com/HL7/fhir-pacio-rt/ and changes regularly. See the Directory of published versions

: Re-Assessment Timepoints Capability Statement - TTL Representation

Active as of 2022-09-06

Raw ttl | Download


@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:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "rt-cs"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2 id=\"title\">Re-Assessment Timepoints Capability Statement</h2><ul><li>Implementation Guide Version: 0.0.1</li><li>FHIR Version: 4.0.1</li><li>Supported formats: xml, json</li><li>Published: 2021-06-17</li><li>Published by: HL7 Community Based Care and Privacy Working Group (CBCP WG)</li></ul><h3 id=\"behavior\">FHIR RESTful Capabilities</h3><p>The Re-Assessment Timepoints  Server <strong>SHALL</strong>:</p><ol><li>Support all profiles defined in this Implementation Guide.</li><li>Implement the RESTful behavior according to the FHIR specification.</li><li>Return the following response classes:\n<ul><li>(Status 400): invalid parameter</li><li>(Status 401/4xx): unauthorized request</li><li>(Status 403): insufficient scope</li><li>(Status 404): unknown resource</li><li>(Status 410): deleted resource.</li></ul>\n</li><li>Support json source formats for all re-assessment timepoints interactions.</li></ol><p>The Re-Assessment Timepoints Server <strong>SHOULD</strong>:</p><ol><li>Support xml source formats for all Re-Assessment Timepoints interactions.</li></ol><p id=\"security\"><strong>Security:</strong></p><ol><li>A server <strong>SHALL</strong> reject any unauthorized requests by returning an 'HTTP 401' unauthorized response code.</li></ol><h3 id=\"resource--details\" class=\"no_toc\">RESTful Capabilities by Resource/Profile:</h3><p><strong>Summary of Search Criteria</strong></p><table class=\"grid\"><thead><tr><th>Resource Type</th><th>Supported Profiles</th><th>Supported Searches</th><th>Supported <code>_includes</code></th><th>Supported <code>_revincludes</code></th><th>Supported Operations</th></tr></thead><tbody><tr><td><a href=\"#encounter\">Encounter</a></td><td style=\"white-space:nowrap;\"><a href=\"http://hl7.org/fhir/us/pacio-rt/StructureDefinition-reassessment-timepoints-encounter.html\">Reassessment-Timepoints-Encounter</a></td><td>\n							\n							_id, account, appointment, based-on, class, date, diagnosis, episode-of-care, identifier, length, location, location-period, part-of, participant, participant-type, patient, practitioner, reason-code, reason-reference, service-provider, special-arrangement, status, subject, type\n							\n							\n							\n						</td><td>\n							\n						</td><td>\n              \n            </td><td>\n							\n						</td></tr></tbody></table><br/><h4 id=\"encounter\" class=\"no_toc\">Encounter</h4><p>Conformance Expectation:	<strong>SHALL</strong></p><p>Supported Profiles:\n				\n											<a href=\"http://hl7.org/fhir/us/pacio-rt/StructureDefinition-reassessment-timepoints-encounter.html\">Reassessment-Timepoints-Encounter</a>\n				\n				</p><p>Reference Policy: <code>resolves</code></p><p>Profile Interaction Summary:</p><ul><li><strong>SHALL</strong> support \n																							<code>create</code>, \n																							<code>search-type</code>, \n																							<code>read</code>, \n																							<code>update</code>.</li><li><strong>SHOULD</strong> support \n																							<code>vread</code>, \n																							<code>history-instance</code>.</li></ul><p>Fetch and Search Criteria:</p><ul><li>\n					A Server <strong>SHALL</strong> be capable of returning a Encounter resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Encounter/[id]</code>\n				</li><br/><li>\n					A Server <strong>SHOULD</strong> be capable of returning a Encounter resource using:\n					<br/>\n						<code class=\"highlighter-rouge\">GET [base]/Encounter/[id]/_history/vid</code>\n				</li><br/>  <!-- Only SHALL for include for now the capability statement does not create the primitive\n				     extensios for this yet. -->  <!-- Only SHALLs for revinclude for now the capability statement does not create the primitive extensios for this yet --></ul><p>Search Parameter Summary:</p><table class=\"grid\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Example</th></tr></thead><tbody><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">_id</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?_id=[id]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">account</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?account=[account]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">appointment</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?appointment=[appointment]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"SearchParameter-encounter-based-on.html\">based-on</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?based-on=[based-on]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">class</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?class=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">date</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?date=[date]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">diagnosis</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?diagnosis=[diagnosis]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">episode-of-care</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?episode-of-care=[episode-of-care]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">identifier</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?identifier=[system]|[code]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">length</a></td><td>\n							quantity\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?length=[length]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">location</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?location=[location]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">location-period</a></td><td>\n							date\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?location-period=[location-period]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">part-of</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?part-of=[part-of]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">participant</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?participant=[participant]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">participant-type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?participant-type=[system]|[code]</code></td></tr><tr><td><strong>SHALL</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">patient</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?patient=[patient]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">practitioner</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?practitioner=[practitioner]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">reason-code</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?reason-code=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">reason-reference</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?reason-reference=[reason-reference]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">service-provider</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?service-provider=[service-provider]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">special-arrangement</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?special-arrangement=[system]|[code]</code></td></tr><tr><td><strong>SHOULD</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">status</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?status=[status]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">subject</a></td><td>\n							reference\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?subject=[subject]</code></td></tr><tr><td><strong>MAY</strong></td><td><a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\">type</a></td><td>\n							token\n						</td><td><code class=\"highlighter-rouge\">GET [base]/Encounter?type=[system]|[code]</code></td></tr></tbody></table><p>Search Parameter Combination Summary:</p><table class=\"grid\"> <thead> <tr> <th>Conformance</th> <th>Parameter Combination</th> <th>Types</th> <th>Example</th> </tr> </thead> <tbody> <tr> <td><strong>SHALL</strong> </td> <td> <a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\"> patient</a> + <a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\"> date</a> </td> <td>reference+date </td> <td><code class=\"highlighter-rouge\">GET [base]/Encounter?patient=[patient]&amp;date=[date]</code></td></tr> <tr> <td><strong>SHALL</strong> </td> <td> <a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\"> part-of</a> + <a href=\"http://hl7.org/fhir/R4/searchparameter-registry.html\"> date</a> </td> <td>reference+date </td> <td><code class=\"highlighter-rouge\">GET [base]/Encounter?part-of=[part-of]&amp;date=[date]</code></td></tr> </tbody> </table>In addition, search parameters which are supported individually <strong>SHOULD</strong> also be supported in combination with any set of other individually supported search parameters.<hr/><br/></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/us/pacio-rt/CapabilityStatement/rt-cs"];
  fhir:CapabilityStatement.version [ fhir:value "1.0.0"];
  fhir:CapabilityStatement.name [ fhir:value "ReAssessmentTimepointCapabilityStatement"];
  fhir:CapabilityStatement.title [ fhir:value "Re-Assessment Timepoints Capability Statement"];
  fhir:CapabilityStatement.status [ fhir:value "active"];
  fhir:CapabilityStatement.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:CapabilityStatement.date [ fhir:value "2022-09-06"^^xsd:date];
  fhir:CapabilityStatement.publisher [ fhir:value "HL7 Community-Based Care and Privacy Working Group"];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 Community-Based Care and Privacy Working Group" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://www.hl7.org/Special/committees/homehealth" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "patients@lists.HL7.org" ]     ]
  ], [
     fhir:index 1;
     fhir:ContactDetail.name [ fhir:value "PACIO project" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://pacioproject.org/" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "info@pacioproject.org" ]     ]
  ];
  fhir:CapabilityStatement.description [ fhir:value "The Re-Assessment Timepoints IG describes a means to break up extended Post-Acute admissions into consumable blocks that can reflect the evolution of care over time for an encounter or episode of care.\n\nOn average, Post-Acute Admissions extend over much longer periods of time than encounters in the Acute and Ambulatory Care Settings, often spanning several months or even years. Over the course of these time periods, the patient condition and therefore the care provided is changing constantly. For example, in Home Health the goal is rehabilitation; Care Plans, Medications, and Orders all likely are changing throughout an admission that could last several months. Already in existence within post-acute care settings are periods of time structured by a variety of stakeholders, some more rigid than others, such as regulations and conditions of participation, payer and revenue cycle requirements, and provider specific processes and protocols.  In settings like Home Health and Skilled Nursing Facilities (SNF), there are Medicare assessment instruments that providers must complete at specified intervals thatvary by care setting; the results of these assessments drive the Care Plan until a subsequent assessment. If a patient has a pain management Care Plan and their pain levels improve, then they may have their Opioid drug dosages reduced or eliminated. If a patient’s ambulation is improving, then the care team may focus interventions on more complex exercises. These periods of time, defined by many different drivers, have direct impact on how data is made available outside of an EMR. Without a structure in place to hold this information, a connecting application or patient would have to sift through months of information, rather than focusing on a given period or periods most relevant to the needs of the application, patient, or other entity."];
  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:CapabilityStatement.kind [ fhir:value "requirements"];
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"];
  fhir:CapabilityStatement.format [
     fhir:value "xml";
     fhir:index 0
  ], [
     fhir:value "json";
     fhir:index 1
  ];
  fhir:CapabilityStatement.patchFormat [
     fhir:value "application/json-patch+json";
     fhir:index 0
  ];
  fhir:CapabilityStatement.implementationGuide [
     fhir:value "http://hl7.org/fhir/us/pacio-rt/ImplementationGuide/hl7.fhir.us.pacio-rt";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/pacio-rt/ImplementationGuide/hl7.fhir.us.pacio-rt>
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.rest.documentation [ fhir:value "The Re-Assessment Timepoints Server **SHALL**:\n\n1. Support all profiles defined in this Implementation Guide.\n2.  Implement the RESTful behavior according to the FHIR specification.\n3. Return the following response classes:\n   - (Status 400): invalid parameter\n   - (Status 401/4xx): unauthorized request\n   - (Status 403): insufficient scope\n   - (Status 404): unknown resource\n   - (Status 410): deleted resource.\n4. Support json source formats for all re-assessment timepoints interactions.\n\nThe Re-Assessment Timepoints Server **SHOULD**:\n\n1. Support xml source formats for all Re-Assessment Timepoints interactions." ];
     fhir:CapabilityStatement.rest.security [
       fhir:CapabilityStatement.rest.security.description [ fhir:value "1. A server **SHALL** reject any unauthorized requests by returning an 'HTTP 401' unauthorized response code." ]     ];
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
         fhir:Extension.valueCode [ fhir:value "SHALL" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         fhir:index 2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "part-of" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Encounter" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/pacio-rt/StructureDefinition/reassessment-timepoints-encounter";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/pacio-rt/StructureDefinition/reassessment-timepoints-encounter>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 3;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 4;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 5;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Resource-id";
           fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 1;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "account" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-account";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-account>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 2;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "appointment" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-appointment";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-appointment>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 3;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "based-on" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/pacio-rt/SearchParameter/encounter-based-on";
           fhir:link <http://hl7.org/fhir/us/pacio-rt/SearchParameter/encounter-based-on>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 4;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "class" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-class";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-class>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 5;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-date";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 6;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "diagnosis" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-diagnosis";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-diagnosis>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 7;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "episode-of-care" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-episode-of-care";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-episode-of-care>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 8;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-identifier";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 9;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "length" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-length";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-length>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "quantity" ]       ], [
         fhir:index 10;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "location" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-location";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-location>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 11;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "location-period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-location-period";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-location-period>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         fhir:index 12;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "part-of" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-part-of";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-part-of>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 13;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "participant" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-participant";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-participant>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 14;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "participant-type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-participant-type";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-participant-type>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 15;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-patient";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 16;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "practitioner" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-practitioner";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-practitioner>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 17;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "reason-code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-reason-code";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-reason-code>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 18;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "reason-reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-reason-reference";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-reason-reference>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 19;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "service-provider" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-service-provider";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-service-provider>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 20;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "special-arrangement" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-special-arrangement";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-special-arrangement>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 21;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         fhir:index 22;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "subject" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Encounter-subject";
           fhir:link <http://hl7.org/fhir/SearchParameter/Encounter-subject>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         fhir:index 23;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/clinical-type";
           fhir:link <http://hl7.org/fhir/SearchParameter/clinical-type>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.