Electronic Health Records

50 entities and 299 agent-callable operations in ehr. Each operation is addressed as {mega_tool}/ehr/{entity}/{operation} and carries the same permission check over MCP and REST.

allergy

OperationMega-toolWhat it does
createentity_crudRecord a new patient allergy
deleteentity_crudDelete/resolve an allergy record
listentity_crudList patient allergies with filtering
readentity_crudGet detailed allergy information
updateentity_crudUpdate an allergy record

allergy_reaction

OperationMega-toolWhat it does
createentity_crudCreate a new allergy reaction
deleteentity_crudDelete a allergy reaction
listentity_crudList allergy_reactions with filtering and pagination
readentity_crudGet detailed allergy reaction information
searchentity_crudSearch allergy_reactions with fuzzy matching
updateentity_crudUpdate an existing allergy reaction

break_the_glass_log

OperationMega-toolWhat it does
createentity_crudCreate a new break the glass log
deleteentity_crudDelete a break the glass log
listentity_crudList break_the_glass_logs with filtering and pagination
readentity_crudGet detailed break the glass log information
searchentity_crudSearch break_the_glass_logs with fuzzy matching
updateentity_crudUpdate an existing break the glass log

bulk_export_file

OperationMega-toolWhat it does
createentity_crudCreate a new bulk export file
deleteentity_crudDelete a bulk export file
listentity_crudList bulk_export_files with filtering and pagination
readentity_crudGet detailed bulk export file information
searchentity_crudSearch bulk_export_files with fuzzy matching
updateentity_crudUpdate an existing bulk export file

bulk_export_job

OperationMega-toolWhat it does
createentity_crudCreate a new bulk export job
deleteentity_crudDelete a bulk export job
listentity_crudList bulk_export_jobs with filtering and pagination
readentity_crudGet detailed bulk export job information
searchentity_crudSearch bulk_export_jobs with fuzzy matching
updateentity_crudUpdate an existing bulk export job

care_plan

OperationMega-toolWhat it does
createentity_crudCreate a new care plan
deleteentity_crudCancel/delete a care plan
listentity_crudList patient care plans with filtering
readentity_crudGet detailed care plan information
updateentity_crudUpdate a care plan

care_plan_activity

OperationMega-toolWhat it does
createentity_crudCreate a new care plan activity
deleteentity_crudDelete a care plan activity
listentity_crudList care_plan_activities with filtering and pagination
readentity_crudGet detailed care plan activity information
searchentity_crudSearch care_plan_activities with fuzzy matching
updateentity_crudUpdate an existing care plan activity

care_plan_goal

OperationMega-toolWhat it does
createentity_crudCreate a new care plan goal
deleteentity_crudDelete a care plan goal
listentity_crudList care_plan_goals with filtering and pagination
readentity_crudGet detailed care plan goal information
searchentity_crudSearch care_plan_goals with fuzzy matching
updateentity_crudUpdate an existing care plan goal

change_request

OperationMega-toolWhat it does
createentity_crudCreate a new change request
deleteentity_crudDelete a change request
listentity_crudList change_requests with filtering and pagination
readentity_crudGet detailed change request information
searchentity_crudSearch change_requests with fuzzy matching
updateentity_crudUpdate an existing change request

clinical

OperationMega-toolWhat it does
encounter_summarysmart_actionEncounter summary
formulary_checksmart_actionFormulary check for medication
ndc_searchsmart_actionNDC medication search
patient_summarysmart_actionComprehensive patient summary
problem_listsmart_actionProblem list summary

clinical_note

OperationMega-toolWhat it does
createentity_crudCreate a clinical note
deleteentity_crudSoft-delete a clinical note
listentity_crudList clinical notes with filtering and pagination
readentity_crudGet clinical note details
searchentity_crudSearch clinical notes by title or content
updateentity_crudUpdate a clinical note

clinical_record_change_log

OperationMega-toolWhat it does
createentity_crudCreate a new clinical record change log
deleteentity_crudDelete a clinical record change log
listentity_crudList clinical_record_change_logs with filtering and pagination
readentity_crudGet detailed clinical record change log information
searchentity_crudSearch clinical_record_change_logs with fuzzy matching
updateentity_crudUpdate an existing clinical record change log

drug_interaction

OperationMega-toolWhat it does
createentity_crudCreate a new drug interaction
deleteentity_crudDelete a drug interaction
listentity_crudList drug_interactions with filtering and pagination
readentity_crudGet detailed drug interaction information
searchentity_crudSearch drug_interactions with fuzzy matching
updateentity_crudUpdate an existing drug interaction

