createEpisodeOfCare
Create and manage a patient's episode of care, specifying the patient ID, status, and optionally, the managing organization, using Medplum's MCP Server for healthcare data operations.
Instructions
Creates a new episode of care for a patient. Requires patient ID and status.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
managingOrganizationId | No | The ID of the organization managing this episode. Optional. | |
patientId | Yes | The ID of the patient this episode of care is for. | |
status | Yes | The status of the episode of care. |
Input Schema (JSON Schema)
{
"properties": {
"managingOrganizationId": {
"description": "The ID of the organization managing this episode. Optional.",
"type": "string"
},
"patientId": {
"description": "The ID of the patient this episode of care is for.",
"type": "string"
},
"status": {
"description": "The status of the episode of care.",
"enum": [
"planned",
"waitlist",
"active",
"onhold",
"finished",
"cancelled",
"entered-in-error"
],
"type": "string"
}
},
"required": [
"patientId",
"status"
],
"type": "object"
}