This page is part of the US Prescription Drug Monitoring Program (PDMP) (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions
Active as of 2024-04-01 |
{
"resourceType" : "OperationDefinition",
"id" : "pdmp-history",
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>URL: [base]/$pdmp-history</p><p>Input parameters Profile: <a href=\"StructureDefinition-pdmp-parameters-request.html\">PDMP Parameters - Request</a></p><p>Output parameters Profile: <a href=\"StructureDefinition-pdmp-parameters-response.html\">PDMP Parameters - Response</a></p><p>Parameters</p><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></td><td/><td><div><p>The patient whose PDMP history is desired</p>\n</div></td></tr><tr><td>IN</td><td>animal-owner</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/relatedperson.html\">RelatedPerson</a></td><td/><td><div><p>If the patient is an animal, this parameter reflects its owner's information</p>\n</div></td></tr><tr><td>IN</td><td>authorized-practitioner</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/practitioner.html\">Practitioner</a></td><td/><td><div><p>The Practitioner resource reflecting the provider who is authorized to view the returned PDMP information</p>\n</div></td></tr><tr><td>IN</td><td>authorized-practitioner-role</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/practitionerrole.html\">PractitionerRole</a></td><td/><td><div><p>The PractitionerRole resource reflecting the authorized provider's practice information</p>\n</div></td></tr><tr><td>IN</td><td>authorized-practitioner-organization</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a></td><td/><td><div><p>An Organization resource reflecting the authorized provider's organization</p>\n</div></td></tr><tr><td>IN</td><td>delegate-practitioner</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/practitioner.html\">Practitioner</a></td><td/><td><div><p>A Practitioner resource reflecting a provider who is requesting the PDMP information on behalf of another party</p>\n</div></td></tr><tr><td>IN</td><td>delegate-practitioner-role</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/practitionerrole.html\">PractitionerRole</a></td><td/><td><div><p>A PractitionerRole resource reflecting the delegate's practice information</p>\n</div></td></tr><tr><td>IN</td><td>delegate-organization</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a></td><td/><td><div><p>An Organization resource reflecting the delegate's organization</p>\n</div></td></tr><tr><td>IN</td><td>pre-stage-only</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td/><td><div><p>Indicates that the PDMP Responder is expected to gather the requested information and stage it for future retrieval (via a subsequent invocation of this operation)</p>\n</div></td></tr><tr><td>IN</td><td>pre-stage-retrieval-key</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>The pre-stage-retrieval-key returned from a previous operation call in which the pre-stage-only parameter was set to true</p>\n</div></td></tr><tr><td>OUT</td><td>pdmp-history-data</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>A Bundle of type 'collection' that contains medication dispensation and administration information for the requested patient (if found)</p>\n</div></td></tr><tr><td>OUT</td><td>pdmp-history-link</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#url\">url</a></td><td/><td><div><p>A url to access an external report containing a PDMP history for the requested patient</p>\n</div></td></tr><tr><td>OUT</td><td>pre-stage-retrieval-key</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>This parameter is used only when responding to an invocation in which the pre-stage-only parameter was set to true. This element may be populated with a string value that the requester is to submit in the pre-stage-retrieval-key parameter of the subsequent invocation that retrieves the staged information</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>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "phx"
}
],
"url" : "http://hl7.org/fhir/us/pdmp/OperationDefinition/pdmp-history",
"version" : "1.0.0-ballot",
"name" : "PdmpOperationGetPdmpHistory",
"title" : "PDMP Operation PDMP History",
"status" : "active",
"kind" : "operation",
"date" : "2024-04-01T00:00:00-05:00",
"publisher" : "HL7 International / Pharmacy",
"contact" : [
{
"name" : "HL7 International / Pharmacy",
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/medication"
}
]
},
{
"name" : "Frank McKinney",
"telecom" : [
{
"system" : "email",
"value" : "frank.mckinney@pocp.com"
},
{
"system" : "email",
"value" : "fm@frankmckinney.com"
}
]
},
{
"name" : "Scott Robertson",
"telecom" : [
{
"system" : "email",
"value" : "scott.robertson@pocp.com"
},
{
"system" : "email",
"value" : "scott@BearHealthTech.consulting"
}
]
}
],
"description" : "Operation returning an individual patient's PDMP history",
"jurisdiction" : [
{
"coding" : [
{
"system" : "urn:iso:std:iso:3166",
"code" : "US",
"display" : "United States of America"
}
]
}
],
"affectsState" : false,
"code" : "pdmp-history",
"system" : true,
"type" : false,
"instance" : false,
"inputProfile" : "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-request",
"outputProfile" : "http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-response",
"parameter" : [
{
"name" : "patient",
"use" : "in",
"min" : 1,
"max" : "1",
"documentation" : "The patient whose PDMP history is desired",
"type" : "Patient"
},
{
"name" : "animal-owner",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "If the patient is an animal, this parameter reflects its owner's information",
"type" : "RelatedPerson"
},
{
"name" : "authorized-practitioner",
"use" : "in",
"min" : 1,
"max" : "1",
"documentation" : "The Practitioner resource reflecting the provider who is authorized to view the returned PDMP information",
"type" : "Practitioner"
},
{
"name" : "authorized-practitioner-role",
"use" : "in",
"min" : 1,
"max" : "1",
"documentation" : "The PractitionerRole resource reflecting the authorized provider's practice information",
"type" : "PractitionerRole"
},
{
"name" : "authorized-practitioner-organization",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "An Organization resource reflecting the authorized provider's organization",
"type" : "Organization"
},
{
"name" : "delegate-practitioner",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "A Practitioner resource reflecting a provider who is requesting the PDMP information on behalf of another party",
"type" : "Practitioner"
},
{
"name" : "delegate-practitioner-role",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "A PractitionerRole resource reflecting the delegate's practice information",
"type" : "PractitionerRole"
},
{
"name" : "delegate-organization",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "An Organization resource reflecting the delegate's organization",
"type" : "Organization"
},
{
"name" : "pre-stage-only",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "Indicates that the PDMP Responder is expected to gather the requested information and stage it for future retrieval (via a subsequent invocation of this operation)",
"type" : "boolean"
},
{
"name" : "pre-stage-retrieval-key",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "The pre-stage-retrieval-key returned from a previous operation call in which the pre-stage-only parameter was set to true",
"type" : "string"
},
{
"name" : "pdmp-history-data",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "A Bundle of type 'collection' that contains medication dispensation and administration information for the requested patient (if found)",
"type" : "Bundle"
},
{
"name" : "pdmp-history-link",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "A url to access an external report containing a PDMP history for the requested patient",
"type" : "url"
},
{
"name" : "pre-stage-retrieval-key",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "This parameter is used only when responding to an invocation in which the pre-stage-only parameter was set to true. This element may be populated with a string value that the requester is to submit in the pre-stage-retrieval-key parameter of the subsequent invocation that retrieves the staged information",
"type" : "string"
},
{
"name" : "outcome",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "An OperationOutcome resource containing processing information associated with the operation response, including error, warning and/or informational information",
"type" : "OperationOutcome"
}
]
}