drug_interaction_alert

OperationMega-toolWhat it does
createentity_crudCreate a new drug interaction alert
deleteentity_crudDelete a drug interaction alert
listentity_crudList drug_interaction_alerts with filtering and pagination
readentity_crudGet detailed drug interaction alert information
searchentity_crudSearch drug_interaction_alerts with fuzzy matching
updateentity_crudUpdate an existing drug interaction alert

drug_therapeutic_class

OperationMega-toolWhat it does
createentity_crudCreate a new drug therapeutic class
deleteentity_crudDelete a drug therapeutic class
listentity_crudList drug_therapeutic_classes with filtering and pagination
readentity_crudGet detailed drug therapeutic class information
searchentity_crudSearch drug_therapeutic_classes with fuzzy matching
updateentity_crudUpdate an existing drug therapeutic class

encounter

OperationMega-toolWhat it does
admitworkflow_actionAdmit a patient to facility, creating or updating encounter
breakdownreport_queryGet encounter breakdown by dimension
check_inworkflow_actionCheck in patient for ambulatory visit
check_outworkflow_actionCheck out patient after ambulatory visit
createentity_crudCreate a new patient encounter
deleteentity_crudSoft delete an encounter (cancel)
dischargeworkflow_actionDischarge a patient from encounter
listentity_crudList patient encounters with filtering and pagination
readentity_crudGet detailed encounter information
summaryreport_queryClinical encounter analytics
transferworkflow_actionTransfer a patient to different location or provider
trendreport_queryGet encounter trend over time
updateentity_crudUpdate an existing encounter

encounter_diagnosis

OperationMega-toolWhat it does
createentity_crudCreate a new encounter diagnosis
deleteentity_crudDelete a encounter diagnosis
listentity_crudList encounter_diagnosises with filtering and pagination
readentity_crudGet detailed encounter diagnosis information
searchentity_crudSearch encounter_diagnosises with fuzzy matching
updateentity_crudUpdate an existing encounter diagnosis

encounter_procedure

OperationMega-toolWhat it does
createentity_crudCreate a new encounter procedure
deleteentity_crudDelete a encounter procedure
listentity_crudList encounter_procedures with filtering and pagination
readentity_crudGet detailed encounter procedure information
searchentity_crudSearch encounter_procedures with fuzzy matching
updateentity_crudUpdate an existing encounter procedure

facility

OperationMega-toolWhat it does
createentity_crudCreate a new facility
deleteentity_crudDelete a facility (soft delete)
listentity_crudList healthcare facilities with filtering and pagination
readentity_crudGet facility details by ID
updateentity_crudUpdate an existing facility

imaging_result

OperationMega-toolWhat it does
createentity_crudCreate an imaging result
deleteentity_crudSoft-delete an imaging result
listentity_crudList imaging results with filtering and pagination
readentity_crudGet imaging result details
searchentity_crudSearch imaging results by description, findings, or impression
updateentity_crudUpdate an imaging result

immunization

OperationMega-toolWhat it does
createentity_crudCreate a new immunization record
deleteentity_crudDelete an immunization record (soft delete)
listentity_crudList immunization records with filtering and pagination
readentity_crudGet immunization record details by ID
updateentity_crudUpdate an existing immunization record

lab_result

OperationMega-toolWhat it does
createentity_crudRecord a new lab result
listentity_crudList lab results with filtering
readentity_crudGet detailed lab result

medication

OperationMega-toolWhat it does
administerworkflow_actionAdminister medication to patient (eMAR documentation)
createentity_crudCreate/prescribe a new medication for a patient
deleteentity_crudDiscontinue/delete a medication
discontinueworkflow_actionDiscontinue a medication
dispenseworkflow_actionDispense medication to patient
listentity_crudList patient medications with filtering
prescribeworkflow_actionCreate a new prescription for a patient
readentity_crudGet detailed medication information
renewworkflow_actionRenew an existing prescription
updateentity_crudUpdate a medication record

medication_administration

OperationMega-toolWhat it does
createentity_crudCreate a new medication administration
deleteentity_crudDelete a medication administration
listentity_crudList medication_administrations with filtering and pagination
readentity_crudGet detailed medication administration information
searchentity_crudSearch medication_administrations with fuzzy matching
updateentity_crudUpdate an existing medication administration

medication_order

