Standardized Medication Profile (SMP) FHIR IG
1.0.0 - STU 1

Standardized Medication Profile (SMP) FHIR IG, published by HL7 International / Pharmacy. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/smp-ig/ and changes regularly. See the Directory of published versions

## : smp-server - TTL Representation

Page standards status: Trial-use | Maturity Level: 1

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:CapabilityStatement ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "smp-server"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CapabilityStatement smp-server</b></p><a name=\"smp-server\"> </a><a name=\"hcsmp-server\"> </a><a name=\"smp-server-en-US\"> </a><h2 id=\"title\"/><ul><li>Implementation Guide Version: 1.0.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <strong>SHALL</strong> support <code>json</code>, <strong>SHOULD</strong> support <code>xml</code></li><li>Supported Patch Formats: </li><li>Published on: 2024-04-29 00:00:00-0600 </li><li>Published by: HL7 International / Pharmacy </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h2 id=\"rest\">FHIR RESTful Capabilities</h2><div class=\"panel panel-default\"><div class=\"panel-heading\"><h3 id=\"mode1\" class=\"panel-title\">Mode: <code>server</code></h3></div><div class=\"panel-body\"><div class=\"lead\"><em>Summary of System-wide Interactions</em></div></div></div><h3 id=\"resourcesCap1\">Capabilities by Resource/Profile</h3><h4 id=\"resourcesSummary1\">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class=\"bg-info\">R</span></b>ead, <b><span class=\"bg-info\">S</span></b>earch, <b><span class=\"bg-info\">U</span></b>pdate, and <b><span class=\"bg-info\">C</span></b>reate, are always shown, while <b><span class=\"bg-info\">VR</span></b>ead, <b><span class=\"bg-info\">P</span></b>atch, <b><span class=\"bg-info\">D</span></b>elete, <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">I</span></b>nstance, or <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class=\"table-responsive\"><table class=\"table table-condensed table-hover\"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class=\"text-center\"><b title=\"GET a resource (read interaction)\">R</b></th><th class=\"text-center\"><b title=\"GET all set of resources of the type (search interaction)\">S</b></th><th class=\"text-center\"><b title=\"PUT a new resource version (update interaction)\">U</b></th><th class=\"text-center\"><b title=\"POST a new resource (create interaction)\">C</b></th><th><b title=\"Required and recommended search parameters\">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href=\"#List1-1\">List</a></td><td>Supported Profiles<br/>  <a href=\"StructureDefinition-smp-medication-list.html\">Standardized Medication Profile - Medication List</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td>patient, code</td><td/><td/><td><code>$smp-query</code>, <code>$smp-submit</code></td></tr><tr><td><a href=\"#MedicationStatement1-2\">MedicationStatement</a></td><td>Supported Profiles<br/>  <a href=\"StructureDefinition-smp-medicationstatement.html\">Standardized Medication Profile - MedicationStatement</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td></td><td/><td/><td/></tr><tr><td><a href=\"#Medication1-3\">Medication</a></td><td>Supported Profiles<br/>  <a href=\"StructureDefinition-smp-medication.html\">Standardized Medication Profile - Medication</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td></td><td/><td/><td/></tr><tr><td><a href=\"#MedicationRequest1-4\">MedicationRequest</a></td><td>Supported Profiles<br/>  <a href=\"http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td></td><td/><td/><td/></tr><tr><td><a href=\"#MedicationAdministration1-5\">MedicationAdministration</a></td><td>Supported Profiles<br/>  <a href=\"StructureDefinition-smp-medicationadministration.html\">Standardized Medication Profile - MedicationAdministration</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td></td><td/><td/><td/></tr><tr><td><a href=\"#Patient1-6\">Patient</a></td><td>Supported Profiles<br/>  <a href=\"http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td/><td/><td/></tr><tr><td><a href=\"#Bundle1-7\">Bundle</a></td><td>Supported Profiles<br/>  <a href=\"StructureDefinition-smp-bundle.html\">Standardized Medication Profile - Bundle Medication List</a><br/>  <a href=\"StructureDefinition-smp-bundle-transaction.html\">Standardized Medication Profile - Bundle Medication List Maintenance</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td></td><td/><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"List1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHALL </span>List</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/list.html\">List</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <br/><code>read</code><div><p>Allows retrieval of medication list for the various point in time information.</p>\n</div></li><li><strong>SHOULD</strong> support <br/><code>update</code><div><p>Allows for the maintenance of the medication lists.</p>\n</div><code>create</code><div><p>Allows for the creation of a medication list.</p>\n</div></li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-smp-medication-list.html\">Standardized Medication Profile - Medication List</a></p></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/list.html#search\">patient</a></td><td><code>reference</code></td><td><div><p>Allows retrieving medication lists for the patient</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/list.html#search\">code</a></td><td><code>token</code></td><td><div><p>Allows retrieving specific kinds of medication lists for the patient</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"> </div></div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>MAY</b></td><td><a href=\"OperationDefinition-smp-operation-retrieve.html\">$smp-query</a></td><td><div><p>Operation used to retrieve individual patient's medication history</p>\n</div></td></tr><tr><td><b>MAY</b></td><td><a href=\"OperationDefinition-smp-operation-submit.html\">$smp-submit</a></td><td><div><p>Operation used to submit individual patient's medication list for storage</p>\n</div></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"MedicationStatement1-2\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHALL </span>MedicationStatement</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/medicationstatement.html\">MedicationStatement</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <br/><code>read</code><div><p>Allows retrieval of medication details.</p>\n</div></li><li><strong>SHOULD</strong> support <br/><code>update</code><div><p>Allows for the maintenance of the medication details.</p>\n</div><code>create</code><div><p>Allows for the creation of a medication details. (Mandatory if creation of Medication lists enabled.)</p>\n</div></li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-smp-medicationstatement.html\">Standardized Medication Profile - MedicationStatement</a></p></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Medication1-3\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>Medication</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/medication.html\">Medication</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHOULD</strong> support <br/><code>read</code><div><p>Allows retrieval medication details</p>\n</div></li><li><strong>MAY</strong> support <br/><code>create</code><div><p>Allows for the creation of a medication.</p>\n</div></li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-smp-medication.html\">Standardized Medication Profile - Medication</a></p></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"MedicationRequest1-4\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>MedicationRequest</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHOULD</strong> support <br/><code>read</code><div><p>Allows retrieval of .</p>\n</div></li><li><strong>MAY</strong> support <br/><code>create</code><div><p>Allows for the creation of a medication.</p>\n</div><code>update</code><div><p>Allows for the maintenance of a MedicationRequest as required.</p>\n</div></li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-medicationrequest.html\">US Core MedicationRequest Profile</a></p></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"MedicationAdministration1-5\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHOULD </span>MedicationAdministration</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/medicationadministration.html\">MedicationAdministration</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHOULD</strong> support <br/><code>read</code><div><p>Allows retrieval medication details.</p>\n</div></li><li><strong>MAY</strong> support <br/><code>create</code><div><p>Allows for the creation of a medication.</p>\n</div><code>update</code><div><p>Allows for the maintenance of a MedicationAdministration as required.</p>\n</div></li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-smp-medicationadministration.html\">Standardized Medication Profile - MedicationAdministration</a></p></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Patient1-6\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: SHALL </span>Patient</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>SHALL</strong> support <br/><code>read</code><div><p>Required for identification and retrieval of patient medication information</p>\n</div></li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a></p></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Bundle1-7\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: MAY </span>Bundle</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-4\"><span class=\"lead\">Core FHIR Resource</span><br/><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></div><div class=\"col-lg-4\"><span class=\"lead\">Reference Policy</span><br/></div><div class=\"col-lg-4\"><span class=\"lead\">Interaction summary</span><br/><ul><li><strong>MAY</strong> support <br/><code>read</code><div><p>Allows retrieval using extended bundles of a medication list from a repository (if the smp-query operation on List is implemented, the Bundle Medication List profile becomes mandatory).</p>\n</div><code>create</code><div><p>Allows submission of new medication list to a repository (if the smp-submit operation on List is implemented, the Bundle Medication List Maintenance profile becomes mandatory).</p>\n</div></li></ul></div></div><p/><div class=\"row\"><div class=\"col-6\"><span class=\"lead\">Supported Profiles</span><p><a href=\"StructureDefinition-smp-bundle.html\">Standardized Medication Profile - Bundle Medication List</a><br/><a href=\"StructureDefinition-smp-bundle-transaction.html\">Standardized Medication Profile - Bundle Medication List Maintenance</a></p></div></div><p/></div></div></div></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "phx"     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:integer ;
    fhir:v 1 ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://hl7.org/fhir/us/smp/ImplementationGuide/hl7.fhir.us.smp"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/ImplementationGuide/hl7.fhir.us.smp>         ]       ] )     ]
      ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "trial-use" ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://hl7.org/fhir/us/smp/ImplementationGuide/hl7.fhir.us.smp"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/ImplementationGuide/hl7.fhir.us.smp>         ]       ] )     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/us/smp/CapabilityStatement/smp-server"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.0"] ; #
      fhir:name [ fhir:v "SMP_Server"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2024-04-29T00:00:00-06:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 International / Pharmacy"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 International / Pharmacy" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/medication" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "pharmacylists@lists.hl7.org" ]     ] )
      ] [
    fhir:name [ fhir:v "Andy Stechishin" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "mailto:andy.stechishin@gmail.com" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This resource defines the expected capabilities of the SMP Server actor when conforming to the SMP IG and It is expected that it will be used in conjunction with the US Core CapabilityStatement. Together they describe the complete list of actual profiles and RESTful operations supported by SMP servers. SMP Server requirements may also be impacted by the rules of local jurisdictions or other contextual requirements."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "US" ] ;
    fhir:display [ fhir:v "United States of America" ]     ] )
      ] ) ; #
      fhir:kind [ fhir:v "requirements"] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:format ( [
    fhir:v "json" ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"       ]     ] )
      ] [
    fhir:v "xml" ;
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"       ]     ] )
      ] ) ; #
      fhir:rest ( [
    fhir:mode [ fhir:v "server" ] ;
        ( fhir:resource [
    fhir:type [ fhir:v "List" ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list>       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ] ;
    fhir:documentation [ fhir:v "Allows retrieval of medication list for the various point in time information." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:code [ fhir:v "update" ] ;
    fhir:documentation [ fhir:v "Allows for the maintenance of the medication lists." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:code [ fhir:v "create" ] ;
    fhir:documentation [ fhir:v "Allows for the creation of a medication list." ]       ] ) ;
          ( fhir:searchParam [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "patient" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/List-subject"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/List-subject>         ] ;
    fhir:type [ fhir:v "reference" ] ;
    fhir:documentation [ fhir:v "Allows retrieving medication lists for the patient" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:name [ fhir:v "code" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/SearchParameter/clinical-code"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/SearchParameter/clinical-code>         ] ;
    fhir:type [ fhir:v "token" ] ;
    fhir:documentation [ fhir:v "Allows retrieving specific kinds of medication lists for the patient" ]       ] ) ;
          ( fhir:operation [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "smp-query" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/us/smp/OperationDefinition/smp-operation-retrieve"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/OperationDefinition/smp-operation-retrieve>         ] ;
    fhir:documentation [ fhir:v "Operation used to retrieve individual patient's medication history" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:name [ fhir:v "smp-submit" ] ;
    fhir:definition [
    fhir:v "http://hl7.org/fhir/us/smp/OperationDefinition/smp-operation-submit"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/OperationDefinition/smp-operation-submit>         ] ;
    fhir:documentation [ fhir:v "Operation used to submit individual patient's medication list for storage" ]       ] )     ] [
    fhir:type [ fhir:v "MedicationStatement" ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement>       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ] ;
    fhir:documentation [ fhir:v "Allows retrieval of medication details." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:code [ fhir:v "update" ] ;
    fhir:documentation [ fhir:v "Allows for the maintenance of the medication details." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:code [ fhir:v "create" ] ;
    fhir:documentation [ fhir:v "Allows for the creation of a medication details. (Mandatory if creation of Medication lists enabled.)" ]       ] )     ] [
    fhir:type [ fhir:v "Medication" ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication>       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:code [ fhir:v "read" ] ;
    fhir:documentation [ fhir:v "Allows retrieval medication details" ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:code [ fhir:v "create" ] ;
    fhir:documentation [ fhir:v "Allows for the creation of a medication." ]       ] )     ] [
    fhir:type [ fhir:v "MedicationRequest" ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:code [ fhir:v "read" ] ;
    fhir:documentation [ fhir:v "Allows retrieval of ." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:code [ fhir:v "create" ] ;
    fhir:documentation [ fhir:v "Allows for the creation of a medication." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:code [ fhir:v "update" ] ;
    fhir:documentation [ fhir:v "Allows for the maintenance of a MedicationRequest as required." ]       ] )     ] [
    fhir:type [ fhir:v "MedicationAdministration" ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationadministration"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationadministration>       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHOULD"           ]         ] ) ;
    fhir:code [ fhir:v "read" ] ;
    fhir:documentation [ fhir:v "Allows retrieval medication details." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:code [ fhir:v "create" ] ;
    fhir:documentation [ fhir:v "Allows for the creation of a medication." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:code [ fhir:v "update" ] ;
    fhir:documentation [ fhir:v "Allows for the maintenance of a MedicationAdministration as required." ]       ] )     ] [
    fhir:type [ fhir:v "Patient" ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "SHALL"           ]         ] ) ;
    fhir:code [ fhir:v "read" ] ;
    fhir:documentation [ fhir:v "Required for identification and retrieval of patient medication information" ]       ] )     ] [
    fhir:type [ fhir:v "Bundle" ] ;
          ( fhir:supportedProfile [
    fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle>       ] [
    fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle-transaction"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle-transaction>       ] ) ;
          ( fhir:interaction [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:code [ fhir:v "read" ] ;
    fhir:documentation [ fhir:v "Allows retrieval using extended bundles of a medication list from a repository (if the smp-query operation on List is implemented, the Bundle Medication List profile becomes mandatory)." ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "MAY"           ]         ] ) ;
    fhir:code [ fhir:v "create" ] ;
    fhir:documentation [ fhir:v "Allows submission of new medication list to a repository (if the smp-submit operation on List is implemented, the Bundle Medication List Maintenance profile becomes mandatory)." ]       ] )     ] )
      ] ) . #