{ "description": "Optional operation to request an individual patient's medication history", "_filename": "OperationDefinition-smp-operation-retrieve.json", "package_name": "rs/hl7.fhir.us.smp", "date": "2025-01-07T00:00:00-05:00", "system": true, "publisher": "HL7 International / Pharmacy", "instance": false, "jurisdiction": [ { "coding": [ { "code": "US", "system": "urn:iso:std:iso:3166", "display": "United States of America" } ] } ], "name": "SMPOperationRetrieve", "type": "false", "experimental": null, "outputProfile": "http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-response", "resourceType": "OperationDefinition", "title": "SMP Operation Retrieve", "package_version": "1.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "phx" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1, "_valueInteger": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/us/smp/ImplementationGuide/hl7.fhir.us.smp" } ] } }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use", "_valueCode": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/us/smp/ImplementationGuide/hl7.fhir.us.smp" } ] } } ], "status": "active", "id": "10278207-60e3-4c38-b78a-a73113b38f8d", "affectsState": false, "kind": "operation", "url": "http://hl7.org/fhir/us/smp/OperationDefinition/smp-operation-retrieve", "code": "smp-query", "version": "1.0.0", "contact": [ { "name": "HL7 International / Pharmacy", "telecom": [ { "value": "http://www.hl7.org/Special/committees/medication", "system": "url" }, { "value": "pharmacylists@lists.hl7.org", "system": "email" } ] }, { "name": "Andy Stechishin", "telecom": [ { "value": "mailto:andy.stechishin@gmail.com", "system": "email" } ] } ], "inputProfile": "http://hl7.org/fhir/us/smp/StructureDefinition/smp-parameters-query", "parameter": [ { "max": "1", "min": 1, "use": "in", "name": "patient", "type": "Patient", "documentation": "The patient whose medication history is desired", "targetProfile": [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" ] }, { "max": "1", "min": 0, "use": "in", "name": "list-type", "type": "CodeableConcept", "documentation": "Optional parameter to define the type of medication list to be retrieved" }, { "max": "1", "min": 0, "use": "out", "name": "smp-medication-data", "type": "Bundle", "documentation": "A Bundle of type 'collection' that contains medication information for the requested patient (if found)", "targetProfile": [ "http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle" ] }, { "max": "1", "min": 0, "use": "out", "name": "outcome", "type": "OperationOutcome", "documentation": "An OperationOutcome resource containing processing information associated with the operation response, including error, warning and/or informational information" } ] }