OperationMega-toolWhat it does
createentity_crudCreate a medication order
deleteentity_crudSoft-delete a medication order
listentity_crudList medication orders with filtering and pagination
readentity_crudGet medication order details
searchentity_crudSearch medication orders by medication name or sig
updateentity_crudUpdate a medication order

ndc_medication

OperationMega-toolWhat it does
listentity_crudList/browse NDC medications with filtering
readentity_crudGet a specific medication by NDC code or UUID
searchentity_crudSearch the FDA National Drug Code (NDC) database for medications

note_addendum

OperationMega-toolWhat it does
createentity_crudCreate a new note addendum
deleteentity_crudDelete a note addendum
listentity_crudList note_addendums with filtering and pagination
readentity_crudGet detailed note addendum information
searchentity_crudSearch note_addendums with fuzzy matching
updateentity_crudUpdate an existing note addendum

note_template

OperationMega-toolWhat it does
createentity_crudCreate a new clinical note template
deleteentity_crudDelete a clinical note template (soft delete)
listentity_crudList clinical note templates with filtering and pagination
readentity_crudGet note template details by ID
updateentity_crudUpdate an existing clinical note template

order

OperationMega-toolWhat it does
approveworkflow_actionApprove an order (for orders requiring authorization)
cancelworkflow_actionCancel a pending or active order
completeworkflow_actionMark an order as completed
createentity_crudCreate a new clinical order
deleteentity_crudCancel/delete an order
listentity_crudList clinical orders with filtering
readentity_crudGet detailed order information
signworkflow_actionAdd physician signature to order
submitworkflow_actionSubmit an order for processing
updateentity_crudUpdate an order

patient

OperationMega-toolWhat it does
createentity_crudCreate a new patient record
deleteentity_crudSoft delete a patient record (deactivate)
listentity_crudList EHR patients with filtering and pagination
readentity_crudGet detailed patient information
searchentity_crudSearch for patients with fuzzy matching
updateentity_crudUpdate an existing patient record
OperationMega-toolWhat it does
createentity_crudCreate a new patient consent log
deleteentity_crudDelete a patient consent log
listentity_crudList patient_consent_logs with filtering and pagination
readentity_crudGet detailed patient consent log information
searchentity_crudSearch patient_consent_logs with fuzzy matching
updateentity_crudUpdate an existing patient consent log

patient_contact

OperationMega-toolWhat it does
createentity_crudCreate a new patient contact
deleteentity_crudDelete a patient contact
listentity_crudList patient_contacts with filtering and pagination
readentity_crudGet detailed patient contact information
searchentity_crudSearch patient_contacts with fuzzy matching
updateentity_crudUpdate an existing patient contact

patient_flag

OperationMega-toolWhat it does
createentity_crudCreate a new patient flag
deleteentity_crudDelete a patient flag
listentity_crudList patient_flags with filtering and pagination
readentity_crudGet detailed patient flag information
searchentity_crudSearch patient_flags with fuzzy matching
updateentity_crudUpdate an existing patient flag

patient_identifier

OperationMega-toolWhat it does
createentity_crudCreate a new patient identifier
deleteentity_crudDelete a patient identifier
listentity_crudList patient_identifiers with filtering and pagination
readentity_crudGet detailed patient identifier information
searchentity_crudSearch patient_identifiers with fuzzy matching
updateentity_crudUpdate an existing patient identifier

patient_insurance

OperationMega-toolWhat it does
createentity_crudCreate a new patient insurance
deleteentity_crudDelete a patient insurance
listentity_crudList patient_insurances with filtering and pagination
readentity_crudGet detailed patient insurance information
searchentity_crudSearch patient_insurances with fuzzy matching
updateentity_crudUpdate an existing patient insurance

patient_pharmacy

OperationMega-toolWhat it does
createentity_crudCreate a new patient pharmacy
deleteentity_crudDelete a patient pharmacy
listentity_crudList patient_pharmacies with filtering and pagination
readentity_crudGet detailed patient pharmacy information
updateentity_crudUpdate an existing patient pharmacy

pharmacy

OperationMega-toolWhat it does
createentity_crudCreate a new pharmacy
deleteentity_crudDelete a pharmacy
listentity_crudList pharmacies with filtering and pagination
readentity_crudGet detailed pharmacy information
searchentity_crudSearch pharmacies with fuzzy matching
updateentity_crudUpdate an existing pharmacy

phi_access_log

OperationMega-toolWhat it does
createentity_crudCreate a new phi access log
deleteentity_crudDelete a phi access log
listentity_crudList phi_access_logs with filtering and pagination
readentity_crudGet detailed phi access log information
searchentity_crudSearch phi_access_logs with fuzzy matching
updateentity_crudUpdate an existing phi access log

