Da Vinci Payer Data Exchange
1.0.0 - STU1

This page is part of the Da Vinci Payer Data Exchange (v1.0.0: STU1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: PDEX Server CapabilityStatement - 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 "pdex-server"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>PdexServerCapabilityStatement</h2><div><p>This Section describes the expected capabilities of the PDEX Server actor which is responsible for providing responses to the queries submitted by the PDEX Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by PDEX Servers are defined. PDEX Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.</p>\n</div><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td><div><p>The PDEX Server <strong>SHALL</strong>:1. Support the US Core Patient resource profile.1. Support at least one additional resource profile from the list of US Core and PDEX Profiles.1. Implement the RESTful behavior according to the FHIR specification.1. Return the following response classes:   - (Status 400): invalid parameter   - (Status 401/4xx): unauthorized request   - (Status 403): insufficient scope   - (Status 404): unknown resource   - (Status 410): deleted resource.1. Support json source formats for all US Core and PDEX interactions.The PDEX Server <strong>SHOULD</strong>:1. Support xml source formats for all US Core interactions.1. Identify the US Core profiles supported as part of the FHIR <code>meta.profile</code> attribute for each instance.</p>\n</div></td></tr><tr><td>Transaction</td><td>y</td></tr><tr><td>System History</td><td>y</td></tr><tr><td>System Search</td><td>y</td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title=\"GET a resource (read interaction)\">Read</b></th><th><b title=\"GET past versions of resources (vread interaction)\">V-Read</b></th><th><b title=\"GET all set of resources of the type (search interaction)\">Search</b></th><th><b title=\"PUT a new resource version (update interaction)\">Update</b></th><th><b title=\"PATCH a new resource version (patch interaction)\">Patch</b></th><th><b title=\"POST a new resource (create interaction)\">Create</b></th><th><b title=\"GET changes to a resource (history interaction on instance)\">Updates</b></th><th><b title=\"GET changes for all resources of the type (history interaction on type)\">History</b></th></tr><tr><td>AllergyIntolerance</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>CarePlan</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>CareTeam</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Condition</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Coverage</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Device</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>DiagnosticReport</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td>y</td><td>y</td><td>y</td></tr><tr><td>DocumentReference</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Encounter</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Goal</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Immunization</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Location</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Medication</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>MedicationRequest</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>MedicationDispense</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Observation</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Organization</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Patient</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Practitioner</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>PractitionerRole</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Procedure</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td>y</td><td>y</td></tr><tr><td>Provenance</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td></td><td>y</td><td>y</td></tr><tr><td>ValueSet</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/us/core/CapabilityStatement/pdex-server"];
  fhir:CapabilityStatement.version [ fhir:value "1.0.0"];
  fhir:CapabilityStatement.name [ fhir:value "PdexServerCapabilityStatement"];
  fhir:CapabilityStatement.title [ fhir:value "PDEX Server CapabilityStatement"];
  fhir:CapabilityStatement.status [ fhir:value "active"];
  fhir:CapabilityStatement.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:CapabilityStatement.date [ fhir:value "2020-11-03"^^xsd:date];
  fhir:CapabilityStatement.publisher [ fhir:value "HL7 International - Da Vinci Accelerator"];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Mark Scrimshire (mark.scrimshire@onyxhealth.io)" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "mailto:mark@ekivemark.com0" ]     ]
  ], [
     fhir:index 1;
     fhir:ContactDetail.name [ fhir:value "HL7 International - Financial Management" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/fm" ]     ]
  ];
  fhir:CapabilityStatement.description [ fhir:value "This Section describes the expected capabilities of the PDEX Server actor which is responsible for providing responses to the queries submitted by the PDEX Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by PDEX Servers are defined. PDEX Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements."];
  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 "json";
     fhir:index 0
  ];
  fhir:CapabilityStatement.patchFormat [
     fhir:value "application/json-patch+json";
     fhir:index 0
  ];
  fhir:CapabilityStatement.implementationGuide [
     fhir:value "http://hl7.org/fhir/us/davinci-pdex/ImplementationGuide/hl7.fhir.us.davinci-pdex|1.0.0";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/davinci-pdex/ImplementationGuide/hl7.fhir.us.davinci-pdex|1.0.0>
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.rest.documentation [ fhir:value "The PDEX Server **SHALL**:1. Support the US Core Patient resource profile.1. Support at least one additional resource profile from the list of US Core and PDEX Profiles.1. Implement the RESTful behavior according to the FHIR specification.1. Return the following response classes:   - (Status 400): invalid parameter   - (Status 401/4xx): unauthorized request   - (Status 403): insufficient scope   - (Status 404): unknown resource   - (Status 410): deleted resource.1. Support json source formats for all US Core and PDEX interactions.The PDEX Server **SHOULD**:1. Support xml source formats for all US Core interactions.1. Identify the US Core profiles supported as part of the FHIR `meta.profile` attribute for each instance." ];
     fhir:CapabilityStatement.rest.security [
       fhir:CapabilityStatement.rest.security.description [ fhir:value "1. See the [US Core Security Considerations](http://hl7.org/fhir/us/core/security.html) section for requirements and recommendations.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 "SHOULD" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "AllergyIntolerance" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ]     ], [
       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:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
           fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ], [
           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 "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ], [
           fhir:index 4;
           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 "SHOULD" ]         ], [
           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 "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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 "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 "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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 "SHOULD" ]         ], [
           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 "category" ]         ], [
           fhir:index 3;
           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 "CarePlan" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category>         ];
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       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: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 "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "CareTeam" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       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 "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 "SHOULD" ]         ], [
           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 "onset-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 "SHOULD" ]         ], [
           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 "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "clinical-status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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 "SHOULD" ]         ], [
           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 "code" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Condition" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category>         ];
         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 "clinical-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "onset-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       fhir:index 4;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Coverage" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage>       ];
       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.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.readHistory [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ]     ], [
       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: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 "SHOULD" ]         ], [
           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 "type" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Device" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-device";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-device>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       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 "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 "category" ]         ], [
           fhir:index 3;
           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 "SHOULD" ]         ], [
           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 "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "code" ]         ], [
           fhir:index 3;
           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 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: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 "code" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "DiagnosticReport" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab>       ];
       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:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "This conformance expectation applies **only**  to the *US Core DiagnosticReport Profile for Report and Note exchange* profile.  The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is  **MAY**." ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient>         ];
         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 "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ]     ], [
       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: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 "SHOULD" ]         ], [
           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 "type" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "period" ]         ];
         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 "patient" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "type" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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 "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 "category" ]         ], [
           fhir:index 3;
           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 4;
         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: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 "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "DocumentReference" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "The DocumentReference.type binding SHALL support at a minimum the [5 Common Clinical Notes](http://hl7.org/fhir/us/core/ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set" ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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/us/core/SearchParameter/us-core-documentreference-id";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         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.operation.name [ fhir:value "docref" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/us/core/OperationDefinition/docref";
           fhir:link <http://hl7.org/fhir/us/core/OperationDefinition/docref>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "A server **SHALL** be capable of responding to a $docref operation and  capable of returning at least a reference to a generated CCD document, if available. **MAY** provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD**  provide references to any document that falls within the date range If no date range is supplied, then the server **SHALL** provide references to last or current encounter.  **SHOULD** document what resources, if any, are returned as included resources`GET [base]/DocumentReference/$docref?patient=[id]`" ]       ]     ], [
       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 "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 "SHOULD" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "class" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ];
         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 "SHOULD" ]         ], [
           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 "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "type" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "date" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "patient" ]         ];
         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/core/StructureDefinition/us-core-encounter";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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/us/core/SearchParameter/us-core-encounter-id";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-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 "class" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "type" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type>         ];
         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 "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 "SHOULD" ]         ], [
           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 "lifecycle-status" ]         ];
         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 "SHOULD" ]         ], [
           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 "target-date" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Goal" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "lifecycle-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient>         ];
         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 "target-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ]     ], [
       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 "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 "SHOULD" ]         ], [
           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 "SHOULD" ]         ], [
           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 "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Immunization" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ], [
         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 "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ]     ], [
       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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Location" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-location>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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.searchParam.name [ fhir:value "address" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-city" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "address-state" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "address-postalcode" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ]     ], [
       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.type [ fhir:value "Medication" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "The  MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resourcse is used in a MedicationRequest, then the READ  **SHALL**  be supported." ];
       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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ]     ], [
       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 "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 "intent" ]         ];
         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 "SHOULD" ]         ], [
           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 "intent" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "encounter" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "intent" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "authoredon" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "intent" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationRequest" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods. For example, A server **SHALL** be capable of returning all medications for a patient using one of or both: `GET /MedicationRequest?patient=[id]` `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`" ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "MedicationRequest:medication";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status>         ];
         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 "intent" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient>         ];
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "encounter" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter>         ];
         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 "authoredon" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ]     ], [
       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 "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 "intent" ]         ];
         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 "SHOULD" ]         ], [
           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 "intent" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "intent" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "intent" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationDispense" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "The MedicationDispense resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods. For example, A server **SHALL** be capable of returning all medications for a patient using one of or both: `GET /MedicationDispense?patient=[id]` `GET /MedicationDispense?patient=[id]&_include=MedicationDispense:medication`" ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "MedicationDispense:medication";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/davinci-pdex/SearchParameter/pdex-medicationdispense-status";
           fhir:link <http://hl7.org/fhir/us/davinci-pdex/SearchParameter/pdex-medicationdispense-status>         ];
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/davinci-pdex/SearchParameter/pdex-medicationdispense-patient";
           fhir:link <http://hl7.org/fhir/us/davinci-pdex/SearchParameter/pdex-medicationdispense-patient>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ]       ]     ], [
       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: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 "category" ]         ], [
           fhir:index 3;
           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 "SHOULD" ]         ], [
           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 "category" ]         ], [
           fhir:index 3;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "code" ]         ], [
           fhir:index 3;
           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 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: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 "code" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "category" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Observation" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab";
         fhir:index 2;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age";
         fhir:index 3;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry";
         fhir:index 4;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile";
         fhir:index 5;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status>         ];
         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 "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Organization" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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.searchParam.name [ fhir:value "address" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ]     ], [
       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 "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 "SHOULD" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "birthdate" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "family" ]         ];
         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 "SHOULD" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "family" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "gender" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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 "SHALL" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "birthdate" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "name" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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:index 1;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "gender" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "required" ];
           fhir:Extension.valueString [ fhir:value "name" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Patient" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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/us/core/SearchParameter/us-core-patient-id";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-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 "birthdate" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "family" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "gender" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "given" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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 "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ], [
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "member-match" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/us/davinci-hrex/OperationDefinition/member-match";
           fhir:link <http://hl7.org/fhir/us/davinci-hrex/OperationDefinition/member-match>         ]       ]     ], [
       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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Practitioner" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       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 "name" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ]       ], [
         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.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ]     ], [
       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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "PractitionerRole" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "PractitionerRole:endpoint";
         fhir:index 0       ], [
         fhir:value "PractitionerRole:practitioner";
         fhir:index 1       ];
       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 "specialty" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "practitioner" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner>         ];
         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 "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 "SHOULD" ]         ], [
           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 "status" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ]       ], [
         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: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 "code" ]         ], [
           fhir:index 3;
           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 "Procedure" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure>       ];
       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 "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "history-instance" ]       ], [
         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.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "Provenance:target";
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status>         ];
         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 "SHALL" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient>         ];
         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 "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "code" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code";
           fhir:link <http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code>         ];
         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 "SHALL" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Provenance" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-provenance";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-provenance>       ], [
         fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance";
         fhir:index 1;
         fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance>       ];
       fhir:CapabilityStatement.rest.resource.documentation [ fhir:value "If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider." ];
       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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         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 "read" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ], [
         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 "MAY" ]         ];
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-type" ]       ];
       fhir:CapabilityStatement.rest.resource.referencePolicy [
         fhir:value "resolves";
         fhir:index 0       ]     ], [
       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 "SHOULD" ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "ValueSet" ];
       fhir:CapabilityStatement.rest.resource.operation [
         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 "SHOULD" ]         ];
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "expand" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/OperationDefinition/ValueSet-expand";
           fhir:link <http://hl7.org/fhir/OperationDefinition/ValueSet-expand>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." ]       ]     ];
     fhir:CapabilityStatement.rest.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 "MAY" ]       ];
       fhir:CapabilityStatement.rest.interaction.code [ fhir:value "transaction" ]     ], [
       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.interaction.code [ fhir:value "batch" ]     ], [
       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.interaction.code [ fhir:value "search-system" ]     ], [
       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 "MAY" ]       ];
       fhir:CapabilityStatement.rest.interaction.code [ fhir:value "history-system" ]     ]
  ].

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

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