Physical Activity Implementation Guide
1.0.0 - STU Release 1 United States of America flag

This page is part of the U.S. Physical Activity IG (v1.0.0: STU 1.0) 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

: PA Patient Engagement - TTL Representation

Page standards status: Trial-use Maturity Level: 2

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:id [ fhir:v "pa-patient-engagement"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
fhir:v "2"^^xsd:integer ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/us/physical-activity/ImplementationGuide/physical-activity"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/ImplementationGuide/physical-activity>         ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
fhir:v "trial-use" ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/us/physical-activity/ImplementationGuide/physical-activity"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/ImplementationGuide/physical-activity>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/us/physical-activity/CapabilityStatement/pa-patient-engagement"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "PAPatientEngagement"] ; # 
  fhir:title [ fhir:v "PA Patient Engagement"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2022-06-18"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International - Patient Care WG"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 International - Patient Care WG" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/patientcare" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Describes the expected capabilities of a system intended for use by patients and caregivers of patients who are working to enhance or maintain their levels of physical activity.  These will typically be web-based or mobile applications."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "US" ]     ] )
  ] ) ; # 
  fhir:kind [ fhir:v "requirements"] ; # 
  fhir:imports ( [
fhir:v "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client>
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:format ( [ fhir:v "json"] [ fhir:v "xml"] ) ; # 
  fhir:rest ( [
fhir:mode [ fhir:v "client" ] ;
fhir:documentation [ fhir:v "Systems for patients  only act as RESTful clients.  While they may create and store some of their own data, this data is always made available by 'pushing' it to the server of a [care manager](CapabilityStatement-pa-care-manager.html) or a [full service provider](CapabilityStatement-pa-service-provider-full.html) system." ] ;
    ( fhir:resource [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]       ] ) ;
fhir:type [ fhir:v "CarePlan" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-careplan"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-careplan> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows accessing and manipulating Care Plans." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "Allows a patient system to make updates to a plan." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows retrieval of care plans for a given patient." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] ) ;
fhir:code [ fhir:v "history-instance" ] ;
fhir:documentation [ fhir:v "Allows seeing how a care plan has changed over time.  This may be particularly important if multiple stakeholders have the ability to make adjustments to the plan.  However, history is not widely supported." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known care plan records - and more specifically, retrieving more than one in a single call to check for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "category" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/CarePlan-category"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/CarePlan-category>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving only those plans related to physical activity." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "date" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-date"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering plans based on the time frame they apply(ied) to." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/CarePlan-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/CarePlan-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only active or draft plans." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only those plans for a specific patient.  Most systems will treat this as a mandatory search parameter, though systems MAY support cross-patient search, at least through bulk-data interfaces for payer or research use." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]       ] ) ;
fhir:type [ fhir:v "DiagnosticReport" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-diagnosticreport"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-diagnosticreport> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows viewiong of the reports summarizing the results of a referral." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows searching for recorded reports." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known reports - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "basedOn" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Procedure-based-on"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Procedure-based-on>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to reports created in fulfillement of a particular order or referral." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "code" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to specific types of reports." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "date" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-date"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering reports based on the period the cover." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "category" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Procedure-category"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Procedure-category>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving only those reports related to physical activity." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only those reports for a specific patient.  Most systems will treat this as a mandatory search parameter, though systems MAY support cross-patient search, at least through bulk-data interfaces for payer or research use." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "performer" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-performer"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-performer>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve reports created by a specific performer." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve active or completed reports." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]       ] ) ;
fhir:type [ fhir:v "DocumentReference" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows retrieving PDFs or similar content referenced by a Patient Task.  These generally will not be patient-specific resources." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:code [ fhir:v "create" ] ;
fhir:documentation [ fhir:v "Allows a ServiceProvider to add additional images/documents for later retrieval." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] ) ;
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "Allows a ServiceProvider to replace an existing image/document with a newer version." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows monitoring of previously-retrieved DocumentReferences in the event the image/document is amended, corrected, or updated." ]       ] ) ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known document-reference records - and more specifically, retrieving  more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "contenttype" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/DocumentReference-contenttype"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-contenttype>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering for only PDFs, images, etc." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "category" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/DocumentReference-category"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-category>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records tied to a particular category (e.g. physical-activity)." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "description" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/DocumentReference-description"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/DocumentReference-description>         ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "Allows filtering based on words found in the description - i.e. with a 'contains' search." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]       ] ) ;
fhir:type [ fhir:v "Goal" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-goal"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-goal> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows accessing and potentially updating patient goals." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "Allows patients to modify a goal - for example shifting target values or dates, updating the status, etc.  Allowing patients and care-givers to help maintain goals is a key aspect of a patient-centered care plan.  However not all care manager or service provider systems (or their organizations) yet have the technical mechanisms or policies in place to support this." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows retrieval of goals for a given patient." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] ) ;
fhir:code [ fhir:v "history-instance" ] ;
fhir:documentation [ fhir:v "Allows seeing how goals have changed over time.  This may be particularly important if multiple stakeholders have the ability to make adjustments to goals.  However, history is not widely supported." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known goal records - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "category" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Goal-category"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Goal-category>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving only those goals related to physical activity." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "lifecycle-status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only active, completed or other goal statuses." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only those goals for a specific patient.  Most systems will treat this as a mandatory search parameter, though systems MAY support cross-patient search, at least through bulk-data interfaces for payer or research use." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "target-date" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Goal-target-date"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Goal-target-date>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering goals based on when they're to be achieved." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]       ] ) ;
fhir:type [ fhir:v "Observation" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-days-per-week"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-days-per-week> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-day"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-day> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-week"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-week> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-strength-days-per-week"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-strength-days-per-week> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-activity-measure"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-activity-measure> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-activity-group"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-activity-group> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-time-measure"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-time-measure> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows recording and viewing patient physical activity observations." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "create" ] ;
fhir:documentation [ fhir:v "Allows recording new observations" ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "Allows correcting a previous observation or revising the status" ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows viewing of previously recorded observations - e.g. to help calculate primary measures and/or to view trends." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known observation records - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "category" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Observation-category"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Observation-category>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving only those observations related to physical activity.  As well, many clinical systems will require searches to specify a category so the server knows which part of the database to search as different types of observations are stored in different areas." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "code" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve a specific type of physical activity vital sign or supporting observation." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "date" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-date"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-date>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve a observations from a particular time period." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only those observations for a specific patient.  Most systems will treat this as a mandatory search parameter, though systems MAY support cross-patient search, at least through bulk-data interfaces for payer or research use." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Observation-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Observation-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows excluding entered-in-error or non-final observations." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "value-quantity" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Observation-value-quantity"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Observation-value-quantity>         ] ;
fhir:type [ fhir:v "quantity" ] ;
fhir:documentation [ fhir:v "Allows retrieval of only those observations that fall in a particular range.  Particularly useful for cross-patient queries." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]       ] ) ;
fhir:type [ fhir:v "Patient" ] ;
fhir:documentation [ fhir:v "Allows searching of the patients." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows searching of the patients." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known reports - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] ) ;
fhir:name [ fhir:v "birthdate" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/individual-birthdate"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/individual-birthdate>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering of individuals based on their date of birth." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] ) ;
fhir:name [ fhir:v "family" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/individual-family"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/individual-family>         ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "Allows filtering of individuals based on their family name." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] ) ;
fhir:name [ fhir:v "gender" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/individual-gender"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/individual-gender>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering of individuals based on their gender." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] ) ;
fhir:name [ fhir:v "given" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/individual-given"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/individual-given>         ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "Allows filtering of individuals based on their given name." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "identifier" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Patient-identifier"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Patient-identifier>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Enables filtering of patients based on their unique identifiers." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "name" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Patient-name"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Patient-name>         ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "Enables filtering of patients based on their full name." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]       ] ) ;
fhir:type [ fhir:v "Practitioner" ] ;
fhir:documentation [ fhir:v "Allows searching of the practitioners." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows searching of the practitioners." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known reports - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "identifier" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Practitioner-identifier"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Practitioner-identifier>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Enables filtering of practitioners based on their unique identifiers." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "name" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Practitioner-name"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Practitioner-name>         ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "Enables filtering of practitioners based on their full name." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]       ] ) ;
fhir:type [ fhir:v "PractitionerRole" ] ;
fhir:documentation [ fhir:v "Allows searching of the practitioner roles." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows searching of the practitioner roles." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known reports - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "specialty" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/PractitionerRole-specialty"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/PractitionerRole-specialty>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering of practitioner specialty." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "practitioner" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Enables filtering of practitioner roles based on the associated practitioner." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]       ] ) ;
fhir:type [ fhir:v "Questionnaire" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-obsn> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extr-obsn> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows retrieval of Questionnaires referenced by a patient Task." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows retrieval of questionnaires to be completed." ]       ] ) ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known questionnaire records - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "url" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-url"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-url>         ] ;
fhir:type [ fhir:v "uri" ] ;
fhir:documentation [ fhir:v "Allows retrieving a referenced Questionnaire." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "version" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-version"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-version>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving a specific version of a referenced questionnaire." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "context-type-value" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-context-type-value"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-context-type-value>         ] ;
fhir:type [ fhir:v "composite" ] ;
fhir:documentation [ fhir:v "Allows filtering for Questionnaires that are phyical activity-related." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "identifier" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-identifier"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-identifier>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving Questionnaires with a known identifier." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "publisher" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-publisher"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-publisher>         ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "Allows retrieving Questionnaires based on who is responsible for having defined the form." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve active questionnaires." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "subject-type" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-subject-type"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-subject-type>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving Questionnaires that are intended to provide information about patients - as opposed to practitioners, organizations, etc." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "title" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Questionnaire-title"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Questionnaire-title>         ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "Allows searching for forms by name." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]       ] ) ;
fhir:type [ fhir:v "QuestionnaireResponse" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows recording and updating of questionnaire responses in response to patient tasks." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "Allows correction of or continued editing of a previously recorded questionnaire response." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "create" ] ;
fhir:documentation [ fhir:v "Allows other systems to record questionnaire responses." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows retrieval of completed or in-progresss questionnaire responses." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known questionnaire response records - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "author" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-author"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-author>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering responses previously created by a particular individual." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "authored" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-authored"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-authored>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering responses based on when they were completed." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only those responses for a specific patient.  Most systems will treat this as a mandatory search parameter, though systems MAY support cross-patient search, at least through bulk-data interfaces for payer or research use." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "questionnaire" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows retrieving a referenced Questionnaire." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve completed questionnaire responses." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]       ] ) ;
fhir:type [ fhir:v "ServiceRequest" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-servicerequest> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows retrieval 'execise prescriptions' - referrals addressed to the patient themselves - as well as monitoring of referrals assigned to others." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows searching for orders or referrals for a particular patient or for updates to previously retrieved orders." ]       ] ) ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchInclude [
fhir:v "ServiceRequest:patient" ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "ServiceRequest:requester" ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known service request records - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "authored" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-authored"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-authored>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering orders based on when they were created." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "category" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-category"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-category>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving only those referrals related to physical activity." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "code" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving only orders for particular types of interventions." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only those orders for a specific patient.  Most systems will treat this as a mandatory search parameter, though systems MAY support cross-patient search, at least through bulk-data interfaces for payer or research use." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "performer" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-performer"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-performer>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve orders targeted to a specific performer." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "requester" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-requester"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-requester>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve orders solicited by a specific provider." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve active or completed orders." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]       ] ) ;
fhir:type [ fhir:v "Subscription" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows establishing and maintaining subscriptions for Task notifications.  Only needed if not handled manually." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "create" ] ;
fhir:documentation [ fhir:v "Allows establishing a new subscription." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "Allows revising an existing subscription - to cancel it or change the email address or SMS number." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows retrieval of existing subscriptions prior to update." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "topic" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/uv/subscriptions-backport/SearchParameter/Subscription-topic"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/SearchParameter/Subscription-topic>         ] ;
fhir:type [ fhir:v "uri" ] ;
fhir:documentation [ fhir:v "Allows filtering for just subscriptions for Task monitoring." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known subscription records." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "url" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Subscription-url"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Subscription-url>         ] ;
fhir:type [ fhir:v "uri" ] ;
fhir:documentation [ fhir:v "Allows filtering only for subscriptions that notify a specific endpoint.  Substituting for the 'owner' search parameter, which doesn't exist in R4." ]       ] )     ] [
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]       ] ) ;
fhir:type [ fhir:v "Task" ] ;
      ( fhir:supportedProfile [
fhir:v "http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-task-for-referral-management"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-task-for-referral-management> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "MAY" ]         ] )       ] [
fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-TaskForPatient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-TaskForPatient> ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] )       ] ) ;
fhir:documentation [ fhir:v "Allows creation of tasks assigned to the patient, as well as potentially monitoring Tasks assigned to a service provider." ] ;
      ( fhir:interaction [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "create" ] ;
fhir:documentation [ fhir:v "Allows a creation of Task on a Full Service Provider system." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "update" ] ;
fhir:documentation [ fhir:v "Allows updating the status and/or specifying outputs for patient tasks." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:code [ fhir:v "search-type" ] ;
fhir:documentation [ fhir:v "Allows retrieval of existing tasks to check for changes or prior to making updates.  This will typically be prompted by a subscription notification." ]       ] ) ;
fhir:versioning [ fhir:v "versioned-update" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] ) ;
      ( fhir:searchInclude [
fhir:v "Task:focus" ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "Task:output" ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "Task:patient" ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] [
fhir:v "ServiceRequest:requester" ;
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] )       ] ) ;
      ( fhir:searchParam [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows retrieving known task records - and more specifically, retrieving more than one in a single call to poll for updates." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Allows filtering for only records that have changed since last query." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "code" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering for 'fulfill' tasks as opposed to others. Some systems may require code to be included as a filter criteria as different Task codes may correspond to  different internal database tables." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "owner" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Task-owner"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Task-owner>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering only for tasks that are assigned to a particular owner (or alternatively, tasks that have not yet been assigned)." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only those tasks for a specific patient.  Most systems will treat this as a mandatory search parameter, though systems MAY support cross-patient search, at least through bulk-data interfaces for payer or research use." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "requester" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Task-requester"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Task-requester>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve tasks initiated by a specific provider." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHALL" ]         ] ) ;
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/ServiceRequest-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/ServiceRequest-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Allows filtering to only retrieve active or completed orders." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "focus" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Task-focus"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Task-focus>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows retrieving the task(s) seeking fulfillment of a particular ServiceRequest." ]       ] [
        ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
fhir:value [ fhir:v "SHOULD" ]         ] ) ;
fhir:name [ fhir:v "output" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/SearchParameter/Task-output-reference"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/sdoh-clinicalcare/SearchParameter/Task-output-reference>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Allows for the 'output' of a Task to be included when retrieving a Task." ]       ] )     ] )
  ] ) . #