prescription

OperationMega-toolWhat it does
breakdownreport_queryGet prescription breakdown by dimension
createentity_crudCreate a new prescription
deleteentity_crudDelete a prescription
listentity_crudList prescriptions with filtering and pagination
readentity_crudGet detailed prescription information
searchentity_crudSearch prescriptions with fuzzy matching
summaryreport_queryPrescription analytics and trends
trendreport_queryGet prescription trend over time
updateentity_crudUpdate an existing prescription

prescription_transmission

OperationMega-toolWhat it does
createentity_crudCreate a new prescription transmission
deleteentity_crudDelete a prescription transmission
listentity_crudList prescription_transmissions with filtering and pagination
readentity_crudGet detailed prescription transmission information
searchentity_crudSearch prescription_transmissions with fuzzy matching
updateentity_crudUpdate an existing prescription transmission

problem_list

OperationMega-toolWhat it does
listentity_crudList problem_lists with filtering and pagination
readentity_crudGet detailed problem list information
searchentity_crudSearch problem_lists with fuzzy matching

provider

OperationMega-toolWhat it does
createentity_crudCreate a new provider
deleteentity_crudDelete a provider (soft delete)
listentity_crudList healthcare providers with filtering and pagination
readentity_crudGet provider details by ID
searchentity_crudSearch for providers by name or NPI
updateentity_crudUpdate an existing provider

provider_facility_assignment

OperationMega-toolWhat it does
createentity_crudCreate a new provider facility assignment
deleteentity_crudDelete a provider facility assignment
listentity_crudList provider_facility_assignments with filtering and pagination
readentity_crudGet detailed provider facility assignment information
searchentity_crudSearch provider_facility_assignments with fuzzy matching
updateentity_crudUpdate an existing provider facility assignment

renewal_request

OperationMega-toolWhat it does
createentity_crudCreate a new renewal request
deleteentity_crudDelete a renewal request
listentity_crudList renewal_requests with filtering and pagination
readentity_crudGet detailed renewal request information
searchentity_crudSearch renewal_requests with fuzzy matching
updateentity_crudUpdate an existing renewal request

smart_access_token

OperationMega-toolWhat it does
createentity_crudCreate a new smart access token
deleteentity_crudDelete a smart access token
listentity_crudList smart_access_tokens with filtering and pagination
readentity_crudGet detailed smart access token information
searchentity_crudSearch smart_access_tokens with fuzzy matching
updateentity_crudUpdate an existing smart access token

smart_authorization_code

OperationMega-toolWhat it does
createentity_crudCreate a new smart authorization code
deleteentity_crudDelete a smart authorization code
listentity_crudList smart_authorization_codes with filtering and pagination
readentity_crudGet detailed smart authorization code information
searchentity_crudSearch smart_authorization_codes with fuzzy matching
updateentity_crudUpdate an existing smart authorization code

smart_client

OperationMega-toolWhat it does
createentity_crudCreate a new smart client
deleteentity_crudDelete a smart client
listentity_crudList smart_clients with filtering and pagination
readentity_crudGet detailed smart client information
searchentity_crudSearch smart_clients with fuzzy matching
updateentity_crudUpdate an existing smart client

smart_refresh_token

OperationMega-toolWhat it does
createentity_crudCreate a new smart refresh token
deleteentity_crudDelete a smart refresh token
listentity_crudList smart_refresh_tokens with filtering and pagination
readentity_crudGet detailed smart refresh token information
searchentity_crudSearch smart_refresh_tokens with fuzzy matching
updateentity_crudUpdate an existing smart refresh token

therapeutic_class

OperationMega-toolWhat it does
createentity_crudCreate a new therapeutic class
deleteentity_crudDelete a therapeutic class
listentity_crudList therapeutic_classes with filtering and pagination
readentity_crudGet detailed therapeutic class information
searchentity_crudSearch therapeutic_classes with fuzzy matching
updateentity_crudUpdate an existing therapeutic class

vital_sign

OperationMega-toolWhat it does
createentity_crudRecord new vital signs
listentity_crudList patient vital signs with filtering
readentity_crudGet detailed vital sign record

Parameter schemas and permissions

Parameter schemas and permission codenames are in the full reference — sign in — or call prism_introspect(dimension="capability_search", query="…") with your key.

In the full reference this application appears under entity_crud, report_query, smart_action, workflow_action.