Medicines Data Repository Implementation Guide
0.1.0 - ci-build

Medicines Data Repository Implementation Guide, published by Te Whatu Ora. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7NZ/mdr/ and changes regularly. See the Directory of published versions

: Medicines Data Repository FHIR Server - TTL Representation

Draft as of 2022-09-01

Raw ttl | Download

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

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

 a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ProviderCapabilityStatement"] ; # 
  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 ProviderCapabilityStatement</b></p><a name=\"ProviderCapabilityStatement\"> </a><a name=\"hcProviderCapabilityStatement\"> </a><a name=\"ProviderCapabilityStatement-en-US\"> </a><h2 id=\"title\">Medicines Data Repository FHIR Server</h2><ul><li>Implementation Guide Version: 0.1.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>application/fhir+json</code></li><li>Supported Patch Formats: </li><li>Published on: 2022-09-01 20:26:40+0000 </li><li>Published by: Te Whatu Ora </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>Security</em></div><div class=\"row\"><div class=\"col-lg-6\">Enable CORS: no</div><div class=\"col-lg-6\">Security services supported: <code>OAuth</code></div></div><blockquote><div><p>Supports OAuth 2.0 - Client Credential flow. [OAuth token endpoint] (https://login.microsoftonline.com/7a71250a-e506-4080-8e6a-ae1e8a771e22/oauth2/v2.0/token)</p>\n</div></blockquote><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=\"#MedicationRequest1-1\">MedicationRequest</a></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">http://hl7.org/fhir/StructureDefinition/MedicationRequest</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>_id, identifier, _lastUpdated, _security, code, status, authoredon, patient, requester, location</td><td/><td><code>Observation:based-on</code>, <code>MedicationDispense:prescription</code></td><td/></tr><tr><td><a href=\"#MedicationDispense1-2\">MedicationDispense</a></td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html\">http://hl7.org/fhir/StructureDefinition/MedicationDispense</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>_id, identifier, _lastUpdated, _security, code, patient, location, whenprepared, whenhandedover, status</td><td><code>MedicationDispense:prescription</code></td><td/><td/></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"MedicationRequest1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>MedicationRequest</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>literal</code>, <code>local</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>.</li></ul></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/resource.html#search\">_id</a></td><td><code>token</code></td><td><div><p>Logical id of this artifact</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">identifier</a></td><td><code>token</code></td><td><div><p>Return prescriptions with this external identifier (SCID Item Identifier)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_lastUpdated</a></td><td><code>date</code></td><td><div><p>When the resource version last changed</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_security</a></td><td><code>token</code></td><td><div><p>Security Labels applied to this resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">code</a></td><td><code>token</code></td><td><div><p>Return prescriptions of this medication code (NZULM)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">status</a></td><td><code>token</code></td><td><div><p>Status of the prescription</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">authoredon</a></td><td><code>date</code></td><td><div><p>Return prescriptions written on this date</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">patient</a></td><td><code>reference</code></td><td><div><p>Returns prescriptions for a specific patient (NHI)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationrequest.html#search\">requester</a></td><td><code>reference</code></td><td><div><p>Returns prescriptions prescribed by this prescriber (CPN)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>location</td><td><code>reference</code></td><td><div><p>Returns prescriptions prescribed at the facility (HPI Facility ID)</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"> </div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"MedicationDispense1-2\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>MedicationDispense</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"http://hl7.org/fhir/R4/medicationdispense.html\">MedicationDispense</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/><code>literal</code>, <code>local</code></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>.</li></ul></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/resource.html#search\">_id</a></td><td><code>token</code></td><td><div><p>Logical id of this artifact</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html#search\">identifier</a></td><td><code>token</code></td><td><div><p>Returns dispenses with this external identifier (SCID Item Identifier)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_lastUpdated</a></td><td><code>date</code></td><td><div><p>When the resource version last changed</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/resource.html#search\">_security</a></td><td><code>token</code></td><td><div><p>Security Labels applied to this resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html#search\">code</a></td><td><code>token</code></td><td><div><p>Returns dispenses of this medicine code (NZULM)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html#search\">patient</a></td><td><code>reference</code></td><td><div><p>The identity of a patient to list dispenses  for (NHI)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>location</td><td><code>reference</code></td><td><div><p>Returns dispenses performed at the principal physical location (HPI Facility ID)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html#search\">whenprepared</a></td><td><code>date</code></td><td><div><p>Returns dispenses prepared on this date</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html#search\">whenhandedover</a></td><td><code>date</code></td><td><div><p>Returns dispenses handed over on this date</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"http://hl7.org/fhir/R4/medicationdispense.html#search\">status</a></td><td><code>token</code></td><td><div><p>Returns dispenses with a specified dispense status</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\"> </div></div></div></div></div></div>"
  ] ; # 
  fhir:url [ fhir:v "https://apibroker.whanautahi.com/mdr/fhir/metadata"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "NZ_MDR"] ; # 
  fhir:title [ fhir:v "Medicines Data Repository FHIR Server"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2022-09-01T20:26:40.8906669Z"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Te Whatu Ora"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Te Whatu Ora" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://tewhatuora.govt.nz" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mailto:integration@health.govt.nz" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "MDR Capability Statement"] ; # 
  fhir:kind [ fhir:v "capability"] ; # 
  fhir:software [
fhir:name [ fhir:v "Medicines Data Repository FHIR Proxy API" ] ;
fhir:version [ fhir:v "1.0.0.0" ]
  ] ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:format ( [ fhir:v "application/fhir+json"] ) ; # 
  fhir:rest ( [
fhir:mode [ fhir:v "server" ] ;
fhir:security [
      ( fhir:service [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/restful-security-service"^^xsd:anyURI ] ;
fhir:code [ fhir:v "OAuth" ]         ] )       ] ) ;
fhir:description [ fhir:v "Supports OAuth 2.0 - Client Credential flow. [OAuth token endpoint] (https://login.microsoftonline.com/7a71250a-e506-4080-8e6a-ae1e8a771e22/oauth2/v2.0/token)" ]     ] ;
    ( fhir:resource [
fhir:type [ fhir:v "MedicationRequest" ] ;
fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest>       ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ]       ] ) ;
fhir:versioning [ fhir:v "no-version" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] [ fhir:v "local" ] ) ;
      ( fhir:searchRevInclude [ fhir:v "Observation:based-on" ] [ fhir:v "MedicationDispense:prescription" ] ) ;
      ( fhir:searchParam [
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Logical id of this artifact" ]       ] [
fhir:name [ fhir:v "identifier" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-identifier"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Return prescriptions with this external identifier (SCID Item Identifier)" ]       ] [
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "When the resource version last changed" ]       ] [
fhir:name [ fhir:v "_security" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-security"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-security>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Security Labels applied to this resource" ]       ] [
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 "Return prescriptions of this medication code (NZULM)" ]       ] [
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/medications-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/medications-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Status of the prescription" ]       ] [
fhir:name [ fhir:v "authoredon" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Return prescriptions written on this date" ]       ] [
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Returns prescriptions for a specific patient (NHI)" ]       ] [
fhir:name [ fhir:v "requester" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/MedicationRequest-requester"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/MedicationRequest-requester>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Returns prescriptions prescribed by this prescriber (CPN)" ]       ] [
fhir:name [ fhir:v "location" ] ;
fhir:definition [
fhir:v "https://apibroker.whanautahi.com/mdr/fhir/SearchParameter/MedicationRequest-location"^^xsd:anyURI ;
fhir:link <https://apibroker.whanautahi.com/mdr/fhir/SearchParameter/MedicationRequest-location>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Returns prescriptions prescribed at the facility (HPI Facility ID)" ]       ] )     ] [
fhir:type [ fhir:v "MedicationDispense" ] ;
fhir:profile [
fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationDispense"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationDispense>       ] ;
      ( fhir:interaction [
fhir:code [ fhir:v "read" ]       ] ) ;
fhir:versioning [ fhir:v "no-version" ] ;
fhir:readHistory [ fhir:v "false"^^xsd:boolean ] ;
fhir:updateCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalCreate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalRead [ fhir:v "not-supported" ] ;
fhir:conditionalUpdate [ fhir:v "false"^^xsd:boolean ] ;
fhir:conditionalDelete [ fhir:v "not-supported" ] ;
      ( fhir:referencePolicy [ fhir:v "literal" ] [ fhir:v "local" ] ) ;
      ( fhir:searchInclude [ fhir:v "MedicationDispense:prescription" ] ) ;
      ( fhir:searchParam [
fhir:name [ fhir:v "_id" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-id"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-id>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Logical id of this artifact" ]       ] [
fhir:name [ fhir:v "identifier" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-identifier"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-identifier>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Returns dispenses with this external identifier (SCID Item Identifier)" ]       ] [
fhir:name [ fhir:v "_lastUpdated" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-lastUpdated"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-lastUpdated>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "When the resource version last changed" ]       ] [
fhir:name [ fhir:v "_security" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/Resource-security"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/Resource-security>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Security Labels applied to this resource" ]       ] [
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 "Returns dispenses of this medicine code (NZULM)" ]       ] [
fhir:name [ fhir:v "patient" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/clinical-patient"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/clinical-patient>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "The identity of a patient to list dispenses  for (NHI)" ]       ] [
fhir:name [ fhir:v "location" ] ;
fhir:definition [
fhir:v "https://apibroker.whanautahi.com/mdr/fhir/SearchParameter/MedicationDispense-location"^^xsd:anyURI ;
fhir:link <https://apibroker.whanautahi.com/mdr/fhir/SearchParameter/MedicationDispense-location>         ] ;
fhir:type [ fhir:v "reference" ] ;
fhir:documentation [ fhir:v "Returns dispenses performed at the principal physical location (HPI Facility ID)" ]       ] [
fhir:name [ fhir:v "whenprepared" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/MedicationDispense-whenprepared"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/MedicationDispense-whenprepared>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Returns dispenses prepared on this date" ]       ] [
fhir:name [ fhir:v "whenhandedover" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover>         ] ;
fhir:type [ fhir:v "date" ] ;
fhir:documentation [ fhir:v "Returns dispenses handed over on this date" ]       ] [
fhir:name [ fhir:v "status" ] ;
fhir:definition [
fhir:v "http://hl7.org/fhir/SearchParameter/medications-status"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/SearchParameter/medications-status>         ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "Returns dispenses with a specified dispense status" ]       ] )     ] ) ;
    ( fhir:searchParam [
fhir:name [ fhir:v "_count" ] ;
fhir:type [ fhir:v "number" ] ;
fhir:documentation [ fhir:v "How many resources to return" ]     ] [
fhir:name [ fhir:v "_sort" ] ;
fhir:type [ fhir:v "token" ] ;
fhir:documentation [ fhir:v "How to sort the resources when returning" ]     ] [
fhir:name [ fhir:v "_total" ] ;
fhir:type [ fhir:v "number" ] ;
fhir:documentation [ fhir:v "Include number of resources that match the search parameters; Only Partial support available (_total=none and _total=accurate)" ]     ] [
fhir:name [ fhir:v "_elements" ] ;
fhir:type [ fhir:v "string" ] ;
fhir:documentation [ fhir:v "What kind of information to return" ]     ] )
  ] ) . #