createMedicationRequest
Generate medication requests (prescriptions) by specifying patient ID, medication reference, prescriber, status, and intent using the Medplum MCP Server.
Instructions
Creates a new medication request (prescription). Requires patient ID, medication reference, and prescriber.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
intent | Yes | The intent of the medication request. | |
medicationReference | Yes | Reference to the medication being prescribed. | |
patientId | Yes | The ID of the patient this prescription is for. | |
practitionerId | Yes | The ID of the practitioner prescribing the medication. | |
status | Yes | The status of the medication request. |
Input Schema (JSON Schema)
{
"properties": {
"intent": {
"description": "The intent of the medication request.",
"enum": [
"proposal",
"plan",
"order",
"original-order",
"reflex-order",
"filler-order",
"instance-order",
"option"
],
"type": "string"
},
"medicationReference": {
"description": "Reference to the medication being prescribed.",
"type": "string"
},
"patientId": {
"description": "The ID of the patient this prescription is for.",
"type": "string"
},
"practitionerId": {
"description": "The ID of the practitioner prescribing the medication.",
"type": "string"
},
"status": {
"description": "The status of the medication request.",
"enum": [
"active",
"on-hold",
"cancelled",
"completed",
"entered-in-error",
"stopped",
"draft",
"unknown"
],
"type": "string"
}
},
"required": [
"patientId",
"medicationReference",
"practitionerId",
"status",
"intent"
],
"type": "object"
}