Standardized Medication Profile (SMP) FHIR IG
1.0.0 - STU 1 United States of America flag

This page is part of the US Standardized Medication Profile (SMP) (v1.0.0: STU1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: SMP Operation Retrieve - 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:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "smp-operation-retrieve"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition smp-operation-retrieve</b></p><a name=\"smp-operation-retrieve\"> </a><a name=\"hcsmp-operation-retrieve\"> </a><a name=\"smp-operation-retrieve-en-US\"> </a><p>URL: [base]/$smp-query</p><p>Input parameters Profile:<a href=\"StructureDefinition-smp-parameters-query.html\">SMP Parameters - Query</a></p><p>Output parameters Profile:<a href=\"StructureDefinition-smp-parameters-response.html\">SMP Parameters - Response</a></p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>patient</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a> (<a href=\"http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-patient.html\" title=\"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient\">US Core Patient Profile</a>)</td><td/><td><div><p>The patient whose medication history is desired</p>\n</div></td></tr><tr><td>IN</td><td>list-type</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td/><td><div><p>Optional parameter to define the type of medication list to be retrieved</p>\n</div></td></tr><tr><td>OUT</td><td>smp-medication-data</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a> (<a href=\"StructureDefinition-smp-bundle.html\" title=\"http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle\">Standardized Medication Profile - Bundle Medication List</a>)</td><td/><td><div><p>A Bundle of type 'collection' that contains medication  information for the requested patient (if found)</p>\n</div></td></tr><tr><td>OUT</td><td>outcome</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>An OperationOutcome resource containing processing information associated with the operation response, including error, warning and/or informational information</p>\n</div></td></tr></table></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/OperationDefinition/smp-operation-retrieve"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "SMPOperationRetrieve"] ; # 
  fhir:title [ fhir:v "SMP Operation Retrieve"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2025-01-07T00:00:00-05: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 "Optional operation to request an individual patient's medication history"] ; # 
  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:affectsState [ fhir:v false] ; # 
  fhir:code [ fhir:v "smp-query"] ; # 
  fhir:system [ fhir:v true] ; # 
  fhir:type [ fhir:v false] ; # 
  fhir:instance [ fhir:v false] ; # 
  fhir:inputProfile [
fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-query"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-query>
  ] ; # 
  fhir:outputProfile [
fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-response"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-response>
  ] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "patient" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "The patient whose medication history is desired" ] ;
fhir:type [ fhir:v "Patient" ] ;
    ( fhir:targetProfile [
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:name [ fhir:v "list-type" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Optional parameter to define the type of medication list to be retrieved" ] ;
fhir:type [ fhir:v "CodeableConcept" ]
  ] [
fhir:name [ fhir:v "smp-medication-data" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "A Bundle of type 'collection' that contains medication  information for the requested patient (if found)" ] ;
fhir:type [ fhir:v "Bundle" ] ;
    ( fhir:targetProfile [
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:name [ fhir:v "outcome" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "An OperationOutcome resource containing processing information associated with the operation response, including error, warning and/or informational information" ] ;
fhir:type [ fhir:v "OperationOutcome" ]
  ] ) . #