PACIO Re-Assessment Timepoints Implementation Guide
0.1.0 - STU 1 Ballot

This page is part of the PACIO Re-Assessment Timepoints Implementation Guide (v0.1.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

: Re-assessment Timepoints Capability Statement - TTL Representation

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><p>This PACIO Re-Assessment Timepoints implementation guide describes a means to break up extended Post-Acute admissions into consumable blocks that can reflect the evolution of care over time of the encounter or episode of care.</p><p>Post-Acute Admissions extend over much longer periods of time than the encounters in the Acute and Ambulatory Care Settings, often going for several months or even years. Over the course of these time periods the patient condition and therefore the care being provided is changing - for example in Home Health the goal is rehabilitation so Care Plans, Medications, and Orders are all likely 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 - regulatory and conditions of participation, payer and revenue cycle requirements, and provider specific processes and protocols. In settings like Home Health and SNF, there are defined Medicare assessment instruments that must be completed every X number of days (varies by care setting); the results of said assessment drive the Care Plan for the next X number of days; if a patient has a pain management Care Plan, and their pain scores are down then they may have their Opioid drug dosages reduced or eliminated. If the patient's ambulation is improving, then we may see interventions focused 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 no choice but to sift through months worth of information rather than focusing on a given period or periods most relevant to the need of the application, patient, or other entity.</p><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><li>Support the searchParameters on each profile  individually and in combination.</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://build.fhir.org/ig/HL7/fhir-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://build.fhir.org/ig/HL7/fhir-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/search.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/search.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/search.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=\"http://hl7.org/fhir/R4/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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/search.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><hr/><br/></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://build.fhir.org/ig/HL7/fhir-pacio-rt/CapabilityStatement/rt-cs"];
  fhir:CapabilityStatement.version [ fhir:value "0.1.0"];
  fhir:CapabilityStatement.name [ fhir:value "PacioRatCapabilityStatement"];
  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 "2021-06-17"^^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://www.hl7.org/Special/committees/homehealth" ]     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "info@pacioproject.org" ]     ]
  ];
  fhir:CapabilityStatement.description [ fhir:value "This PACIO Re-Assessment Timepoints implementation guide describes a means to break up extended Post-Acute admissions into consumable blocks that can reflect the evolution of care over time of the encounter or episode of care.\n\nPost-Acute Admissions extend over much longer periods of time than the encounters in the Acute and Ambulatory Care Settings, often going for several months or even years. Over the course of these time periods the patient condition and therefore the care being provided is changing - for example in Home Health the goal is rehabilitation so Care Plans, Medications, and Orders are all likely 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 - regulatory and conditions of participation, payer and revenue cycle requirements, and provider specific processes and protocols. In settings like Home Health and SNF, there are defined Medicare assessment instruments that must be completed every X number of days (varies by care setting); the results of said assessment drive the Care Plan for the next X number of days; if a patient has a pain management Care Plan, and their pain scores are down then they may have their Opioid drug dosages reduced or eliminated. If the patient's ambulation is improving, then we may see interventions focused 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 no choice but to sift through months worth of information rather than focusing on a given period or periods most relevant to the need 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://build.fhir.org/ig/HL7/fhir-pacio-rt/ImplementationGuide-hl7.fhir.us.pacio-rt";
     fhir:index 0;
     fhir:link <http://build.fhir.org/ig/HL7/fhir-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.\n5. Support the searchParameters on each profile  individually and in combination.\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:CapabilityStatement.rest.resource.type [ fhir:value "Encounter" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://build.fhir.org/ig/HL7/fhir-pacio-rt/StructureDefinition-reassessment-timepoints-encounter.html";
         fhir:index 0;
         fhir:link <http://build.fhir.org/ig/HL7/fhir-pacio-rt/StructureDefinition-reassessment-timepoints-encounter.html>       ];
       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/SearchParameter/Encounter-based-on";
           fhir:link <http://hl7.org/fhir/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.