Specialty Medication Enrollment
2.1.0 - CI Build

Specialty Medication Enrollment, published by HL7 International - Pharmacy. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/HL7/fhir-specialty-rx/ and changes regularly. See the Directory of published versions

## : Specialty Rx CapabilityStatement - Data Consumer - RESTful - JSON Representation

Active as of 2022-07-01

Raw json | Download

    {
      "resourceType" : "CapabilityStatement",
      "id" : "specialty-rx-data-consumer-restful",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SpecialtyRxDataConsumerRestful</h2><div><p>This CapabilityStatement describes the expected capabilities of a system that is capable of executing RESTful operations to retrieve patient information from a RESTful FHIR server.</p>\n</div><table><tr><td>Mode</td><td>CLIENT</td></tr><tr><td>Description</td><td><div><p>Specialty Rx Data Consumer <strong>SHALL</strong>:</p>\n<ol>\n<li>Support the RESTful solicited workflow defined in this guide, including all required searches and search parameters.</li>\n<li>Implement the RESTful behavior according to the FHIR specification.</li>\n<li>Support the JSON source format.</li>\n<li>Declare a CapabilityStatement identifying the profiles supported.</li>\n<li>Follow US Core search requirements and guidance when performing searches associated with this IG.</li>\n</ol>\n<p>Specialty Rx Data Consumer <strong>SHOULD</strong>:</p>\n<ol>\n<li>Support the Patient/$match operation.</li>\n<li>Support the recommended searches and parameters identified in the guide.</li>\n<li>Identify the Specialty Rx profiles supported as part of the FHIR <code>meta.profile</code> attribute for each applicable instance.</li>\n</ol>\n<p>The Specialty Rx Data Consumer MAY</p>\n<ol>\n<li>Support the Task / SMART application launch capability specified in the guide.</li>\n<li>Support the Task / Consent Request capability specified in the guide.</li>\n</ol>\n</div></td></tr><tr><td>Transaction</td><td></td></tr><tr><td>System History</td><td></td></tr><tr><td>System Search</td><td></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 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=\"POST a new resource (create interaction)\">Create</b></th></tr><tr><td>AllergyIntolerance</td><td><a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Condition</td><td><a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Coverage</td><td><a href=\"http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage\">http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>MedicationRequest</td><td><a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>Observation</td><td><a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>DocumentReference</td><td><a href=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference\">http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference</a></td><td>y</td><td>y</td><td></td><td></td></tr><tr><td>OperationOutcome</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/OperationOutcome\">http://hl7.org/fhir/StructureDefinition/OperationOutcome</a></td><td>y</td><td></td><td></td><td>y</td></tr><tr><td>Task</td><td>Supported profiles:<br/>\u00a0\u00a0<a href=\"http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch\">http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch</a><br/>\u00a0\u00a0<a href=\"http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request\">http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request</a></td><td>y</td><td></td><td>y</td><td>y</td></tr><tr><td>Consent</td><td>Supported profiles:<br/>\u00a0\u00a0<a href=\"http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent\">http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent</a><br/>\u00a0\u00a0<a href=\"http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent-requested\">http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent-requested</a></td><td>y</td><td></td><td>y</td><td>y</td></tr></table></div>"
      },
      "url" : "http://hl7.org/fhir/us/specialty-rx/CapabilityStatement/specialty-rx-data-consumer-restful",
      "version" : "2.1.0",
      "name" : "SpecialtyRxDataConsumerRestful",
      "title" : "Specialty Rx CapabilityStatement - Data Consumer - RESTful",
      "status" : "active",
      "experimental" : false,
      "date" : "2022-07-01T00:00:00-05:00",
      "publisher" : "HL7 International - Pharmacy",
      "contact" : [
        {
          "name" : "HL7 International - Pharmacy",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://www.hl7.org/Special/committees/medication"
            }
          ]
        },
        {
          "name" : "Frank McKinney",
          "telecom" : [
            {
              "system" : "email",
              "value" : "frank.mckinney@pocp.com"
            },
            {
              "system" : "email",
              "value" : "fm@frankmckinney.com"
            }
          ]
        }
      ],
      "description" : "This CapabilityStatement describes the expected capabilities of a system that is capable of executing RESTful operations to retrieve patient information from a RESTful FHIR server.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "US",
              "display" : "United States of America"
            }
          ]
        }
      ],
      "kind" : "requirements",
      "fhirVersion" : "4.0.1",
      "format" : [
        "xml",
        "json"
      ],
      "patchFormat" : [
        "application/json-patch+json"
      ],
      "implementationGuide" : [
        "http://hl7.org/fhir/us/specialty-rx/ImplementationGuide/specialty-rx"
      ],
      "rest" : [
        {
          "mode" : "client",
          "documentation" : "Specialty Rx Data Consumer **SHALL**: \n\n1. Support the RESTful solicited workflow defined in this guide, including all required searches and search parameters. \n1. Implement the RESTful behavior according to the FHIR specification. \n1. Support the JSON source format. \n1. Declare a CapabilityStatement identifying the profiles supported. \n1. Follow US Core search requirements and guidance when performing searches associated with this IG. \n\nSpecialty Rx Data Consumer **SHOULD**: \n\n1. Support the Patient/$match operation. \n1. Support the recommended searches and parameters identified in the guide. \n1. Identify the Specialty Rx profiles supported as part of the FHIR `meta.profile` attribute for each applicable instance. \n\nThe Specialty Rx Data Consumer MAY \n\n1. Support the Task / SMART application launch capability specified in the guide. \n 1. Support the Task / Consent Request capability specified in the guide.",
          "security" : {
            "description" : "1. Specialty Rx Data Consumer **SHOULD** authorize exchanges using OAuth 2.0 access management in accordance with the [SMART Backend Services Authorization Guide](https://www.hl7.org/fhir/secpriv-module.html). \n1. For general security considerations refer to [FHIR Security and Privacy Considerations](https://www.hl7.org/fhir/secpriv-module.html). \n1. For additional security guidance, refer to the [core FHIR Security guidance page](https://www.hl7.org/fhir/security.html)."
          },
          "resource" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "clinical-status"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                }
              ],
              "type" : "AllergyIntolerance",
              "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance",
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "referencePolicy" : [
                "resolves"
              ],
              "searchRevInclude" : [
                "Provenance:target"
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "clinical-status",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient",
                  "type" : "reference"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "onset-date"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "category"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "clinical-status"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "code"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                }
              ],
              "type" : "Condition",
              "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition",
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "referencePolicy" : [
                "resolves"
              ],
              "searchRevInclude" : [
                "Provenance:target"
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "category",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "clinical-status",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "onset-date",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "code",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code",
                  "type" : "token"
                }
              ]
            },
            {
              "type" : "Coverage",
              "profile" : "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-coverage",
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "referencePolicy" : [
                "resolves"
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://hl7.org/fhir/SearchParameter/Coverage-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "beneficiary",
                  "definition" : "http://hl7.org/fhir/SearchParameter/Coverage-beneficiary",
                  "type" : "reference"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "intent"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "intent"
                    },
                    {
                      "url" : "required",
                      "valueString" : "encounter"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "intent"
                    },
                    {
                      "url" : "required",
                      "valueString" : "authoredon"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "intent"
                    },
                    {
                      "url" : "required",
                      "valueString" : "status"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                }
              ],
              "type" : "MedicationRequest",
              "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest",
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "referencePolicy" : [
                "resolves"
              ],
              "searchInclude" : [
                "MedicationRequest:medication"
              ],
              "searchRevInclude" : [
                "Provenance:target"
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "intent",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "encounter",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "authoredon",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon",
                  "type" : "date"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "category"
                    },
                    {
                      "url" : "required",
                      "valueString" : "date"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "category"
                    },
                    {
                      "url" : "required",
                      "valueString" : "status"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "code"
                    },
                    {
                      "url" : "required",
                      "valueString" : "date"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "code"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "category"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                }
              ],
              "type" : "Observation",
              "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab",
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "referencePolicy" : [
                "resolves"
              ],
              "searchRevInclude" : [
                "Provenance:target"
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "category",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "code",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "date",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date",
                  "type" : "date"
                }
              ]
            },
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "type"
                    },
                    {
                      "url" : "required",
                      "valueString" : "period"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "type"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "category"
                    },
                    {
                      "url" : "required",
                      "valueString" : "date"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "status"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    },
                    {
                      "url" : "required",
                      "valueString" : "patient"
                    },
                    {
                      "url" : "required",
                      "valueString" : "category"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
                }
              ],
              "type" : "DocumentReference",
              "profile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference",
              "documentation" : "The DocumentReference.type binding SHOULD support at a minimum the 5 Common Clinical Notes defined in US Core: Discharge Summary, Consult Note, History and Physical Note, Progress Note, Procedure Note",
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "referencePolicy" : [
                "resolves"
              ],
              "searchRevInclude" : [
                "Provenance:target"
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "_id",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "status",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "category",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "type",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type",
                  "type" : "token"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "date",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date",
                  "type" : "date"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHOULD"
                    }
                  ],
                  "name" : "period",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period",
                  "type" : "date"
                }
              ]
            },
            {
              "type" : "OperationOutcome",
              "profile" : "http://hl7.org/fhir/StructureDefinition/OperationOutcome",
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "create"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ]
            },
            {
              "type" : "Task",
              "supportedProfile" : [
                "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch",
                "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request"
              ],
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "create"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "update"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ]
            },
            {
              "type" : "Consent",
              "supportedProfile" : [
                "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent",
                "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent-requested"
              ],
              "interaction" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "code" : "create"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "code" : "update"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ]
            }
          ],
          "operation" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "name" : "patient-match",
              "definition" : "https://www.hl7.org/fhir/operation-patient-match.html"
            }
          ]
        }
      ]
    }