Specialty Medication Enrollment
0.1.0 - STU1 Ballot

Publication Build: This will be filled in by the publication tooling

## : Specialty Rx CapabilityStatement - Data Source - Messaging - JSON Representation

Raw json | Download

    {
      "resourceType" : "CapabilityStatement",
      "id" : "specialty-rx-data-source-messaging",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SpecialtyRxDataSourceMessaging</h2><div><p>This CapabilityStatement describes the expected capabilities of a server that is capable of providing patient information using Specialty Rx Query messaging.</p>\n</div><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td><div><p>Specialty Rx Data Source <strong>SHALL</strong>:</p>\n<ol>\n<li>Support the Solicited workflow defined in this guide by responding to the $process-message operation containing a Specialty Rx Query message by returning a Specialty Rx Query Response message or Specialty Rx Error message.</li>\n<li>Support all required RESTful searches and search parameters.</li>\n<li>Support the json source format.</li>\n<li>Declare a CapabilityStatement identifying the profiles supported.</li>\n</ol>\n<p>Specialty Rx Data Source <strong>SHOULD</strong>:</p>\n<ol>\n<li>Respond to the Patient/$match operation.</li>\n<li>Support the xml source format.</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 Source MAY</p>\n<ol>\n<li>Support the Unsolicited workflow defined in this guide, using the Specialty Rx Query Response - Unsolicited message.</li>\n<li>Support the Task / SMART application launch 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><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></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-source-messaging",
      "version" : "0.1.0",
      "name" : "SpecialtyRxDataSourceMessaging",
      "title" : "Specialty Rx CapabilityStatement - Data Source - Messaging",
      "status" : "active",
      "experimental" : false,
      "date" : "2020-08-24T00: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"
            }
          ]
        }
      ],
      "description" : "This CapabilityStatement describes the expected capabilities of a server that is capable of providing patient information using Specialty Rx Query messaging.",
      "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" : "server",
          "documentation" : "Specialty Rx Data Source **SHALL**: \n\n1. Support the Solicited workflow defined in this guide by responding to the $process-message operation containing a Specialty Rx Query message by returning a Specialty Rx Query Response message or Specialty Rx Error message. \n1. Support all required RESTful searches and search parameters. \n1. Support the json source format. \n1. Declare a CapabilityStatement identifying the profiles supported. \n\nSpecialty Rx Data Source **SHOULD**: \n\n1. Respond to the Patient/$match operation.  \n1. Support the xml source format. \n1. Identify the Specialty Rx profiles supported as part of the FHIR `meta.profile` attribute for each applicable instance. \n\nThe Specialty Rx Data Source MAY \n\n1. Support the Unsolicited workflow defined in this guide, using the Specialty Rx Query Response - Unsolicited message. \n1. Support the Task / SMART application launch capability specified in the guide.",
          "security" : {
            "description" : "1. For general security considerations refer to [FHIR Security and Privacy Considerations](http://build.fhir.org/secpriv-module.html). \n1. For additional security guidance, refer to the [core FHIR Security guidance page](https://www.hl7.org/fhir/security.html). \n1. A server **SHALL** reject any unauthorized requests by returning an `HTTP 401` unauthorized response code."
          },
          "resource" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                },
                {
                  "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" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "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" : "SHALL"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient",
                  "type" : "reference"
                }
              ]
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                },
                {
                  "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"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "SHALL"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "SHALL"
                    }
                  ],
                  "code" : "search-type"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "code" : "read"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    }
                  ],
                  "name" : "patient",
                  "definition" : "http://hl7.org/fhir/SearchParameter/Coverage-patient",
                  "type" : "reference"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "name" : "beneficiary",
                  "definition" : "http://hl7.org/fhir/SearchParameter/Coverage-beneficiary",
                  "type" : "reference"
                }
              ]
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    },
                    {
                      "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" : "SHALL"
                    },
                    {
                      "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",
              "supportedProfile" : [
                "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-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"
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "name" : "authoredon",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon",
                  "type" : "date"
                }
              ]
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                },
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "SHALL"
                    },
                    {
                      "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" : "SHALL"
                    },
                    {
                      "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" : "SHALL"
                    },
                    {
                      "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"
                }
              ],
              "searchParam" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                      "valueCode" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "name" : "date",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date",
                  "type" : "date"
                }
              ]
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                },
                {
                  "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" : "SHALL"
                    },
                    {
                      "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" : "SHALL"
                    },
                    {
                      "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" : "SHALL"
                    },
                    {
                      "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"
                }
              ],
              "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "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" : "MAY"
                    }
                  ],
                  "name" : "period",
                  "definition" : "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period",
                  "type" : "date"
                }
              ]
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "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"
                }
              ]
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "type" : "Task",
              "profile" : "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch",
              "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"
                }
              ]
            }
          ],
          "operation" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "name" : "process-message",
              "definition" : "http://hl7.org/fhir/OperationDefinition/MessageHeader-process-message"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "name" : "patient-match",
              "definition" : "https://www.hl7.org/fhir/operation-patient-match.html"
            }
          ]
        }
      ],
      "messaging" : [
        {
          "supportedMessage" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "mode" : "receiver",
              "definition" : "http://hl7.org/fhir/us/specialty-rx/MessageDefinition/specialty-rx-query"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "mode" : "sender",
              "definition" : "http://hl7.org/fhir/us/specialty-rx/MessageDefinition/specialty-rx-query-response"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "mode" : "sender",
              "definition" : "http://hl7.org/fhir/us/specialty-rx/MessageDefinition/specialty-rx-error"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "mode" : "receiver",
              "definition" : "http://hl7.org/fhir/us/specialty-rx/MessageDefinition/specialty-rx-error"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "mode" : "sender",
              "definition" : "http://hl7.org/fhir/us/specialty-rx/MessageDefinition/specialty-rx-query-response-unsolicited"
            }
          ]
        }
      ]
    }