This page is part of the US-Medication FHIR IG (v1.1.0: STU 2 Ballot 1) based on FHIR R3. The current version which supercedes this version is 1.2.0. For a full list of available versions, see the Directory of published versions
Formats: Narrative, XML, JSON, Turtle
Raw ttl
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:CapabilityStatement; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "server"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "additional" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <ul id=\"markdown-toc\">\n <li>\n <a href=\"#conformance-requirements-for-the-us-meds-server\" id=\"markdown-toc-conformance-requirements-for-the-us-meds-server\">Conformance requirements for the US Meds Server</a>\n <ul>\n <li>\n <a href=\"#behavior\" id=\"markdown-toc-behavior\">Behavior</a>\n </li>\n <li>\n <a href=\"#security\" id=\"markdown-toc-security\">Security:</a>\n </li>\n <li>\n <a href=\"#profile-interaction-summary\" id=\"markdown-toc-profile-interaction-summary\">Profile Interaction Summary:</a>\n </li>\n <li>\n <a href=\"#resource--details\" id=\"markdown-toc-resource--details\">Resource Details:</a>\n <ul>\n <li>\n <a href=\"#medication\" id=\"markdown-toc-medication\">1. Medication</a>\n </li>\n <li>\n <a href=\"#medicationadministration\" id=\"markdown-toc-medicationadministration\">2. MedicationAdministration</a>\n </li>\n <li>\n <a href=\"#medicationdispense\" id=\"markdown-toc-medicationdispense\">3. MedicationDispense</a>\n </li>\n <li>\n <a href=\"#medicationrequest\" id=\"markdown-toc-medicationrequest\">4. MedicationRequest</a>\n </li>\n <li>\n <a href=\"#medicationstatement\" id=\"markdown-toc-medicationstatement\">5. MedicationStatement</a>\n </li>\n </ul>\n </li>\n </ul>\n </li>\n </ul>\n \n <p id=\"publish-box\">Not open for May 2018 ballot</p>\n <h3 id=\"conformance-requirements-for-the-us-meds-server\">Conformance requirements for the US Meds Server</h3>\n <ul>\n <li>FHIR Version: 3.0.0</li>\n <li>Supported formats: xml, json</li>\n <li>Published: 2017-03-08</li>\n <li>Published by: Health Level Seven International Pharmacy Work Group</li>\n </ul>\n <p>The section describes the expected capabilities of the US Meds Server actor which is responsible for providing responses to the queries submitted by the US Med Client applications. It is expected that this CapabilityStatement will be used with the <a href=\"http://hl7.org/fhir/us/core/STU1/capstmnts.html\">US Core CapabilityStatement</a>. Together they describe the complete list of FHIR profiles, RESTful operations, and search parameters supported by US Meds Servers. US Meds Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.</p>\n <h4 id=\"behavior\">Behavior</h4>\n <p>Description: The US Meds Server <strong>SHALL</strong>:</p>\n <ul>\n <li>Support the <a href=\"http://hl7.org/fhir/us/core/STU1/StructureDefinition-us-core-patient.html\">US Core Patient</a> resource profile.</li>\n <li>At a minimum, support the US Core MedicationStatement Profile.</li>\n <li>Implement the RESTful behavior according to the FHIR specification.</li>\n <li>Return the following response classes:\n <ul>\n <li>(Status 200): successful operation</li>\n <li>(Status 400): invalid parameter</li>\n <li>(Status 401/4xx): unauthorized request</li>\n <li>(Status 403): insufficient scope</li>\n <li>(Status 404): unknown resource</li>\n <li>(Status 410): deleted resource.</li>\n </ul>\n </li>\n <li>Support <em>json</em> resource formats for all US Meds interactions.</li>\n <li>Declare a CapabilityStatement identifying the list of profiles, operations, and search parameters supported.</li>\n </ul>\n <p>The US Meds Server <strong>SHOULD</strong>:</p>\n <ul>\n <li>Support the following US Core and US Meds resource profiles:\n <ul>\n <li>US Core Medication</li>\n <li>US Meds MedicationAdministration</li>\n <li>US Meds MedicationDispense</li>\n <li>US Core MedicationRequest</li>\n </ul>\n </li>\n <li>Support <em>xml</em> resource formats for all US Meds interactions.</li>\n <li>Identify the US Core profile(s) and US Meds profiles supported as part of the FHIR <code class=\"highlighter-rouge\">meta.profile</code> attribute for each instance.</li>\n </ul>\n <p>The US Meds Server <strong>MAY</strong>:</p>\n <ul>\n <li>Support other US Core and US Meds resource profile</li>\n </ul>\n <h4 id=\"security\">Security:</h4>\n <p>US Meds Servers <strong>SHALL</strong>:</p>\n <ul>\n <li>Implement the security requirements documented in the <a href=\"http://hl7.org/fhir/us/core/STU1/security.html\">US-Core IG</a>.</li>\n <li>A server has ensured that every API request includes a valid Authorization token, supplied via: <code class=\"highlighter-rouge\">Authorization: Bearer {server-specific-token-here}</code>\n </li>\n <li>A server has rejected any unauthorized requests by returning an <code class=\"highlighter-rouge\">HTTP 401</code> Unauthorized response code.</li>\n </ul>\n <h4 id=\"profile-interaction-summary\">Profile Interaction Summary:</h4>\n <ul>\n <li>All servers <strong>SHALL</strong> make available the <a href=\"http://hl7.org/fhir/STU3/http.html#read\">read</a> and <a href=\"http://hl7.org/fhir/STU3/http.html#search\">search</a> interactions for the Profiles the server chooses to support.</li>\n <li>All servers <strong>SHOULD</strong> make available the <a href=\"http://hl7.org/fhir/STU3/http.html#vread\">vread</a> and <a href=\"http://hl7.org/fhir/STU3/http.html#history\">history-instance</a> interactions for the Profiles the server chooses to support.</li>\n </ul>\n <p>\n <strong>Summary of US Meds search criteria</strong>\n </p>\n <p>Specific server search capabilities are described in detail below in each of the resource sections. The MedicationAdministration, MedicationDispense, MedicationStatement and MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing a Medication resource, the resource may be contained or an external resource. The server application can choose any one way or more than one method, but <em>if</em> the an external reference to Medication is used, the server <strong>SHALL</strong> support the <a href=\"http://hl7.org/fhir/STU3/http.html#include\">\n <code class=\"highlighter-rouge\">_include</code>\n </a> parameter for searching this element. The client application must support all methods.</p>\n <table class=\"grid\">\n <thead>\n <tr>\n <th>Resource Type</th>\n <th>Supported Profiles</th>\n <th>Supported Searches</th>\n <th>Supported _includes</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <a href=\"#medication\">Medication</a>\n </td>\n <td>US Core Medication Profile</td>\n <td> </td>\n <td> </td>\n </tr>\n <tr>\n <td>\n <a href=\"#medicationadministration\">MedicationAdministration</a>\n </td>\n <td>US Meds MedicationAdministration Profile</td>\n <td>patient</td>\n <td>MedicationAdministration:medication</td>\n </tr>\n <tr>\n <td>\n <a href=\"#medicationdispense\">MedicationDispense</a>\n </td>\n <td>US Meds MedicationDispense Profile</td>\n <td>patient</td>\n <td>MedicationDispense:medication</td>\n </tr>\n <tr>\n <td>\n <a href=\"#medicationrequest\">MedicationRequest</a>\n </td>\n <td>US Core MedicationRequest Profile</td>\n <td>patient, status, patient + status</td>\n <td>MedicationRequest:medication</td>\n </tr>\n <tr>\n <td>\n <a href=\"#medicationstatement\">MedicationStatement</a>\n </td>\n <td>US Core MedicationStatement Profile</td>\n <td>patient, status, context, patient + status, patient + context</td>\n <td>MedicationStatement:medication</td>\n </tr>\n </tbody>\n </table>\n <h4 id=\"resource--details\">Resource Details:</h4>\n <h5 id=\"medication\">1. Medication</h5>\n <p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/core/STU1/StructureDefinition-us-core-medication.html\">US Core Medication Profile</a>\n </p>\n <h5 id=\"medicationadministration\">2. MedicationAdministration</h5>\n <p>Supported Profiles: <a href=\"StructureDefinition-medicationadministration.html\">US Meds MedicationAdministration Profile</a>\n </p>\n <p>Search Criteria:</p>\n <p>A server <strong>SHALL</strong> be capable of fetching a patient’s administered medications using one of or both:</p>\n <ul>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationAdministration?patient=[id]</code>\n </li>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationAdministration?patient=[id]&_include=MedicationAdministration:medication</code>\n </li>\n </ul>\n <p>Search Parameters:</p>\n <table class=\"grid\">\n <thead>\n <tr>\n <th>Conformance</th>\n <th>Parameter</th>\n <th>Type</th>\n <th>_include (see documentation)</th>\n <th>Modifiers</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <strong>SHALL</strong>\n </td>\n <td>patient</td>\n <td>reference</td>\n <td>MedicationAdministration:medication</td>\n <td> </td>\n </tr>\n </tbody>\n </table>\n <h5 id=\"medicationdispense\">3. MedicationDispense</h5>\n <p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/meds/STU1/StructureDefinition-medicationdispense.html\">US Meds MedicationDispense Profile</a>\n </p>\n <p>Search Criteria:</p>\n <p>A server <strong>SHALL</strong> be capable of returning a patient’s dispensed medications using one of or both:</p>\n <ul>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationDispense?patient=[id]</code>\n </li>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationDispense?patient=[id]&_include=MedicationDispense:medication</code>\n </li>\n </ul>\n <table class=\"grid\">\n <thead>\n <tr>\n <th>Conformance</th>\n <th>Parameter</th>\n <th>Type</th>\n <th>_include (see documentation)</th>\n <th>Modifiers</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <strong>SHALL</strong>\n </td>\n <td>patient</td>\n <td>reference</td>\n <td>MedicationDispense:medication</td>\n <td> </td>\n </tr>\n </tbody>\n </table>\n <h5 id=\"medicationrequest\">4. MedicationRequest</h5>\n <p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/core/STU1/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a>\n </p>\n <p>Search Criteria:</p>\n <p>A server <strong>SHALL</strong> be capable of returning a patient’s active medications orders using one of or both:</p>\n <ul>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationRequest?patient=[id]</code>\n </li>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication</code>\n </li>\n </ul>\n <p>Search Parameters:</p>\n <table class=\"grid\">\n <thead>\n <tr>\n <th>Conformance</th>\n <th>Parameter</th>\n <th>Type</th>\n <th>_include (see documentation)</th>\n <th>Modifiers</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <strong>SHALL</strong>\n </td>\n <td>status + status</td>\n <td>reference + token</td>\n <td>MedicationRequest:medication</td>\n <td> </td>\n </tr>\n </tbody>\n </table>\n <h5 id=\"medicationstatement\">5. MedicationStatement</h5>\n <p>Supported Profiles: <a href=\"http://hl7.org/fhir/us/core/STU1/StructureDefinition-us-core-medicationstatement.html\">US Core MedicationStatement Profile</a>\n </p>\n <p>Search Criteria:</p>\n <p>A server <strong>SHALL</strong> be capable of returning all medications for a patient using one of or both:</p>\n <ul>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]</code>\n </li>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&_include=MedicationStatement:medication</code>\n </li>\n </ul>\n <p>A server <strong>SHALL</strong> be capable of returning all active medications for a patient using:</p>\n <ul>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&status=active</code>\n </li>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&status=active&_include=MedicationStatement:medication</code>\n </li>\n </ul>\n <p>A server <strong>SHALL</strong> be capable of returning all medications for a patient for an encounter using:</p>\n <ul>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&context=[id]</code>\n </li>\n <li>\n <code class=\"highlighter-rouge\">GET /MedicationStatement?patient=[id]&context=[id]&_include=MedicationStatement:medication</code>\n </li>\n </ul>\n <p>Search Parameters:</p>\n <table class=\"grid\">\n <thead>\n <tr>\n <th>Conformance</th>\n <th>Parameter</th>\n <th>Type</th>\n <th>_include (see documentation)</th>\n <th>Modifiers</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <strong>SHALL</strong>\n </td>\n <td>patient</td>\n <td>reference</td>\n <td>MedicationStatement:medication</td>\n <td> </td>\n </tr>\n <tr>\n <td>\n <strong>SHALL</strong>\n </td>\n <td>patient + status</td>\n <td>reference + token</td>\n <td>MedicationStatement:medication</td>\n <td> </td>\n </tr>\n <tr>\n <td>\n <strong>SHALL</strong>\n </td>\n <td>patient + context</td>\n <td>reference</td>\n <td>MedicationStatement:medication</td>\n <td> </td>\n </tr>\n </tbody>\n </table>\n <p>\n <br/>\n </p>\n </div>" ]; fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/us/meds/CapabilityStatement/server"]; fhir:CapabilityStatement.version [ fhir:value "1.1.0"]; fhir:CapabilityStatement.name [ fhir:value "US Meds Server"]; fhir:CapabilityStatement.status [ fhir:value "draft"]; fhir:CapabilityStatement.date [ fhir:value "2017-03-08T00:00:00+11:00"^^xsd:dateTime]; fhir:CapabilityStatement.publisher [ fhir:value "Health Level Seven International Pharmacy Work Group"]; fhir:CapabilityStatement.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "other" ]; fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/medication/index.cfm" ] ] ]; fhir:CapabilityStatement.description [ fhir:value "This resource defines the expected capabilities of the US Meds Server actor when conforming to the US Meds IG and It is expected that it will be used in conjuction with the US Core CapabilityStatement. Together they describe the complete list of actual profiles, RESTful operations, and search parameters supported by US Meds Servers. US Meds Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements."]; fhir:CapabilityStatement.kind [ fhir:value "requirements"]; fhir:CapabilityStatement.fhirVersion [ fhir:value "3.0.0"]; fhir:CapabilityStatement.format [ fhir:value "xml"; fhir:index 0 ], [ fhir:value "json"; fhir:index 1 ]; fhir:CapabilityStatement.rest [ fhir:index 0; fhir:CapabilityStatement.rest.mode [ fhir:value "server" ]; fhir:CapabilityStatement.rest.resource [ fhir:index 0; fhir:CapabilityStatement.rest.resource.type [ fhir:value "Medication" ]; fhir:CapabilityStatement.rest.resource.interaction [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows discovery of existing US Core Medication resources using different search criteria." ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows retrieval of a specific US Core Medication by id" ] ], [ fhir:index 2; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes to US Core Medication instance over time" ] ], [ fhir:index 3; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a historical version of a US Core Medication instance" ] ] ], [ fhir:index 1; fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationAdministration" ]; fhir:CapabilityStatement.rest.resource.interaction [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows discovery of existing US Core medicationadmnistration resources using different search criteria" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific US Core medicationadmnistration by id" ] ], [ fhir:index 2; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes to US Core medicationadmnistration instance over time" ] ], [ fhir:index 3; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a historical version of a US Core medicationadmnistration instance" ] ]; fhir:CapabilityStatement.rest.resource.searchInclude [ fhir:value "MedicationAdministration:medication"; fhir:index 0 ]; fhir:CapabilityStatement.rest.resource.searchParam [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationAdministration-Patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ] ], [ fhir:index 2; fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationDispense" ]; fhir:CapabilityStatement.rest.resource.interaction [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows discovery of existing US Core medicationdispense resources using different search criteria" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific US Core medicationdispense by id" ] ], [ fhir:index 2; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes to US Core medicationdispense instance over time" ] ], [ fhir:index 3; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a historical version of a US Core medicationdispense instance" ] ]; fhir:CapabilityStatement.rest.resource.searchInclude [ fhir:value "MedicationDispense:medication"; fhir:index 0 ]; fhir:CapabilityStatement.rest.resource.searchParam [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationDispense-Patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ] ], [ fhir:index 3; fhir:Element.extension [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "required" ]; fhir:Extension.valueString [ fhir:value "patient" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "required" ]; fhir:Extension.valueString [ fhir:value "status" ] ]; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ] ]; fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationRequest" ]; fhir:CapabilityStatement.rest.resource.interaction [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows discovery of existing US Core medicationrequest resources using different search criteria" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific US Core medicationrequest by id" ] ], [ fhir:index 2; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes to US Core medicationrequest instance over time" ] ], [ fhir:index 3; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a historical version of a US Core medicationrequest instance" ] ]; fhir:CapabilityStatement.rest.resource.searchInclude [ fhir:value "MedicationRequest:medication"; fhir:index 0 ]; fhir:CapabilityStatement.rest.resource.searchParam [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationRequest-Patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationRequest-Status" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ] ], [ fhir:index 4; fhir:Element.extension [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "required" ]; fhir:Extension.valueString [ fhir:value "patient" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "required" ]; fhir:Extension.valueString [ fhir:value "status" ] ]; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "required" ]; fhir:Extension.valueString [ fhir:value "patient" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "required" ]; fhir:Extension.valueString [ fhir:value "context" ] ]; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" ] ]; fhir:CapabilityStatement.rest.resource.type [ fhir:value "MedicationStatement" ]; fhir:CapabilityStatement.rest.resource.interaction [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows discovery of existing US Core medicationstatement resources using different search criteria" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a specific US Core medicationstatement by id" ] ], [ fhir:index 2; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows review of changes to US Core medicationstatement instance over time" ] ], [ fhir:index 3; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHOULD" ] ]; fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]; fhir:CapabilityStatement.rest.resource.interaction.documentation [ fhir:value "Allows retrieval of a historical version of a US Core medicationstatement instance" ] ]; fhir:CapabilityStatement.rest.resource.searchInclude [ fhir:value "MedicationStatement:medication"; fhir:index 0 ]; fhir:CapabilityStatement.rest.resource.searchParam [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationStatement-Patient" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationStatement-Status" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ] ], [ fhir:index 2; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "SHALL" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "context" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationStatement-Context" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ], [ fhir:index 3; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ]; fhir:Extension.valueCode [ fhir:value "MAY" ] ]; fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ]; fhir:CapabilityStatement.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/MedicationStatement-Category" ]; fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ] ] ] ]. # - ontology header ------------------------------------------------------------ a owl:Ontology; owl:imports fhir:fhir.ttl.